|
#1
|
|||
|
|||
|
Hello, my websites have been down intermittently with a "500 Internal Server Error". When I check the error logs, I get the following:
Premature end of script headers: /home/xxx/public_html/xxx/index.php I am running WordPress and have installed the WP-SuperCache (as advised by Hostgator support). I have also gotten the following reply: This happens when you are bumping into the 25 process limit for your account. I suggest a couple of steps to improve this: 1) Switch from using IMAP to POP3 for your email downloading. 2) Make sure all cron jobs are finishing. 3) Disable persistant mysql connections. 4) Consider moving to a reseller account and moving each domain into its own cpanel account (with its own 25 process limit) instead of as addon domains. I am not sure if this problem is related to the Wordpress plugins I have installed, to the .htaccess file (which was recently modified by someone on the Hostgator team) or to something else. I would appreciate any help with this! |
|
#2
|
|||
|
|||
|
Whats in your .htaccess?
|
|
#3
|
|||
|
|||
|
# BEGIN WordPress
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} !.*s=.* RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$ RewriteCond %{HTTP_COOKIE} !^.*wordpressuser.*$ RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$ RewriteCond %{HTTP:Accept-Encoding} gzip RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1index.html.gz -f RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1index.html.gz [L] RewriteCond %{QUERY_STRING} !.*s=.* RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$ RewriteCond %{HTTP_COOKIE} !^.*wordpressuser.*$ RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$ RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1index.html -f RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1index.html [L] <IfModule mod_rewrite.c> RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> </IfModule> # END WordPress |
|
#4
|
||||
|
||||
|
Quote:
__________________
best regards, George |
|
#5
|
|||
|
|||
|
My problem was resolved thanks to Hostgator support.
The issue was indeed with the plugins (there were probably too many of them) - I deactivated some of them and now my sites work fine. Thanks to everyone who replied to this thread, and also to the Hostgator support team who patiently helped me with this!
|
|
#6
|
|||
|
|||
|
this has been happening to me too. turns out someone or some process is chmodding my public_html folder to 0740. once changed to 0755 it works fine.
|
|
#7
|
|||
|
|||
|
i take it back, its still doing it even with new permissions on that folder. its not all the time though, and suspending then unsuspending seems to fix it. wtf. its also a word press site.
|
|
#8
|
||||
|
||||
|
public_html should have permissions 750
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#9
|
||||
|
||||
|
If your chmod has changed you should contact support. Ask if they did it and if not you may have been hacked? As Quiet Finn stated, public_html should be 750
__________________
best regards, George |
|
#10
|
|||
|
|||
|
i cant see why any hacker would just do that, i have had sites compromised in the past and they like to change your pages, screw with things a bit etc. doesnt matter anymore. im dissappointed that a reseller account is so easily taken down. in the past i have had to cancel others service because the gator gods say they are using to many resources, yet dont show any proof. i just moved that site to another server instead of having to deal with this. Id rather not ask if they changed it, cause it would feel like asking a child if they did something when they cant understand what your saying. to date i havent had a single acceptable event with the support staff. I had my own dedicated servers for many years and then came here cause i folded my business down and just wanted to host my own sites and a few friends. ironic that a reseller account is not able to actually host a few forums, and word press sites without running into resource limits. maybe if they didnt shove 200 resellers on a box it would be different.
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -6. The time now is 11:08 PM.









