Author |
|
adebisi
Joined: 07 May 2009 Posts: 3
|
Posted: Thu 07 May '09 23:49 Post subject: Apache stops sometimes |
|
|
Hi,
İ 've
win server 2003 64
2 * core 2 quad 2ghz
4gb ram
apache 2.2.1
php 5.2.4
mod_ssl open Ssl
My apache stops in a hour 4 or 5 times. when i restart it works again.
my settings
ThreadsPerChild 200
MaxRequestsPerChild 1000
MaxKeepAliveRequests 200
when i look at task manager when apache mem usage 200.000 K it stops.
Why? Please help me. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sat 09 May '09 11:12 Post subject: |
|
|
Why did you change MaxRequestsPerChild to 200? For a threaded OS like windows it is recommend to use MaxRequestsPerChild 0 and run endless.
Often PHP floats the memory. Did you ever try mod fcgid? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Sat 09 May '09 11:22 Post subject: |
|
|
In addition to James advise, you can try:
Win32DisableAcceptEx
EnableSendfile Off
EnableMMAP off
Btw: Is there some in you error.log when it stops ?
Steffen |
|
Back to top |
|
adebisi
Joined: 07 May 2009 Posts: 3
|
Posted: Tue 12 May '09 12:32 Post subject: |
|
|
Steffen wrote: | In addition to James advise, you can try:
Win32DisableAcceptEx
EnableSendfile Off
EnableMMAP off
Btw: Is there some in you error.log when it stops ?
Steffen |
itry this before but no result.
my error.log is
Parent: Received shutdown signal -- Shutting down the server. |
|
Back to top |
|
adebisi
Joined: 07 May 2009 Posts: 3
|
Posted: Tue 12 May '09 12:34 Post subject: |
|
|
James Blond wrote: | Why did you change MaxRequestsPerChild to 200? For a threaded OS like windows it is recommend to use MaxRequestsPerChild 0 and run endless.
Often PHP floats the memory. Did you ever try mod fcgid? |
i change my conf every day but no result.
mod_fcgid i didn't hear it before. what is it for?
how can i install for windows apache? |
|
Back to top |
|