[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#215836: apache uses lot's of CPU and Memory



Package: apache
Version: 1.3.28-4
Severity: normal


Output from top:

5375 www-data  16   0  254m 254m 3852 R  4.0 68.4   0:43.79 apache

There is a runaway apache process.  I do /etc/init.d/apache restart and
it comes back again within minutes.

I also notice dmesg giving messages like the following:
Out of Memory: Killed process 4519 (java).
Out of Memory: Killed process 5382 (apache).

I am using mod_jk

I have just replaced my server recently and now I run apache within 
user-mode-linux, I don't know if that makes any difference.

I have put the following in /etc/apache/httpd.conf:
LogLevel debug

but I don't seem to get any extra debugging output in my error.log 
files, so I'm not sure how to start diagnosing this problem further


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux th3 2.4.22-5um #1 Fri Sep 19 21:36:03 EDT 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache depends on:
ii  apache-common                 1.3.28-4   Support files for all Apache webse
ii  debconf                       1.3.14     Debian configuration management sy
ii  dpkg                          1.10.15    Package maintenance system for Deb
ii  libc6                         2.3.2-8    GNU C Library: Shared libraries an
ii  libdb4.1                      4.1.25-6   Berkeley v4.1 Database Libraries [
ii  libexpat1                     1.95.6-6   XML parsing C library - runtime li
ii  libmagic1                     4.04-1     File type determination library us
ii  logrotate                     3.6.5-2    Log rotation utility
ii  mime-support                  3.23-1     MIME files 'mime.types' & 'mailcap
ii  perl [perl5]                  5.8.1-2    Larry Wall's Practical Extraction 

-- debconf information:
  apache/server-admin: webmaster@trendhosting.net
* apache/enable-suexec: false
  apache/server-port: 80
  apache/server-name: localhost
  apache/init: true
  apache/document-root: /home/www




Reply to: