【求助】TP5运行一段时间后出现的问题

浏览:1426 发布日期:2017/07/27 分类:求助交流 关键字: TP5运行一段时间后的问题
TP5用了一段时间了,跑着没什么问题,但是网站偶尔会突然卡死,出现一些奇奇怪怪的问题,请求很慢,不知道原因,每次都是重启Apache后一切恢复正常,为什么?

今天中午又出现了,为了快速解决问题只能重启。

项目使用了SeasLog记录,后来查看日志,在记录请求的info.log中,中间有10分钟的样子没有请求记录;

在critical日志文件中发现这段时间出现一大片如下日志:
critical | 1752 | 1501132859.4 | 2017-07-27 13:20:59 | Exception - type:0 - file:D:\wwwroot\match\thinkphp\library\think\Request.php - line:668 - msg:Undefined variable: _GET
critical | 1752 | 1501132859.257 | 2017-07-27 13:20:59 | Exception - type:0 - file:D:\wwwroot\match\thinkphp\library\think\Request.php - line:668 - msg:Undefined variable: _GET
critical | 1752 | 1501132877.628 | 2017-07-27 13:21:17 | Exception - type:0 - file:D:\wwwroot\match\thinkphp\library\think\Request.php - line:668 - msg:Undefined variable: _GET
......

在error日志文件中发现这段时间出现一大片如下日志:
error | 1752 | 1501132859.6 | 2017-07-27 13:20:59 | 系统异常:#0 D:\wwwroot\match\thinkphp\library\think\Request.php(668): think\Error::appError(8, 'Undefined varia...', 'D:\\wwwroot\\matc...', 668, Array)
#1 D:\wwwroot\match\thinkphp\library\think\Request.php(629): think\Request->get(false)
#2 D:\wwwroot\match\thinkphp\library\think\App.php(232): think\Request->param()
#3 D:\wwwroot\match\thinkphp\library\think\App.php(211): think\App::bindParams(object(ReflectionMethod), Array)
#4 D:\wwwroot\match\thinkphp\library\think\Loader.php(420): think\App::invokeClass('app\\api\\control...')
#5 D:\wwwroot\match\thinkphp\library\think\App.php(386): think\Loader::controller('user', 'controller', false, 'Error')
#6 D:\wwwroot\match\thinkphp\library\think\App.php(295): think\App::module(Array, Array, true)
#7 D:\wwwroot\match\thinkphp\library\think\App.php(123): think\App::exec(Array, Array)
#8 D:\wwwroot\match\thinkphp\start.php(18): think\App::run()
#9 D:\wwwroot\match\public\index.php(17): require('D:\\wwwroot\\matc...')
#10 {main}

这个日志看不大懂啊,是程序问题吗?求解
最佳答案
评论( 相关
后面还有条评论,点击查看>>