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

Bug#485413: marked as done (apache2: Apache crashes system due to exessive memory allocation)



Your message dated Sat, 28 May 2016 14:58:00 +0200 (CEST)
with message-id <alpine.DEB.2.11.1605281456080.9946@eru.sfritsch.de>
and subject line Re: Bug#485413: RAM full, swap full: problem still exists
has caused the Debian Bug report #485413,
regarding apache2: Apache crashes system due to exessive memory allocation
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
485413: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485413
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2
Version: 2.2.8-4
Severity: critical
Justification: breaks the whole system


And the begins to consume all available memory within about 6 hours.

This is verified on 4 extremly similar setup apaches on Debian Lenny
amd64.

Using pmap on one of the currently bigger apache processes I see that
it has allocated quite much ram:

00002b93c3833000    5848 r-x-- 0000000000000000 008:00001 libphp5.so
0000000000663000  359560 rw--- 0000000000663000 000:00000   [ anon ]
mapped: 549860K    writeable/private: 361796K    shared: 604K

(last lines form from pmap -d 2464 | sort -n -k 2)

The question is how to debug that problem, find out which modules
allocates that much memory (most likely php, but where is the evidence?)
and why it allocates so much memory.

-- Package-specific info:
List of enabled modules from 'apache2 -M':
  alias auth_basic authn_file authz_default authz_groupfile
  authz_host authz_user autoindex cgi dir env mime negotiation php5
  rewrite setenvif ssl status

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork           2.2.8-4    Traditional model for Apache HTTPD

apache2 recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
There have been significant improvements in memory usage in 2.4. Also, 
this report has collected many different reports that may or may not be 
the same issue. Therefore I am closing it.

Anyone who has similar issues with 2.4.* should please open a new bug 
report.

--- End Message ---

Reply to: