Blog Hosting Issue Need Help!

Michaelchong

Newbie
Joined
May 24, 2022
Messages
44
Reaction score
14
I currently use hostgator shared baby plan to run my blog site which has over 3000-5000 visits per day, strange thing is that when i try to edit my content in wp, it often tells me offline or json error, then i refresh the site, it's back. It happens just recently when the traffics increases. But this is just annoying. Don't know if it's related to hostgator, though it says it could handle around 7k-8k visits per day. Some times the front pages can go 503, then i refresh the page would come back again. So what's the problem? If it's the hosting issue, what would you recommend to do? Siteground or other hosting service? btw I'm using cloudfare CDN as well...
 
I'm assuming you are playing with WP. Have you increased your max mem constants to what your hosting can offer you?
Generally, most of the server errors come when there is a mem peak that WP cannot handle.
Although there could be other causes this is the most common.
 
I'm assuming you are playing with WP. https://wordpress.stackexchange.com/a/268505/157160 to what your hosting can offer you?
Generally, most of the server errors come when there is a mem peak that WP cannot handle.
Although there could be other causes this is the most common.
Thanks for your help, just checked some instructions, not sure if it's the solution in my case, check here: https://www.hostgator.com/help/article/php-settings-that-cannot-be-changedBut I'm not a tech guy, so don't know if the hostgator shared plan cannot change the memory limit :)
 
Thanks for your help, just checked some instructions, not sure if it's the solution in my case, check here: shared plan in hostgator can not change memory limit. But I'm not a tech guy, so don't know if the hostgator shared plan cannot change the memory limit :)
Problem is that WP default value is very low (only 40M). Therefore considering that shared limits in hostgator are 256MB I would set both variables to those 256MB in the wp-config.php

PHP:
define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
 
Are you in a position to upgrade your hosting account? The "Baby" hosting plan is good to get ball rollin' but as soon as you start seeing spikes in traffic it struggles on WordPress related setups. Yes, you can alter certain server settings, install optimisation plugins, etc, but this will merely act as a bandaid and the issues you are experiencing will soon resurface.

HostGator offers WordPress specific hosting which may be worth checking out if you can afford the upgrade.
 
If what @SirLouen said doesn't work for you, consider opening a support ticket or support chat with Hostgator.

I had a bug a couple years ago where the PHP Mem limit wouldn't actually increase even though I did everything correctly.

They fixed my server in like 20 minutes. It's worth a shot.
 
If what @SirLouen said doesn't work for you, consider opening a support ticket or support chat with Hostgator.

I had a bug a couple years ago where the PHP Mem limit wouldn't actually increase even though I did everything correctly.

They fixed my server in like 20 minutes. It's worth a shot.
thanks a lot mate, gotta try it
 
Are you in a position to upgrade your hosting account? The "Baby" hosting plan is good to get ball rollin' but as soon as you start seeing spikes in traffic it struggles on WordPress related setups. Yes, you can alter certain server settings, install optimisation plugins, etc, but this will merely act as a bandaid and the issues you are experiencing will soon resurface.

HostGator offers WordPress specific hosting which may be worth checking out if you can afford the upgrade.
Great, let me check that, many thx
 
Problem is that WP default value is very low (only 40M). Therefore considering that shared limits in hostgator are 256MB I would set both variables to those 256MB in the wp-config.php
Thanks a lot, let me see if i could fix it :)
 
Back
Top