Bug#511103: apache2-mpm-prefork: MPM Prefork/Itk Segmentation fault under heavy load

2009-01-09 Thread Stefan Fritsch
 With the Lenny's kernel (2.6.26-1-amd64), I can't reproduce the bug
 but there is an error message on the console :

  [  123.197934] TCPv6: Possible SYN flooding on port 80. Dropping request.

 I've joined my custom kernel config (I'm using the same base for 150
 servers
 and it's the first time there is such issue).

This is https://issues.apache.org/bugzilla/show_bug.cgi?id=46467 . Try (on
2.6.27)

echo 1024   /proc/sys/fs/epoll/max_user_instances

where 1024 is some value larger than MaxClients, then it should work. The
above bug report also has a patch that makes apache log an error message
instead of segfaulting.

Cheers,
Stefan







-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#511103: apache2-mpm-prefork: MPM Prefork/Itk Segmentation fault under heavy load

2009-01-09 Thread Frédéric VANNIÈRE

Stefan Fritsch a écrit :

This is https://issues.apache.org/bugzilla/show_bug.cgi?id=46467 . Try (on
2.6.27)

echo 1024   /proc/sys/fs/epoll/max_user_instances

where 1024 is some value larger than MaxClients, then it should work. The
above bug report also has a patch that makes apache log an error message
instead of segfaulting

The max_user_instances limitation comes from 2.6.27.8

I confirm that changing epoll/max_user_instances fixes the bug.

Maybe Debian should upper the default value to 1024, set it to Apache's
MaxClient or backport Apache's patch because 128 is too low for a web 
server.


Many thanks.


Frédéric.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#511103: apache2-mpm-prefork: MPM Prefork/Itk Segmentation fault under heavy load

2009-01-07 Thread Frederic VANNIERE
Package: apache2-mpm-prefork
Version: 2.2.9-10+lenny1
Severity: normal


Under some heavy load, with the default configuration and even without any
module, apache2 segfaults : 

[Wed Jan 07 14:42:27 2009] [notice] child pid 11525 exit signal Segmentation 
fault (11)
[Wed Jan 07 14:42:27 2009] [notice] child pid 11526 exit signal Segmentation 
fault (11)
[Wed Jan 07 14:42:27 2009] [notice] child pid 11527 exit signal Segmentation 
fault (11)
[Wed Jan 07 14:42:27 2009] [notice] child pid 11528 exit signal Segmentation 
fault (11)


Tested on 2 different servers (64bit) and can be reproduced with : 

  ab -n 10 -c 500   http://localhost/

No issue with apache2-mpm-worked. 


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

Kernel: Linux 2.6.27.8-em64t (SMP w/4 CPU cores)
Locale: lang=fr...@euro, lc_ctype=fr...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2-mpm-prefork depends on:
ii  apache2.2-common 2.2.9-10+lenny1 Apache HTTP Server common files
ii  libapr1  1.2.12-5The Apache Portable Runtime Librar
ii  libaprutil1  1.2.12+dfsg-8   The Apache Portable Runtime Utilit
ii  libc62.7-16  GNU C Library: Shared libraries
ii  libpcre3 7.6-2.1 Perl 5 Compatible Regular Expressi

apache2-mpm-prefork recommends no packages.

apache2-mpm-prefork suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#511103: apache2-mpm-prefork: MPM Prefork/Itk Segmentation fault under heavy load

2009-01-07 Thread Stefan Fritsch
Hi,

On Wednesday 07 January 2009, Frederic VANNIERE wrote:
 Under some heavy load, with the default configuration and even
 without any module, apache2 segfaults :

I cannot reproduce this. Please provide a backtrace as described 
in /usr/share/doc/apache2.2-common/README.backtrace

Cheers,
Stefan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org