Swoole导出报 ERROR zm_deactivate_swoole (ERROR 103)

发布于 2022-09-11 19:58:37 字数 694 浏览 14 评论 0

如何解决swoole导出报的如下错误?

注:不用swoole是没有问题的。

PHP Fatal error:  Allowed memory size of 838860800 bytes exhausted (tried to allocate 32 bytes) in /home2/wwwroot/default/test/backend/web/excel/PHPExcel/Cell.php on line 586
[2017-06-12 11:25:32 ^21679.1]    ERROR    zm_deactivate_swoole (ERROR 103): Fatal error: Allowed memory size of 838860800 bytes exhausted (tried to allocate 32 bytes) in /home2/wwwroot/default/test/backend/web/excel/PHPExcel/Cell.php on line 586.
[2017-06-12 11:25:32 $21659.0]    WARNING    swManager_check_exit_status: worker#1 abnormal exit, status=255, signal=0
MasterPid=21650|Manager_pid=21659
Server: start.Swoole version is [1.8.11]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

如果没有 2022-09-18 19:58:37

脚本内存不够

泪冰清 2022-09-18 19:58:37

刚才也遇到了,请问有人解决了吗。我是在swoole 异步导出Excel 的时候内存不够

厌味 2022-09-18 19:58:37

PHP Fatal error: Uncaught thinkexceptionErrorException: SwooleServer::close() expects parameter 1 to be integer, object given in /home/www/tp51/swoole/thinkphp/server/http_server.php:50
Stack trace:

0 [internal function]: thinkError::appError(2, 'Swoole\Server::...', '/home/www/tp51/...', 50, Array)

1 /home/www/tp51/swoole/thinkphp/server/http_server.php(50): SwooleServer->close(Object(SwooleHttpRequest))

2 {main}

thrown in /home/www/tp51/swoole/thinkphp/server/http_server.php on line 50

[thinkexceptionErrorException]
Uncaught thinkexceptionErrorException: SwooleServer::close() expects parameter 1 to be integer, object given in /home/www/tp51/swoole/thinkphp/server/http_server.php:50
Stack trace:
#0 [internal function]: thinkError::appError(2, 'Swoole\Server::...', '/home/www/tp51/...', 50, Array)
#1 /home/www/tp51/swoole/thinkphp/server/http_server.php(50): SwooleServer->close(Object(SwooleHttpRequest))
#2 {main}

thrown                                                                                                                                                                     
                                                                                                                                                                           

Exception trace:
() at /home/www/tp51/swoole/thinkphp/server/http_server.php:50
thinkError::appShutdown() at n/a:n/a

[2018-12-14 14:36:11 *7147.3] ERROR zm_deactivate_swoole (ERROR 503): Fatal error: Uncaught thinkexceptionErrorException: SwooleServer::close() expects parameter 1 to be integer, object given in /home/www/tp51/swoole/thinkphp/server/http_server.php:50
Stack trace:

0 [internal function]: thinkError::appError(2, 'Swoole\Server::...', '/home/www/tp51/...', 50, Array)

1 /home/www/tp51/swoole/thinkphp/server/http_server.php(50): SwooleServer->close(Object(SwooleHttpRequest))

2 {main}

thrown in /home/www/tp51/swoole/thinkphp/server/http_server.php on line 50.
[2018-12-14 14:36:11 $7142.0] WARNING swManager_check_exit_status: worker#3 abnormal exit, status=255, signal=0
PHP Fatal error: Uncaught thinkexceptionErrorException: SwooleServer::close() expects parameter 1 to be integer, object given in /home/www/tp51/swoole/thinkphp/server/http_server.php:50
Stack trace:

0 [internal function]: thinkError::appError(2, 'Swoole\Server::...', '/home/www/tp51/...', 50, Array)

1 /home/www/tp51/swoole/thinkphp/server/http_server.php(50): SwooleServer->close(Object(SwooleHttpRequest))

2 {main}

thrown in /home/www/tp51/swoole/thinkphp/server/http_server.php on line 50

[thinkexceptionErrorException]
Uncaught thinkexceptionErrorException: SwooleServer::close() expects parameter 1 to be integer, object given in /home/www/tp51/swoole/thinkphp/server/http_server.php:50
Stack trace:
#0 [internal function]: thinkError::appError(2, 'Swoole\Server::...', '/home/www/tp51/...', 50, Array)
#1 /home/www/tp51/swoole/thinkphp/server/http_server.php(50): SwooleServer->close(Object(SwooleHttpRequest))
#2 {main}

thrown                                                                                                                                                                     
                                                                                                                                                                           

Exception trace:
() at /home/www/tp51/swoole/thinkphp/server/http_server.php:50
thinkError::appShutdown() at n/a:n/a

[2018-12-14 14:36:11 *7149.3] ERROR zm_deactivate_swoole (ERROR 503): Fatal error: Uncaught thinkexceptionErrorException: SwooleServer::close() expects parameter 1 to be integer, object given in /home/www/tp51/swoole/thinkphp/server/http_server.php:50
Stack trace:

0 [internal function]: thinkError::appError(2, 'Swoole\Server::...', '/home/www/tp51/...', 50, Array)

1 /home/www/tp51/swoole/thinkphp/server/http_server.php(50): SwooleServer->close(Object(SwooleHttpRequest))

2 {main}

thrown in /home/www/tp51/swoole/thinkphp/server/http_server.php on line 50.
[2018-12-14 14:36:11 $7142.0] WARNING swManager_check_exit_status: worker#3 abnormal exit, status=255, signal=0

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文