Skip to main content

How to make cPanel stop disable nginx

Comments

2 comments

  • CPWorld
    There could be a number of different causes for what you describe which would be hard to diagnose without actually taking a look at the server in question but I will try to give you a few pointers in the possible directions to look. Also, are you running NGINX natively as the web server itself and a replacement for Apache or as more often setup alternative use as a reverse proxy front end to handle requests to cache or load balance configuration served from Apache? Just to give you a few pointers and ideas, I would recommend first look to your memory resources available and configuration, port usages, and any cleanup scripts which would include also take a look at a specific feature in Cpanel called "Shell Fork Bomb Killer" which might possibly interfere in the manner as you described sometimes from limiting memory usage of outside processes. The background process killer possibly another to look at but since it generally targets specific processes, it is less often an issue for most situations like this one that you are describing. Your configuration for your language engine for your script could also be an issue as well such as for example limiting individual script processes in PHP to a low amount as often left at smaller memory limits verses 128MB - 256MB, Depending on what cleanup or security applications you have running, your configuration with those types of applications could be impacting your situation as well. It would be a trivial task to setup a monitor to keep that process active and there is much better ways to implement that other than a simple timed cron job though that is certainly a step in the right direction just to help monitor and make sure your process stays up though I could show you a few ways to do the same which would be much quicker to respond to your process going down. I have to ask with a load of 50,000+ visitors why it is that you are using Cpanel? Cpanel while widely used especially for shared hosting and servers with many websites, it may not necessarily be the best choice environment for a higher load level or higher traffic configuration and is often better for a more generalized shared hosting type environment with a lot of smaller direct sites than a single for few larger high traffic sites at levels where you would probably want at minimum some kind of reverse proxy caching configuration and perhaps look into load balancing multiple server hosts.
    0
  • cPanelMichael
    Hello, Can you verify how you installed Nginx on the server? Did you use a specific third-party plugin to install it? Thank you.
    0

Please sign in to leave a comment.