关注本站的朋友,应该能发现最近本站基本上没更新,不是说没东西好写,而是博客出了点状况: 登录后台,发篇文章首页要等10分钟左右才能显示,首页还一直显示未登录状态, 内页却能显示登录状态。就这问题确实让我很纠结,折腾了N久!
一直在排查原因所在,本地同服务器上用的数据库是一样的,网站文件也是一样的,本地博客 显示一切正常,但www.phpvar.com上的偏偏有问题:wp-admin登录后台,再返回首页90%会出现一直显示未登录状态,后台发文章也要等10几钟左右才能在首页看到更新!
最后向游子反馈这问题,游子说“我网站爆满CPU和内存,服务器上很多WP,没有人反映过这类问题,因为没有几个人能爆满CPU和内存”,之所以有这登录问题是内存爆满就不会读取和写入,我修改设置的东西会加载入缓存中但内存略微释放就会执行缓存中的东西,这就导致了“首页登录不正常,及更新文章,首页延时显示”的现象!
游子在后台也确实发现了我博客上的站内资源被其它站疯狂请求,而这些资源我站刚好又丢失了,最终导致爆满服务器上分配的CPU和内存!这就导致访问网站时会经常报:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@phpvar.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Bandwidth Limit Exceeded
The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later.
5条评论( 网友:2 条,站长:3 条 ) 网友评论{有您的评论更精彩....}