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

Bug#308648: apache2-mpm-prefork: Childs segfaults



On Thu, May 12, 2005 at 03:42:44PM +1000, Adam Conrad wrote:
> Emmanuel Lacour wrote:
> >
> > I'm using it with auth_ldap, ssl and php4 under sarge. After my last
> > upgrade, I saw some segfaults. I looked in the BTS and found some segfault
> > with auth_ldap fixed in sid version (2.0.54-3), so I did an aptitude
> > install apache2-mpm-prefork/unstable and I always have segfaults:
> 
> Can you please test these packages and let me know if they fix your issue.
>  If so, I'll upload them ASAP.
> 
> http://lucifer.0c3.net/~adconrad/apache2-test/
> 

I'm going to test it, but just after my bug report, I saw that libapr0
wasn't maching apache2* version, this was the sarge version, so I
installed the sid version and since, I have no segfault, but an apache
process is eating all the cpu and apache log reports:

[Thu May 12 06:25:48 2005] [notice] Apache configured -- resuming normal
operations
Allowed memory size of 16777216 bytes exhausted (tried to allocate
1078507665 bytes)

strace on this process doesn't show anything

Process 13019 attached - interrupt to quit


root      8166  0.0  2.9 15912 7108 ?        Ss   06:25   0:00 /usr/sbin/apache2 -k start -DSSL
www-data 13019 82.5  5.6 23616 13644 ?       R    10:53 107:26  \_ /usr/sbin/apache2 -k start -DSSL
www-data 27126  0.0  4.8 21744 11584 ?       S    12:33   0:00  \_ /usr/sbin/apache2 -k start -DSSL
www-data 27770  0.0  4.0 17908 9784 ?        S    12:37   0:00  \_ /usr/sbin/apache2 -k start -DSSL
www-data 28399  0.0  4.8 21736 11584 ?       S    12:40   0:00  \_ /usr/sbin/apache2 -k start -DSSL
www-data 28417  0.0  4.7 21740 11416 ?       S    12:44   0:00  \_ /usr/sbin/apache2 -k start -DSSL
www-data 28421  0.0  3.0 16048 7296 ?        S    12:44   0:00  \_ /usr/sbin/apache2 -k start -DSSL
www-data 30296  0.0  3.0 16044 7248 ?        S    12:58   0:00  \_ /usr/sbin/apache2 -k start -DSSL
www-data 30309  0.0  2.9 16044 7220 ?        S    12:59   0:00  \_ /usr/sbin/apache2 -k start -DSSL
www-data 30310  0.0  3.0 16048 7236 ?        S    12:59   0:00  \_ /usr/sbin/apache2 -k start -DSSL
www-data 30311  0.0  2.9 15912 7136 ?        S    12:59   0:00  \_ /usr/sbin/apache2 -k start -DSSL


I also changed my conf to put MaxRequestsPerChild to 10 instead of 0,
expecting to have less segfaults.



So now I just installed your packages (2.0.54-4) with the original
MaxRequestsPerChild of 0, waiting...



Reply to: