My website sometime shows "508 - Resource limit is reached". (3 posts)

  1. roger17
    Posted 2 years ago #

    My website sometime shows "508 - Resource limit is reached".
    I know it's normally a problem of server but I have transferred my website on VPS server recently and it's still getting that error sometimes.

    What should I do?

    Is it possible to get that error due to some mistake in my PHP coding?

  2. kjodle
    Posted 2 years ago #

    That's because your account is exceeding the resources that are allocated to it, such as CPU usage or RAM allocation.

    You might want to check with your host to make sure they have actually transferred you over to a VPS. If so, it may be a setting issue on their end.

  3. Vanguard Digital
    Posted 2 years ago #

    if you are on a VPS then it is definably because of your code.

    One common cause in many older wordpress themes is the incorrect use of timthumb and improper caching of re-sized images.

    Your host should be able to let you know what the script is that is using all the resources and then you will have to look at the code in the file and find out what would be using all the memory, this information is also generally available in your hosting control panel.

    Also a nice piece of software is new relic although this is most likely over kill for your situation

Topic Closed

This topic has been closed to new replies.

About this Topic