Issues with Python/Django Software running on CloudLinux
We had a software developer custom build a inhouse project management system which is hosted on cPanel on a subdomain. We had to upgrade our dedicated server to CloudLinux to install the Python Apps.
The software is incredibly slow and essentially unusable alot of the time. Only 10 staff users have access to this site. The software developer says it's issues with our hosting server. Our hosting server company says it's issues with the software development. Here is what our hosting company said:
Unless your whole server is overloaded by other activities being handled by other accounts on that server, that site should already have full access to the system CPU.
I do see on the SSH console (running top) that the OurUserName user is using quite a bit of CPU running /home/OurUserName/virtualenv/django_software/3.6/bin/python3.6_bin /opt/passenger-5.3.7-13.el7.cloudlinux/src/helper-scripts/wsgi-loader.py...
You've got three of them running. One has been running for 13 minutes, another for seven minutes, and a third one just started. Based on the CPU times they're clocking, it appears you have a CPU limit of %100 on that hosting account (using Cloudlinux LVE). If you wish to give this account truly unlimited access to the CPU, use the LVE manager in WHM to give the OurUserName 1600% access to the CPU.
I made the adjustment they recommended, but set it to 1400% - still doesn't work.
Here is what the software developer responded with after I told them what our hosting company said:
....All it's doing is making an occasional database call and serving up HTML templates, there's absolutely nothing in the application that runs for 14 minutes. Even if it wanted to there is a hard cutoff of 5 minutes and it will terminate that process as being too greedy of a request.
Also, the script that they say is being run 3 times and shouldn't be is their script not even ours, that's their passenger scripts (opt/passenger-5.3.7-13.el7.cloudlinux/src/helper-scripts/wsgi-loader.py) to run 3 times loading the WSGI.
Any insight on what the issue really is would be appreciated. Thank you in advance.
-
Hey there! I think for issues like this it is best if we take a look at the server directly to ensure that everything with cPanel and CloudLinux is working well, as that would start eliminating things on our end at least. I don't have much advice I can offer through the forum as I would expect the base software itself to run normally. 0 -
Hey there! I think for issues like this it is best if we take a look at the server directly to ensure that everything with cPanel and CloudLinux is working well, as that would start eliminating things on our end at least. I don't have much advice I can offer through the forum as I would expect the base software itself to run normally.
Thank you for your reply. Should I submit a ticket then?0 -
Yes - you can do that through WHM directly or through the link in my signature. If you post the number here, I can follow along and make sure this thread gets updated. 0 -
Thanks. Here it is: 94309799 0 -
Thanks for that - I'm following along with that ticket now so I'll be sure to keep this thread updated. 0 -
We were able to confirm the server itself and processes on the machine have a large amount of free resources, as nothing was found related to cPanel or other managed software to be part of the slowness. 0
Please sign in to leave a comment.
Comments
6 comments