On 09:29, Wed 29 Jul 09, Toni Mueller wrote: > > > Hi, > > On Mon, 20.07.2009 at 17:11:31 +0100, Stuart Henderson <st...@openbsd.org> > wrote: > > On 2009/07/20 17:38, Jonathan Armani wrote: > > > Just a note for php users, php segfault on my server since I update > > > it to 2.5.10 : > > > > > > [Mon Jul 20 17:28:03 2009] [notice] child pid 31165 exit signal > > > Segmentation fault (11) > > > [Mon Jul 20 17:28:04 2009] [notice] child pid 31388 exit signal > > > Segmentation fault (11) > > > [Mon Jul 20 17:28:04 2009] [notice] child pid 19135 exit signal > > > Segmentation fault (11) > > > [Mon Jul 20 17:28:04 2009] [notice] child pid 4215 exit signal > > > Segmentation fault (11) > > > [Mon Jul 20 17:28:04 2009] [notice] child pid 31812 exit signal > > > Segmentation fault (11) > > > > > > As a workaround I have add *suhosin.session.encrypt= Off* to php.ini > > > which seems to stop the error, seems to concern linux too, > > > see > > > http://www.dotdeb.org/2009/06/25/php-5-2-10-packages-for-lennyetch-are-now-available/#comment-1053. > > > > > > Anybody see this on -current ? > > > > > > > I don't see this with amd64 -current and FastCGI. > > I see a similar thing on 4.5-stable, but not exactly a segfault, but > PHP closing it's inet socket after a while when running under FastCGI. > Requires a restart of the FastCGI server, and does not seem to happen > on 4.4 with its earlier PHP version, and Unix domain sockets. > > I have to check whether it works with Unix domain sockets on 4.5, and > if not, then I'm in deep trouble. > > The error symptom is that the web server in front says "Bad gateway" > while the problem exists. It takes only a few hours to reach that > stage...
I see the same segfaults with amd64 -current runnig php 5.2.10 as apache module. So far, the addition of "suhosin.session.encrypt = Off" seems to fix this. Running on my development system for 15 minutes now and no single segfault yet, while with this setting on the default it segfaults like every 3 requests. Will run with this setting the rest of the day to see if it's fixed now. > > > -- > Kind regards, > --Toni++ > -- Michiel van Baak mich...@vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD "Why is it drug addicts and computer aficionados are both called users?"