今天中午又出现了,为了快速解决问题只能重启。
项目使用了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(ob
#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}
这个日志看不大懂啊,是程序问题吗?求解
最佳答案