Current time: 12-23-2024, 10:44 PM Hello There, Guest! (LoginRegister)


Post Reply 
Segfaulting php5-cgi + Internal 500 Error
Author Message
motin Offline
Newbie
*

Posts: 8
Joined: Sep 2007
Reputation: 0
Post: #1
Segfaulting php5-cgi + Internal 500 Error
I have the 6 dec nightly build installed - and it seems unstable as hell!

Earlier I got a lot of intermittent 500 errors in this style with this in /var/log/apache2/error.log:
Code:
[Tue Dec 11 12:15:27 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/bror.se/php5-fcgi-starter" (pid 6491) termination signaled
[Tue Dec 11 12:15:27 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/fantada.com/php5-fcgi-starter" (pid 6475) termination signaled
[Tue Dec 11 12:15:27 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/bror.se/php5-fcgi-starter" (pid 6491) terminated by calling exit with status '0'
[Tue Dec 11 12:15:27 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/fantada.com/php5-fcgi-starter" (pid 6475) terminated by calling exit with status '0'
[Tue Dec 11 12:21:02 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/fantada.com/php5-fcgi-starter" (pid 6472) termination signaled
[Tue Dec 11 12:21:02 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/fantada.com/php5-fcgi-starter" (pid 6472) terminated by calling exit with status '0'
[Tue Dec 11 12:27:14 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/fantada.com/php5-fcgi-starter" (pid 6469) termination signaled
[Tue Dec 11 12:27:14 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/fantada.com/php5-fcgi-starter" (pid 6469) terminated by calling exit with status '0'
[Tue Dec 11 12:27:17 2007] [warn] FastCGI: (dynamic) server "/var/www/fcgi/fantada.com/php5-fcgi-starter" (uid 2009, gid 2009) restarted (pid 6496)

I increased the limitations in accordance to http://www.vpsforum.se/viewtopic.php?f=10&t=13 , and now I get this in /var/log/syslog upon every page load:
Code:
Dec 11 13:27:26 Ubuntu-710-gutsy-64-minimal kernel: [385560.455621] php5-cgi[7054]: segfault at 00007fffccad5848 rip 0000000000604c8d rsp 00007fffccad5820 error 6

(I used:
Code:
FastCgiConfig -minProcesses 1 -maxProcesses 20 -singleThreshold 100 \
                      -killInterval 6000 \
                      -idle-timeout 4800
                      #-autoUpdate \
                      #-pass-header HTTP_AUTHORIZATION
)

Now I have restored it to the default values, but I still get the segfaults!

The web pages shows internal error 500 upon these errors.

php5-cgi -i reports version PHP/5.2.3-1ubuntu6.2

What is up with this?

Why is there no explanation available anywhere in the logs to these errors?
(This post was last modified: 12-11-2007 10:53 PM by motin.)
12-11-2007 10:53 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Segfaulting php5-cgi + Internal 500 Error
Try this Config here --> http://www.isp-control.net/forum/high-lo...ml#pid9037

Greez BeNe
12-12-2007 05:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)