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 outages 3-4 times in a day... |
|
Author |
|
babar.zahiruddin
Joined: 07 Mar 2016 Posts: 2 Location: India, Indore
|
Posted: Mon 07 Mar '16 18:14 Post subject: Apache outages 3-4 times in a day... |
|
|
Hi there,
I'm trying to debug a system that has occasional outages, until we do a restart of apache http server.
There are two server 1. Application server 2. Database Server both communicate through private LAN.
Both server works fine but without any specific reason the Apache get outage and stop responding for few minutes until we do restart.
My Question:
1. Is this because of more request trying to access apache than its limit.
2. Some people suggest to switch from apache to NginX, can it solve the problem?
3. What can be the immediate solution to buy time for a permanent solution.
Thanks in Advance. |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
Posted: Mon 07 Mar '16 19:03 Post subject: |
|
|
What apache version do you run ?
Anything in apache log ?
Next time supply more info, see forum rules. |
|
Back to top |
|
dg
Joined: 18 Feb 2016 Posts: 6
|
Posted: Sun 13 Mar '16 11:40 Post subject: |
|
|
Had the same problem with quite the same setup before. Following the instructions at https://www.apachelounge.com/viewtopic.php?p=32414 solved the problem for me.
Code: | When you have hangs, slow traffic and/or when having in your log entries like Asynchronous AcceptEx failed. You can try the following settings:
AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off |
|
|
Back to top |
|
babar.zahiruddin
Joined: 07 Mar 2016 Posts: 2 Location: India, Indore
|
Posted: Mon 14 Mar '16 8:59 Post subject: |
|
|
Hi Admin,
As per forum rules, plz find more information about the server:
we have also observed that the server when into outage when there is heavy traffic or huge processes are running on it.
Server Version:
Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4
Server Built: Jun 30 2015 16:50:11
Other Information:
Current Time: Monday, 14-Mar-2016 12:19:42 ISTRestart Time: Saturday, 12-Mar-2016 16:44:59 ISTParent Server Generation: 23Server uptime: 1 day 19 hours 34 minutes 43 secondsTotal accesses: 590387 - Total Traffic: 2.9 GBCPU Usage: u14.55 s2.34 cu774.79 cs0 - .505% CPU load3.76 requests/sec - 19.3 kB/second - 5.1 kB/request
345 requests currently being processed, 69 idle workers
Thanks,
Zahir |
|
Back to top |
|
|
|
|
|
|