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 stops sometimes
Author
adebisi



Joined: 07 May 2009
Posts: 3

PostPosted: Thu 07 May '09 23:49    Post subject: Apache stops sometimes Reply with quote

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

PostPosted: Sat 09 May '09 11:12    Post subject: Reply with quote

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

PostPosted: Sat 09 May '09 11:22    Post subject: Reply with quote

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

PostPosted: Tue 12 May '09 12:32    Post subject: Reply with quote

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

PostPosted: Tue 12 May '09 12:34    Post subject: Reply with quote

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


Reply to topic   Topic: Apache stops sometimes View previous topic :: View next topic
Post new topic   Forum Index -> Apache