Page 1 of 1

Help ~503 Service Temporarily Unavailable.

Posted: Tue Feb 12, 2013 2:41 pm
by xkenx
Forgive my poor English !
I beg everyone here who can gives any suggestions to help me !

I have an version1.513 Open Cart installation and recently I've been receiving this error message from my client .
, it showed the error message " Service Temporarily Unavailable. The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request". ..I also checked the website only 20 peolpe .to visit when the error occurred ! ...I tried to ask for help from my web hosing, they replied the following :

We allocate up to 3 php processes per account (2 prior making the adjustment). ??? No matter you have multiple sites under the same account, these processes are used to serve php requests for all your sites. If processes are under heavy processing, it might delay in serving your client requests, thus a 503 service not available will be shown at your web sites.

The reason why php are under heavy processing could be bots attacking your php web pages, or you have a page that is linking to multiple php urls. Example, you have two HTML tags on your web page linking to php files, when a client visit the following page, it would generate 2 php requests.

<img src=”./yourscript.php”>
<img src=”./yourscript.php”> ???

Depending on the time it takes to process just one request, and the number of visitors hitting that page, these processes could be under pressure and may take longer than usual to execute.

After they adjusted the php processes per account , it seems everything ok now ! but I worry about the future , when i have more client to access my website and make more http requset , the opencart will be down again !!

How can I test the website can serve more stable or more http requset ?
Is there any method to have a test on this case ?
Anyone can share the experience about 503 Service Unavailable ?