• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

7.5.3 apache random crashing

N

Naughty

Guest
Since begin this week, apache is randomly crashing. Weird thing is, cant find anything in any log file.

Even Sim say that apache was up during the time it was down!
Well, meaby it its up, but no page can be reached.

Anyone else an idea what i can check?
 
If Apache is really running and sites cannot be accessed, I would then look at if you have any bandwidth limiting installed (bw_mod, mod_throttle, etc) or things like dosevasive. It may be something like those are kicking in and limiting connections either from too low a threshold or from an actual attack (like a flood).

You said 'since begin this week' it began. Was there anything changed, installed or updated at the beginning of the week?
 
Originally posted by jamesyeeoc
If Apache is really running and sites cannot be accessed, I would then look at if you have any bandwidth limiting installed (bw_mod, mod_throttle, etc) or things like dosevasive. It may be something like those are kicking in and limiting connections either from too low a threshold or from an actual attack (like a flood).

You said 'since begin this week' it began. Was there anything changed, installed or updated at the beginning of the week?

update to Plesk 7.5.3 :x
 
Have you specifically checked the following logs:

/home/httpd/vhosts/yourdomain.com/statistics/logs/error_log
/home/httpd/vhosts/yourdomain.com/statistics/logs/access_log

/var/log/httpd/error_log
/var/log/httpd/access_log

and

/var/log/messages
 
i did check em out before and did again now but still cant find anything special in any of them

only thing what i think it can be:
- buggy frontpage extentions, because i see a try to reach some map in the logs just before it crashes
or
- some guy is hosting maps and stuff for his counter-strike server and to many request on new maps at map change

or something like that


httpd.conf:
<IfModule prefork.c>
StartServers 2
MinSpareServers 1
MaxSpareServers 5
MaxClients 10
MaxRequestsPerChild 1000
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 10
MinSpareThreads 1
MaxSpareThreads 4
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

i dont know **** about prefork.c and worker.c but shoudnt max clients be at last more then 100? (150 or 300)
 
I would certainly think so.

I would bump these values up:

<IfModule prefork.c>
StartServers 2
MinSpareServers 1
MaxSpareServers 5
MaxClients 10

<IfModule worker.c>
StartServers 2
MaxClients 10
MinSpareThreads 1
MaxSpareThreads 4

By how much depends on many things. Hopefully your server is not underpowered (CPU, RAM, etc), is this server 'busy' or 'light' load?
 
Start with this, but you may still have to make additional adjustments (remember to restart apache/httpd after saving changes):

<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
MaxClients 150
MaxRequestsPerChild 1000
</IfModule>

<IfModule worker.c>
StartServers 4
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
 
Back
Top