Koozali.org: home of the SME Server

httpd eating up all memory

xtreme

httpd eating up all memory
« on: June 09, 2007, 04:18:54 PM »
Hi I´m running SME Server 7.1.3 on an Fuijtsu Primergy R200 with Intel 3.0ghz, 6gb og ram and 2 147gb disks on raid. I used to run SME 7.0 Beta for 1 year with out any problem but after I updated to 7.1.3 the server has used all memory and gone down.

This is the Log
Jun  8 02:11:15 esmith kernel: Out of Memory: Killed process 13311 (httpd).


If I look at htop I see that 98% memory is being used by:
/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND

in about 30 lines and also:

/usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysql.pid

I think the server isn´t killing it services

If i restart the Apache the server memory udage is 234mb.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: httpd eating up all memory
« Reply #1 on: June 09, 2007, 05:33:57 PM »
Quote from: "xtreme"

If I look at htop I see that 98% memory is being used by:
/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND


Have you added any PHP applications to your server? If you have, one or more of them has a memory leak. If not, please report your problem via the bug tracker.