New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Not all sites (Wordpress) are accessible

Started by ring_c, February 18, 2023, 07:20:57 PM

Previous topic - Next topic

ring_c

Hi all,


Lately I get a strange issue on my CWP (Pro). I host a few sites on my server, and once in a week or 2, some of them are not accessible. I'm getting 524 error from cloudflare. Usually I simply restart the server just to make sure the sites are back online.
Today it happened again. Most of the sites were down for a few hours as I wasn't around my computer.
So checking the Apache's error log, I've found this error exactly on the time they failed:

Quote[mpm_event:error] [pid 17038:tid 140036947539840] AH00484: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting

Any idea if it might be related and what can I do in order to solve this down issue?

TIA.

PakPos

you use nginx/varnish?
just disable the custom script for wordpress,


but if ": server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting"
then try to paste that to google...
maybe one of search result can help

ring_c

I'm using apach and nginx.
I've googled of course. Found answers related to other systems. That's why I've opened another thread, after finding a script regarduno mom, but don't really know what to do with the results.

overseer

And you saw this, I hope?
https://serverfault.com/questions/775855/how-to-configure-apache-workers-for-maximum-concurrency
I would say off the cuff that you may want to consider running just Nginx and dump Apache if you are facing this type of problem regularly. Nginx is tuned for this style workload.
QuoteNginx, how do you eat an elephant? One bite at a time!

ring_c

Quote from: overseer on March 04, 2023, 09:20:54 PM
And you saw this, I hope?
https://serverfault.com/questions/775855/how-to-configure-apache-workers-for-maximum-concurrency
I would say off the cuff that you may want to consider running just Nginx and dump Apache if you are facing this type of problem regularly.
First, thanks for your reply. No, I haven't bumped into this link before. I'll try to get into it shortly.
But what caught my attention more was your recommendation to move from NGINX&Apache to NGINX only. I thought NGINX&Apache is recommended by CWP. Isn't it?

overseer

CWP tries to be all / do all and fit most use cases. I think if you want max performance for the least effort, Nginx has proven to be the best for me on one heavy server. To ABSOLUTELY milk the most out of a particular server hardware, you would want to add Varnish into the mix (if you have fast storage and/or gobs of RAM). But bang for your buck is definitely in the Nginx side of things.

https://kinsta.com/blog/nginx-vs-apache/