Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
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.
I have installed RHEL ES 3.0 on DELL 1750 with 1GB RAM. Also i have 2GB Swap. I have got "Qmail+Vmailmgr+Tcpserver+RBL+SpamAssassin +Relay-CTRL+Qmail-Scanner+Courier IMAP Guide+POP3S+SMTPS" installed alongwith standard mysql, php and apache on this server.
My server dies randomly, sometimes after few hours and sometimes after 2-3 days and has following line in "/var/log/messages".
kernel: Out of Memory: Killed process 1059 (mysqld-max).
Before, i thought that this problem might be occuring due to "OOM killer" bug in kernel-2.4.21-4.0.3EL, when installed on RAID servers. But, even after updating the kernel to kernel-2.4.21-15.0.3EL, it does not seems to goaway.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Sounds like one of the applications you're using has a fairly severe memory leak. Linux will detect an OOM condition after all physical and swap memory are used and then it will try to be "helpful" by killing your largest process to make room.
If the system really is recognizing 1GB of physical and 2GB of swap, then something must be getting out of control to fill up that much RAM. You're going to need to monitor application memory usage closely until you can determine which apps are the offenders. The "fun" part will be fixing them
mod_perl applications are notorious for having horrible memory leaks. It may be that you have a custom web app running that uses mod_perl and gobbles up memory that it never frees.
I am also using RHEL ES 3.0 on DELL 1750 with 1GB RAM. Also i have 2GB Swap and I am facing the same problem. I am using MySQL and apache on this server. It says "out of memory, killed httpd deamon after a week. I will aprreciate if someone can help me to fix this issue.
Thanks
Quote:
Originally posted by amitch3 I have installed RHEL ES 3.0 on DELL 1750 with 1GB RAM. Also i have 2GB Swap. I have got "Qmail+Vmailmgr+Tcpserver+RBL+SpamAssassin +Relay-CTRL+Qmail-Scanner+Courier IMAP Guide+POP3S+SMTPS" installed alongwith standard mysql, php and apache on this server.
My server dies randomly, sometimes after few hours and sometimes after 2-3 days and has following line in "/var/log/messages".
kernel: Out of Memory: Killed process 1059 (mysqld-max).
Before, i thought that this problem might be occuring due to "OOM killer" bug in kernel-2.4.21-4.0.3EL, when installed on RAID servers. But, even after updating the kernel to kernel-2.4.21-15.0.3EL, it does not seems to goaway.
update the kernel to the latest 2.4 stable or even go 2.6 as its fully stable right now. update all the primary packages that are running right now, like qmail and spamassasin apache likes to leak sometimes too. update perl and python to latest stable versions. We had similar issues with a setup that's close to what you are describing. after all the updates its been stable for the last few months.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.