Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions
Reload this Page Running processes get killed spontaneously
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Other Distributions Post questions about distributions that do not have their own forums in here

Reply
 
Thread Tools Display Modes
Old 04-24-2008   #1 (permalink)
runeks
Just Joined!
 
Join Date: Apr 2008
Posts: 3
Running processes get killed spontaneously

Hello all

I'm running Featherlinux live from a CD on an old Compaq server. I've copied the contents of the various hard drive partitions on this Compaq server to a Windows share mounted via Samba.

I would like to make sure that I have an exact copy of the local files on the Compaq partitions copied to my Windows share. So I want to compare the resulting the files with the original ones. I'm using "diff" for this purpose.

I execute the command:

diff -r maal/compaq /media

The program executes for a while and then outputs the following message:

Killed

I've also tried this command, to compare file names and corresponding file sizes:

cmp `ls -R -s --block-size=1 /maal/compaq` `ls -R -s --block-size=1 /media`

Which, after some time, outputs the same:

Killed

I can't figure out what is killing it or why it is being killed. The tar command produces the same results:

root@0[knoppix]# tar -cpkf 1048576 maal/compaq/back.tar.gz /media/sda2 /media/sda5 /media/sdb1
tar: Removing leading `/' from member names
Killed

Does anyone know how to make sure the process I'm running doesn't get killed?

Thanks in advance!
runeks is offline   Reply With Quote
Old 04-25-2008   #2 (permalink)
Quarlington
Just Joined!
 
Join Date: Apr 2007
Location: Louisville, KY USA
Posts: 12
How big are the files?

Sounds like you may be running out of memory.
Quarlington is offline   Reply With Quote
Old 04-28-2008   #3 (permalink)
runeks
Just Joined!
 
Join Date: Apr 2008
Posts: 3
Hmmm

There are some large files amongst. There are files over 100 MB, and the machine only has 64 MB of RAM.

Could that be the problem? And if so, how would I fix it?

Thanks for your reply!
runeks is offline   Reply With Quote
Old 04-28-2008   #4 (permalink)
Quarlington
Just Joined!
 
Join Date: Apr 2007
Location: Louisville, KY USA
Posts: 12
Well, you could either:

1. Add some physical memory.
or
2. You could increase the size of your swap space.

To check swap space either run the 'top' program and check the Swap total or type cat /proc/swaps and check the total there.

If you want to add swap space:
Type 'man mkswap' for how to do that. Let me know how this works or if you need more help.
Quarlington is offline   Reply With Quote
Old 05-06-2008   #5 (permalink)
runeks
Just Joined!
 
Join Date: Apr 2008
Posts: 3
Thankyou

Thanks a lot! That did the trick. I used the GParted Live CD and created a 2 GB swap partition on one of the hard drives. I didn't even have to actively tell anything to use it, it was automatically detected and set to be used when the Feather Linux Live CD booted.

The diff command executed without being killed this time. Thanks for your help .
runeks is offline   Reply With Quote
Old 05-06-2008   #6 (permalink)
Quarlington
Just Joined!
 
Join Date: Apr 2007
Location: Louisville, KY USA
Posts: 12
You are welcome. Glad I could help.
Quarlington is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 11:06 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0