logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.4.3 + PHP 5.4.9 + MySQL 5.5.28 = random crashes Page Previous  1, 2
Author
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7454
Location: EU, Germany, Next to Hamburg

PostPosted: Mon 04 Feb '13 14:58    Post subject: Reply with quote

Yepp those warning are ok. They should be debug messages or info, but not real warnings.

Mainly it is because
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 5000000000
FcgidMaxRequestsPerProcess 0

If you set both to 0 than a PHP process will never die until you restart the server or stop it.
To whatever you set it, keep those two identical.
Back to top
CamaroSS



Joined: 24 Jan 2013
Posts: 78
Location: RF, Tver

PostPosted: Mon 04 Feb '13 15:32    Post subject: Reply with quote

It seems like php-cgi.exe does never terminate on SIGTERM.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7454
Location: EU, Germany, Next to Hamburg

PostPosted: Mon 04 Feb '13 16:30    Post subject: Reply with quote

CamaroSS wrote:
It seems like php-cgi.exe does never terminate on SIGTERM.


I have that on some servers, too. But that is nothing to worry about. it won't bring apache down. It only means that the php-cgi process needs to be forced to end.
Back to top
der_Ronny



Joined: 13 Apr 2012
Posts: 6
Location: Austria

PostPosted: Tue 05 Feb '13 9:08    Post subject: thanks Reply with quote

okay - thank you for help.

now I'll try to solve the last problem...after running php as fcgi, the Joomla 1.5.15 from one of my customers is corrupt.
Back to top
fanob



Joined: 10 Feb 2016
Posts: 1
Location: omudurman

PostPosted: Wed 10 Feb '16 12:50    Post subject: help me Reply with quote

Smitty wrote:
We had this problem on our large Moodle installation for months last year. Random "Parent: child process exited with status 255 -- Restarting" errors. I tried all of the things you've tried. The solution was to switch to mod_fcgid. Once we switched we are able to handle heavy traffic without any crashes.

I suspect it is some bug in the thread-safe version of PHP when using it as an Apache module.



hi Smitty
i am a beginner in this field, and i use wamp 2.4.4 to run moodle system. i face this problem lot of times. i need your to show me how to switch to mod_fcgid in details.
Back to top


Reply to topic   Topic: Apache 2.4.3 + PHP 5.4.9 + MySQL 5.5.28 = random crashes View previous topic :: View next topic
Post new topic   Forum Index -> Apache Page Previous  1, 2