My website shows 500 Internal Server Error intermittently
Posted by - NA - on 15 March 2010 12:50 AM
If this has not been confirmed by the support staff as a server wide or site specific issue (like with file permissions or bad code), then the only reasoning for it would be that the specific user has over 10 active processes at a moment. What the system does in that case is kill all php processes by that user. This is the same policy used by many large hosts as well. Please note that these policies are in place so no one on the server can abuse the capacity of a shared server. If your site doesn't have that much traffic then one of the following is going on:
  1. You have a FTP/SSH/IMAP session open which creates several processes as a result and brings your process total to 10. Those do not get killed as they are persistent connections but do count against the total processes.
  2. You have cron jobs that are running that invoke several sub-processes. Spread them out or make sure that they do not invoke sub-processes.
Several things are outlined above to remedy this. To further resolve the issue, you may need to upgrade the specific account that is experiencing this to BusinessClass where the process limit is 20 not 10.
(100 vote(s))
Helpful
Not helpful

Comments (14)
IanCT
29 July 2010 07:19 PM
If you are using ASP, you can modify the web.config file to show you a more detailed output of the error.
Of course, you should change it back once you've corrected the error.

example:
<system.webServer>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
</system.webServer>
Sheila Dade
07 April 2012 07:03 PM
I am confused as to why error code 500 is occurring. Need a detailed explanation - my church eSTORE impacted for business.
Michael Carr
13 April 2012 01:42 PM
Hello, You can usually determine the cause of a 500 error from the control panel of your hosting account. If you are on a windows based server, navigate to web > websites > domain > error tab, and make sure you have enabled detailed reporting on all three error types by clicking the check boxes for them. Then when you access your website again you should see the exact error message. On a linux based server, login to the cpanel and on the main page you will see an option for the error log. From there you can view all the errors and reasons for them that have occurred while accessing the website. If all else fails you can always contact our support for help in determining these cause of the error.
Shuling Chang
11 June 2012 01:15 PM
Hi,

I am a new Web host customer on last Friday 06/08/2012. The domain name is hochi.us. I will get the 500 internal error when I type in the web address. http://hochi.us. I thought may be it needs more time to populate the name so I wait until now.
I follow above instruction and hope I can see more error. But the update failed in the control panel. Following is the error message.

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'Update' task on 'hochi.us' Web site ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileLoadException: Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config Error: Cannot write configuration file at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.CommitChanges() at Microsoft.Web.Administration.Configuration.CommitChanges() at Microsoft.Web.Administration.ConfigurationManager.CommitChanges() at Microsoft.Web.Administration.ServerManager.CommitChanges() at WebsitePanel.Providers.Web.Iis.WebObjects.WebObjectsModuleService.UpdateSite(WebSite site) at WebsitePanel.Providers.Web.IIs70.UpdateSite(WebSite site) at WebsitePanel.Server.WebServer.UpdateSite(WebSite site) --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at WebsitePanel.EnterpriseServer.WebServerController.UpdateWebSite(WebSite site) --- End of inner exception stack trace --- at WebsitePanel.EnterpriseServer.WebServerController.UpdateWebSite(WebSite site) --- End of inner exception stack trace ---


Could you provide more instruction what should I do?

I did not add/install anything for this new web site yet. Just test to see what is the default from the new package.

Many thanks,

Shuling Chang
Michael Carr
01 August 2012 12:25 PM
The domain loads our default page for me now. I would suggest contacting support if you still need help with this and be sure to let them know where exactly you are seeing the error in the control panel.
Robert Getzner
21 August 2012 05:29 AM
Hi, I also experience the 500 internal server errors (ticket in process). How can I avoid hanging FTP or IMAP processes or is there a way to kill those regularly and automatically (killing those processes from cPanel doesn´t work).
Thanks, Robert
Michael Carr
04 September 2012 10:41 AM
This depends on the exact error and the type of account that you have with us. 500 can be caused by a variety of things and there are also 503's and 504's. IMAP and FTP connections usually will not hang, and if they do regularly, it is usually some type of connectivity issue.
NMedina
01 March 2013 01:53 PM
Your link below states the process limit is 50 for personal or 200 for business. What is the real concurrent process limit?
https://support.arvixe.com/index.php?/Knowledgebase/Article/View/192/4/resource-usage-explained
Thanks.
Michael Carr
06 March 2013 10:12 AM
Those are the real actual concurrent limits that we place on those accounts.
dipendu
02 September 2014 03:19 AM
Enable all error logging for the website through control panel and then root cause can be known.
gregf
05 November 2014 09:09 PM
I am showing 500 Internal Server error also and it is hurting my business. when I go to cPanel It says I am using 100% of cpu limit as well as almost all of virtual and physical memory limits. All three bars are red.

I was using transposh translator plugin but I deleted the plugin files but still can't access my site.
Michael Carr
06 November 2014 10:07 AM
Please contact us at support [at] arvixe.com and we will be happy to assist.
pasrow01
10 January 2015 12:00 PM
please i need your help sir , my site has refuse to display with error 500 and also i don't know the dir to upload y sub domain
Ryan C
28 January 2015 10:24 PM
When you crate the sub domain, it will give you the option to specify a sub directory. This is the directory you would upload to. You can check the current one by logging into cPanel and clicking subdomains. Please submit a support ticket at support [at] arvixe.com and we can review the 500 error.

Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).