#41229 [Fbk-Opn]: PHP as fastcgi module crashes

2007-04-29 Thread admin at torrent dot lt
 ID:   41229
 User updated by:  admin at torrent dot lt
 Reported By:  admin at torrent dot lt
-Status:   Feedback
+Status:   Open
 Bug Type: CGI related
 Operating System: gentoo
 PHP Version:  5.2.1
 New Comment:

I have done the ulimit last week, but under uid0/gid0 I have set ulimit
-c unlimited under lighttpd user: su lighttpd ; ulimit -c unlimited,
what's more where I could expect the core file to be dumped? and how to
make it done?

I have just got the 500 error (after setting the ulimit) I reckon' that
before stating the 500 internal error the webserver is starting to act
extremely slow, the webpages hardly open's and so on. I have 1000
queries to mysql per sec.

Will be waiting for your answers.
I've got these errors.
http://p.defau.lt/?bNHoX3oyKfPWS80YDxIjAg


Previous Comments:


[2007-04-29 19:21:18] [EMAIL PROTECTED]

You need to come up with a gdb backtrace. Sometimes getting one is
tricky in this kind of configuration but if you can get a core file
generated...try starting lighttpd after setting ulimit -c unlimited
and you should get the core file.



[2007-04-29 18:55:52] admin at torrent dot lt

Description:

Greetings, 
moving from debian PHP 5.2.0-8 (cgi-fcgi) (built: Dec 17 2006
19:57:41)
to gentoo PHP 5.1.6-pl11-gentoo (cgi-fcgi) (built: Apr 29 2007
12:43:38) as well as 5.2.1 produces me php segfaultion. Web server
(lighttpd) produces me an 500 error code, within only restart of it,
helps to solve a problem. Was concerning the bug of xcache (accelerator)
as well as trying to downgrade to earlier versions. After monitoring the
system for 2-3 days no answers were solved while php keept crashing with
or without additional extensions, and with one or other version (tried
PHP 4 too). Lastly, I am willing to get a help from you. Will be waiting
for your answer.

Reproduce code:
---
http://forum.lighttpd.net/topic/5981#7322

more: 
2007-04-25 15:03:01: (mod_fastcgi.c.1711) connect failed: No such file

or directory on 
unix:/var/run/lighttpd/lighttpd-fastcgi-php-315519.socket-17

Expected result:

examination of the bug

Actual result:
--
http://rafb.net/p/BegtLJ55.html 
That's only what I could get.





-- 
Edit this bug report at http://bugs.php.net/?id=41229edit=1


#41229 [Fbk-Opn]: PHP as fastcgi module crashes

2007-04-29 Thread admin at torrent dot lt
 ID:   41229
 User updated by:  admin at torrent dot lt
 Reported By:  admin at torrent dot lt
-Status:   Feedback
+Status:   Open
 Bug Type: CGI related
 Operating System: gentoo
 PHP Version:  5.2.1
 New Comment:

The ulimit thing was already done last Thursday, I have set these
variables as told. Nothing happened, the website is working fine, but
the traffic and the number of users are less than more ten times than in
a day.
bin-path = /usr/bin/php-cgi, max-procs = 25, idle-timeout =
9,
bin-environment = (PHP_FCGI_CHILDREN = 1,  
 PHP_FCGI_MAX_REQUESTS = 10


Previous Comments:


[2007-04-29 21:09:58] [EMAIL PROTECTED]

Start lighttpd without it forking. And only have 1 child for PHP
started. You don't need to su lighttpd, just do the ulimit thing as
root. 



[2007-04-29 20:02:39] admin at torrent dot lt

I have done the ulimit last week, but under uid0/gid0 I have set ulimit
-c unlimited under lighttpd user: su lighttpd ; ulimit -c unlimited,
what's more where I could expect the core file to be dumped? and how to
make it done?

I have just got the 500 error (after setting the ulimit) I reckon' that
before stating the 500 internal error the webserver is starting to act
extremely slow, the webpages hardly open's and so on. I have 1000
queries to mysql per sec.

Will be waiting for your answers.
I've got these errors.
http://p.defau.lt/?bNHoX3oyKfPWS80YDxIjAg



[2007-04-29 19:21:18] [EMAIL PROTECTED]

You need to come up with a gdb backtrace. Sometimes getting one is
tricky in this kind of configuration but if you can get a core file
generated...try starting lighttpd after setting ulimit -c unlimited
and you should get the core file.



[2007-04-29 18:55:52] admin at torrent dot lt

Description:

Greetings, 
moving from debian PHP 5.2.0-8 (cgi-fcgi) (built: Dec 17 2006
19:57:41)
to gentoo PHP 5.1.6-pl11-gentoo (cgi-fcgi) (built: Apr 29 2007
12:43:38) as well as 5.2.1 produces me php segfaultion. Web server
(lighttpd) produces me an 500 error code, within only restart of it,
helps to solve a problem. Was concerning the bug of xcache (accelerator)
as well as trying to downgrade to earlier versions. After monitoring the
system for 2-3 days no answers were solved while php keept crashing with
or without additional extensions, and with one or other version (tried
PHP 4 too). Lastly, I am willing to get a help from you. Will be waiting
for your answer.

Reproduce code:
---
http://forum.lighttpd.net/topic/5981#7322

more: 
2007-04-25 15:03:01: (mod_fastcgi.c.1711) connect failed: No such file

or directory on 
unix:/var/run/lighttpd/lighttpd-fastcgi-php-315519.socket-17

Expected result:

examination of the bug

Actual result:
--
http://rafb.net/p/BegtLJ55.html 
That's only what I could get.





-- 
Edit this bug report at http://bugs.php.net/?id=41229edit=1