The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> Apache Development
|
general - Apache worker is crashing after 2500+ users
Discuss Apache worker is crashing after 2500+ users in the Apache Development forum on Dev Shed. Apache worker is crashing after 2500+ users Apache Development forum discussing HTTP Server general topics, configuration, and modules. Apache is an open source web server that runs on multiple platforms.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

November 27th, 2012, 04:35 AM
|
|
Registered User
|
|
Join Date: Nov 2012
Posts: 2
Time spent in forums: 22 m
Reputation Power: 0
|
|
|
general - Apache worker is crashing after 2500+ users
I activated Apache Worker on my VPS (vps.net) and I'm having problems, 'cause the website is crashing when 2500+ users are accessing the website. I'm using http://whos.amung.us/stats/2jzwlvbhvpft/ as counter.
My Apache Worker configuration:
Code:
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 1
<IfModule mpm_worker_module>
MaxClients 4000
ThreadsPerChild 50
ServerLimit 80
</IfModule>
The VPS have the SO: Debian 64 LAMP, memory: 7,3gb, 1 Gbps Lan and CPU: 24ghz
What I could to do to solve this problem?
|

November 27th, 2012, 02:25 PM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
|
Have you found any indication as to why "the website is crashing"? Do you know for sure that it's Apache and not, say, a load balancer or database? 2500 users per what unit of time? Concurrently? And how did you get a 24GHz CPU?
|

November 27th, 2012, 09:53 PM
|
|
Registered User
|
|
Join Date: Nov 2012
Posts: 2
Time spent in forums: 22 m
Reputation Power: 0
|
|
Quote: | Originally Posted by requinix Have you found any indication as to why "the website is crashing"? Do you know for sure that it's Apache and not, say, a load balancer or database? 2500 users per what unit of time? Concurrently? And how did you get a 24GHz CPU? |
Hi requinix!
Yes, 2500 users concurrent. I'm not using mysql, only php + fread (json). When 2500+ users are using the website, for each 5 web requests, 3 returns a 404 error and 2 returns the website after 10 seconds.
But, my God, is not possible!!! A load balancer for only 2500 concurrent? I don't believe!
On the vps.net, it's possible get 20.4ghz to cpu by US$ 17/day or 40.8 ghz paying US$ 34/day.
Could I to be using in a incorrectly way this excessive hardware??? Seems like 90% of hardware are lazy, with no use.
|

December 22nd, 2012, 02:10 PM
|
 |
mod_dev_shed
|
|
Join Date: Sep 2002
Location: Atlanta, GA
|
|
First, read the big warning at the top of the PHP installation page for Apache on 2.X for *nix systems (assuming you're using 2.X)—production systems should use the prefork MPM!
Regardless, you're likely undersized and overloaded. A pic of the output of top would be helpful, and turning on and providing us the result of server status would help, too. Are you using a PHP application of some kind, maybe a CMS?
__________________
# Jeremy
Explain your problem instead of asking how to do what you decided was the solution.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|