LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-25-2011, 08:37 PM   #1
haydent
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Rep: Reputation: 1
Question Process's getting 'Killed' - no log, plenty free ram - Debian Lenny


Hi, all this is my first post but im resonable linux skilled.

Im running a VPS account with Debian Linux Lenny, Virtualmin/Webmin.

This has only recently started but i dont know at what point, as havent done much on it recently but applied some updates.

Theres always at least 50% free ram when it happens (of 512mb) and basically no CPU activity.

Ive even tried killing off all process's apart from what i believed to be needed to test, (init, sshd, loggers)

I can find mention of the action anywhere in any logs, even though i have klogd and syslog running

It seems to happen at varying intervals fairly regularly with certain processes.

Ive had it happen with a big 'rm -r'

but more regularly with make's , make install's, apt-get (while its awaiting your reply to proceed), and rtorrent.

im sure there's others though but this is what ive been using.

all i get is "Killed" and back to prompt,

if i type "echo $?" i get '137'


there has been some node performance issues at night during backups with the host but they say they havn't implemented any limits and are upgrading hardware to resolve.


thankyou,
Hayden.
Australia.
 
Old 01-25-2011, 09:31 PM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!

Well, the OOM (Out of Memory) Killer may be enabled in the kernel. Check the following;
cat /proc/sys/vm/oom-kill
0 = Off
1 = On

To turn it off, do this;
echo 0 > /proc/sys/vm/oom-kill
However, if the system panics, you might want it to auto-reboot.
echo number_of_seconds > /proc/sys/kernel/panic

Note that if the OOM Killer is the culprit, you can edit /etc/sysctl.conf to make the settings stick.
(If you don't have an /etc/sysctl.conf, find and update your rc.local script with the commands from above)
Code:
# reboot 9 secs after panic
kernel.panic = 9
# turn off oom-killer
vm.oom-kill = 0
Hope this helps!

P.S: If you're getting an Exit Code of 137, there's a chance that something did a "kill -9" against that process. If your Hosting provider is going to be replacing/upgrading hardware, I bet it has to do with the RAM.

Last edited by xeleema; 01-25-2011 at 09:33 PM. Reason: Added "Kill -9" hint
 
Old 01-25-2011, 09:58 PM   #3
haydent
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Original Poster
Rep: Reputation: 1
well i dont have that file oom-kill where you suggested or anywhere according to 'find / -name oom-kill'

...
 
Old 02-02-2011, 10:02 AM   #4
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Wow, my apologies for missing your update to this thread.
By chance have they completed their upgrades/repairs? Has the problem gone away?
 
Old 02-02-2011, 03:44 PM   #5
haydent
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Original Poster
Rep: Reputation: 1
still happening but i don't believe the update has happened yet.

i do have a ticket open with support and am waiting for that.
 
Old 02-08-2011, 05:47 PM   #6
haydent
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Original Poster
Rep: Reputation: 1
ok i found out what it was... Jumba (my host) have a ban on anything related or even mentioning the word 'torrent' killing it off, that as ive found from my personal experience the hard way will include apt-get install/removes , rm, wget, make, configure, and pretty much anything as well obviously the process's themselves once running like rtorrent

oh well...

thanks for the help.
 
1 members found this post helpful.
Old 02-08-2011, 09:27 PM   #7
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
You've *got* to be kidding me?! Talk about interference! If they're so concerned with (il)legitmate torrent use, why not just throttle the bandwidth for those protocols?

Did they mention how they're doing this? I'd like to find out how they've implemented something like this...because from what you've said, there might be some real skill involved in implementing this.

Does it affect you when you do an "rm -rf /path/to/dir" when the actual path you're rm'ing doesn't contain the word "torrent"?

(Also, was this mentioned anywhere in their Terms-of-Service when you signed up? I'd be super pissed to find out about something like that after-the-fact)
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian Lenny unable to log in over SSH or straight to the server qwerewq Linux - Newbie 10 03-17-2010 03:18 AM
LXer: Monitoring Multiple Log Files At A Time With MultiTail On Debian Lenny LXer Syndicated Linux News 0 08-17-2009 12:10 PM
Empty kern.log--Debian lenny addux Linux - Software 2 02-23-2009 12:53 AM
Suspend to RAM on lid closure does not work: Toshiba Satellite L300/Debian lenny jgrnst Linux - Laptop and Netbook 6 11-29-2008 08:41 PM
Debian Lenny (Testing) issues: memory/RAM and cpufreq SuSE_Lamer Debian 11 10-31-2008 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration