log的错误日志

burt

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

6586 3 0
3个回答

burt

出现第一个错误日志的时候 查看状态
[attach]58[/attach]

开始restart 出现

[attach]59[/attach]

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

  • walkor 2015-01-04

    这个一般是升级workerman引起的,升级前先stop掉,升级后再start

burt

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

  • 暂无评论
walkor 打赏

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

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

  • burt 2015-01-06

    @1 3.0 优化下这个呗

年代过于久远,无法发表回答
×
🔝