log的错误日志

0

log的错误日志
2015-01-04 09:54:06 Worker:WORKER EXIT UNEXPECTED E_ERROR Allowed memory size of 134217728 bytes exhausted (tried to allocate 293301 bytes) in /data/gameserver/PhpServer/workerman/applications/Statistics/Bootstrap/StatisticWorker.php on line 190


2015-01-04 16:12:21 Worker:WORKER EXIT UNEXPECTED E_ERROR Allowed memory size of 134217728 bytes exhausted (tried to allocate 65508 bytes) in /data/gameserver/PhpServer/workerman/workerman/Core/SocketWorker.php on line 373


2015-01-04 16:12:37 Worker:WORKER EXIT UNEXPECTED E_ERROR Allowed memory size of 134217728 bytes exhausted (tried to allocate 65508 bytes) in /data/gameserver/PhpServer/workerman/workerman/Core/SocketWorker.php on line 373

已邀请:

burt

赞同来自:

出现第一个错误日志的时候 查看状态
图片


开始restart 出现


图片


最后kill 掉所有进程重启来了

burt

赞同来自:

内存不足,感觉有点难弄 一个进程128M的PHP 会满的话 就算设置再大也会满

walkor

赞同来自:

conf.d/StatisticWorker.conf里面
设置
max_requests=100000
start_workers=cpu核数


还没遇到过StatisticWorker进程耗尽的情况

要回复问题请先登录注册