-1

Am having problems with my PHP/MySQL website. It is running fine on my development machine but on Godaddy it has started giving me problems. After running it multiple times I either error 500(Internal server error) or connection timed out. Am now convinced that its not the web host as files like sitemap.xml are loading very fast.

I attempted profiling it with the NuSphere profiler and the total time it takes to load the scripts is 143.0ms. Using the Zend Controller benchmark tool(without any performance-related components) I can make an average of 12 requests per sec on my local script. Using I get PHP function memory_get_usage I get 1340648

My questions are

  1. What is the the allowable amount of time that a script should take to load
  2. How can I know the CPU utilization of my scripts
  3. How can I know the memory utilization of my scripts

I use windows with Zend CE. I have checked the error logs and nothing shows. I have googled but none of the solutions seem to work .

4

1 回答 1

0

如果它在服务器上超时,则很可能是因为脚本中资源的链接未指向正确的位置。

导致函数调用不起作用或找不到其他资源。

于 2013-06-12T17:25:52.130 回答