有什么方法可以找出我的共享主机“滞后”的原因吗?是?
我与 Hostgator 共享托管,直到大约一个月前,一切都还不错。现在..每隔 2 到 3 分钟,我就会点击一个链接,浏览器大约整整一分钟都不会解析。这是我的任何网站.. 和链接,它们都是数据库调用或非常简单的 html 超链接。它适用于任何浏览器,无论在工作还是在家。
我已经向 Hostgator 开了 2 张票,他们发誓所有的测试都表明没有问题,但是.. 我一遍又一遍地收到这个信息.. 已经好几个星期了。
是否有任何类型的错误输出我可以做..或任何类型的工具可以让我自己解决这个问题?
I have shared hosting with hostgator and until about a month ago, things were dandy. Now.. every 2 to 3 minutes, I'll click a link and the browser won't resolve for about a full minute. This is any of my sites.. and links that are both database calls or very simply html hyperlinks. It's with any browser and at work or home.
I've opened 2 tickets with hostgator and they swear all their tests show that there are no problems, but.. I get this over and over and over again.. and have for weeks now.
Is there any kind of error outputting I could do.. or tools of any kind that would allow me to troubleshoot this myself?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不确定其他浏览器,但谷歌浏览器有一个工具可以测量网站加载时间。单击右上角的扳手图标,然后转到“工具”->“工具”开发者工具。然后您将在屏幕底部看到一个新部分。单击“网络”选项卡,它将向您显示大量有关延迟等的数据。它还会向您显示哪个文件花费的时间最长。希望这有帮助。
Not sure about other browsers, but Google Chrome has a tool to measure the time a website took to load. Click the wrench icon in the top right, then go to Tools -> Developer Tools. Then you will see a new section at the bottom of the screen. Click the Network tab and it will show you a lot of data about the latency etc. It will also show you which file is the one that is taking the longest. Hope this helps.
从服务器本身的控制台,使用 wget 命令来提取页面。在脚本中定期执行此操作,记录到文件中。将其放入 cron 中。这将向您显示服务器本身是否存在任何延迟问题。如果看起来不错,那么它就在网络中的某个地方。您可以从另一个提供商的另一个盒子上进行类似的测试,如果结果正常,则表明您的 ISP 或 DNS 是罪魁祸首。
From a console on the server itself, use the wget command to pull a page. Do it periodically in a script, logging to a file. Put it in cron. That'll show you if there are any lag issues with the server itself. If that looks good, then it's somewhere in the network. You could do a similar test from another box on another provider, which if comes up clean, points to your ISP or DNS as the culprit.