Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Apache on Windows 64 bit + Cannot handle load! |
|
Author |
|
AMailer
Joined: 25 Sep 2006 Posts: 45 Location: Canada
|
Posted: Wed 27 Aug '08 18:07 Post subject: Apache on Windows 64 bit + Cannot handle load! |
|
|
Hello,
I have apache (the one from the official site mirrors) installed on my 64 bit windows OS on a multi core processor.
First of all, I'm wondering if there is a 64 bit version of apache for windows 64 bit server 2003.
Secondly I'm wondering what I can do to stop Apache from clogging up!
Every time a load of say 300 people visit the webserver, apache clogs up and it takes forever to load (the web page). It makes no sense since I know 100% sure that the server box its self can handle it and the connection (100Mbit port, 10Mb/s) can handle it, so no idea whats causing it and I really need a fix.
P.S. Would it improve speeds dramatically or at least fairly good if I installed PHP as Fast-CGI rather than a module? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 27 Aug '08 19:52 Post subject: |
|
|
There is a x64 bit Version.
What is in your error log about apache stops serving? Anything in your windows event log? Did you turn on the php error log? |
|
Back to top |
|
AMailer
Joined: 25 Sep 2006 Posts: 45 Location: Canada
|
Posted: Thu 28 Aug '08 5:50 Post subject: |
|
|
James Bond, I remember you - helped me out with the virtual host a while back
Alright, okay so nothing in the windows event log. I started using cronolog.exe to create separate access and error logs, because the access log grows to 500 MB + in a day with all the visits.
However I think I'm going to try this 64 bit version. The mpm_prefork modules aren't loaded currently and I believe it would help in making full use of the processor.
I'll reply back with any changes. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 28 Aug '08 9:38 Post subject: |
|
|
mpm_prefork is only on unix/linux. For windows there is only mpm_winnt |
|
Back to top |
|
AMailer
Joined: 25 Sep 2006 Posts: 45 Location: Canada
|
Posted: Fri 29 Aug '08 16:04 Post subject: |
|
|
Right, yeah got that working now.
I've been trying out the 64 bit version of Apache on another box, works great and all but I don't the fact that the MSSQL libraries don't work with it.
What do I need to change so that my Apache server can handle say 1000+ visitors at a time? Because its still going nuts when a huge load of visitors come.
I'm going to be switching to a 32-bit OS, not even sure why I'm on a 64 bit.
**EDIT**
I've had several of these errors in my Event Viewer:
Code: | Faulting application httpd.exe, version 2.2.9.0, faulting module libapr-1.dll, version 1.3.0.0, fault address 0x000071b1. |
Code: | Faulting application httpd.exe, version 2.2.9.0, faulting module php5ts.dll, version 5.2.6.6, fault address 0x000ad1b7. |
I'm not sure how or why (this is alll 32-bit php and apache) php would be crashing. |
|
Back to top |
|
AMailer
Joined: 25 Sep 2006 Posts: 45 Location: Canada
|
Posted: Sat 30 Aug '08 18:38 Post subject: |
|
|
Yeah, httpd.exe (*32) takes up sometimes 74% CPU Usage.
Any idea whats going on? Right now only a forum, vBulletin is running.
Also, my php scripts start getting "Out of memory" errors- which is weird because right now I shut off all other servers except apache and mysql - 4 GB RAM...
*EDIT*
Disabling custom logs fixed it- should have done that a while ago, I suppose my read/write speed is slow. However, still- not handling the load very well! |
|
Back to top |
|
|
|
|
|
|