jbbdude Posted August 27, 2019 Posted August 27, 2019 Software on Ricky seems to have been down intermittently for some time. I have been getting 500 errors on all PHP pages. Plain HTML files are being served, so Apache seems to be OK. I have gotten on-and-off errors when trying to load Softaculous and MultiPHP Manager. They have been returning errors about the cpanel subprocess receiving the "kill" signal. At this moment, both seem to be working (albeit sluggishly). I understand the high Ricky load, due to the Tommy issue. Is there a page which identifies which services are functioning?
wolstech Posted August 28, 2019 Posted August 28, 2019 That kill signal message is basically just cpanel timing out. The cPanel web server process (cpsrvd) launches other processes responsible for producing various pages and carrying out tasks. When those processes take too long to finish and return their result, they're killed and that error shows up. The page that shows various services is this: https://ricky.heliohost.org:2083/frontend/paper_lantern/home/status.html (clamd being failed is normal and can be ignored).
jbbdude Posted August 28, 2019 Author Posted August 28, 2019 What's causing the PHP failure? I'm even getting a 500 on a PHP file containing only <?php phpinfo();I see high server load (as a percentage? what are the units?) and memory. I don't know how that would kill PHP functionality entirely.
wolstech Posted August 28, 2019 Posted August 28, 2019 As part of our resource management strategy, processes like PHP have a time limit after which the server kills them (this isn't PHP's max_execution_time, it's a server script that kills processes due to existing too long). If I had to guess, the PHP processes are starting but due to overloading are blocked on CPU/disk/RAM. As a result, they start and immediately idle, basically standing in line to get their resources...then run out of time and get killed by the script before they reach the front of the line and do their work. Their entire existence (starting, waiting, working, outputting, exiting) must take less than the time limit or they will die without finishing. Apache starts them, then sees them inexplicably go away and throws a 500 error.
Sn1F3rt Posted August 28, 2019 Posted August 28, 2019 @wolstech: Probably my last message got mixed in the crowd. I'm sure you'll check this one again. Just check out your PM. I've received the reply from cP. After that just delete this post.
jbbdude Posted August 28, 2019 Author Posted August 28, 2019 This issue is persisting for me. Is PHP down for all on Ricky, or is something configured wrong on my account?
Flaze Posted August 28, 2019 Posted August 28, 2019 It should be your account. My website works fine.
jbbdude Posted August 28, 2019 Author Posted August 28, 2019 I've tried inheriting, PHP 7.2 and PHP 7.1 with MultiPHP Manager. I can't get any working. Can someone check my account on the backend to see why PHP would be failing?
Byron Posted August 29, 2019 Posted August 29, 2019 PHP is working on your site: http://jbbdude.heliohost.org/info.php
jbbdude Posted August 29, 2019 Author Posted August 29, 2019 (edited) This is weird. That file is working in the root directory, but an identical PHP file is failing in a subdirectory(/subdomain/domain). Grav, Kirby, and WonderCMS (as installed by Softaculous) are also failing in subdirectories. (Edit: removed links) I'm still troubleshooting... Tried setting a PHP version for that directory with MultiPHP Manager/.htaccess, no change. Any thoughts? Edited August 29, 2019 by jbbdude
Byron Posted August 29, 2019 Posted August 29, 2019 That's because you had folder permissions wrong in wwwjbb. I went ahead and set it to 755 for you.
jbbdude Posted August 29, 2019 Author Posted August 29, 2019 Thank you so much! I was ripping my hair out. I knew the CMS subfolders all had the proper 755 permissions but didn't check the folder itself. I guess cPanel defaults with 644 when creating a subdirectory for a subdomain/domain.
Luigi123 Posted August 29, 2019 Posted August 29, 2019 Did you actually rip your whole hair off or just a bit?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now