Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.