我做一个常驻进程,命令行执行command时间久了必定报错,大概三天半
求教解决
错误码
[think\exception\ErrorException]
Error while sending STMT_CLOSE packet. PID=22381
Exception trace:
() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Connection.php:316
think\Error::appError() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Connection.php:316
think\db\Connection->free() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Connection.php:364
think\db\Connection->query() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Query.php:227
think\db\Query->query() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Query.php:2298
think\db\Query->getPdo() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Query.php:413
think\db\Query->value() at /usr/local/nginx/html/tp5/thinkphp/library/think/db/Query.php:519
think\db\Query->count() at n/a:n/a
call_user_func_array() at /usr/local/nginx/html/tp5/thinkphp/library/think/Model.php:2150
think\Model->__call() at /usr/local/nginx/html/tp5/application/awy/model/Awy.php:24
最佳答案