I’m running CENTOS Apache/NGINX server config on a fresh SSD drive VPS with no other WP installs. I’m getting around 20k page views a month or so, with peak traffic around 1500 pages in a 12 hour period.
4G ram, 16 core – it’s a fast server, but having some sort of configuration issues with NEWSPAPER/WP install as well as fatal PHP errors.
WP_MEMORY_LIMIT WordPress memory limit 1000M
WP_MAX_MEMORY_LIMIT Administrative memory limit 2500M
WP_CACHE Built-in caching Enabled
Can give access to WP admin & server upon request.
Please help, site crashing constantly – every day.
Some more info:
[Fri Aug 26 23:31:44.006267 2016] [fcgid:warn] [pid 28524:tid 140309218412288] [client 209.11.120.66:34391] mod_fcgid: can’t apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
If the ‘can’t apply process slot for’ error messages are showing in a website’s error log, this means that the FcgidMaxProcesses limit has been reached. It is not a server performance issue, but rather, an issue in communication between Apache and its module. The error means that the site on the server is using too many resources, specifically the FcgidMaxProcesses limit in apache/nginx config file
I chekced the apache error logs and found the following:
[Fri Aug 26 23:46:10.609408 2016] [core:warn] [pid 12198:tid 140309685360704] AH00045: child process 26038 still did not exit, sending a SIGTERM
I think this means the server is saying “I couldn’t stop this process normally so I’m pushing it harder by telling it to stop instead of being nice about it.” It generally happens when Apache is hanging when trying to work, and is usually caused by too many resource usages, or possibly, in this case, process limits being hit. Your server is configured to only allow a certain amount of processes to run, or have open files/process and if it hits that limit it wont do anything else until another process finishes.
Try disabling your cache plugin.
Also make sure you updated WP memory limit in the wp-config.php file.
Depending on server setup, make sure you set php memory limit to 1G (some systems prefer 1G vs 1000M); frankly 768M is plenty.
Consider moving from Visual Composer to the TD Composer beta (we did on all our news portals running Newsmag 3x).
Disable “related posts” “more from author” and “flyout” bottom right stuff. Try to use just ONE post module image size type in sidebar, vs multiple. Try only having ONE advert in side bar.
Seriously, all this stuff helps!
Hi,
This depends on your server configuration as the theme has some server requirements – https://forum.tagdiv.com/newsmag-requirements-for-newsmag/ Check also the System Status parameters like Chris suggested – https://forum.tagdiv.com/system-status-parameters-guide/ Consider also the other suggestions as Chris has experience with these kind of things.
Also you could try to reduce the ajax requests: try to not use mega menus, blocks with pagiantion(next prev, infinite load..) and see how it goes.
Thanks!