New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zm_deactivate_swoole (ERROR 503): Fatal error: Swoole\Coroutine\Channel::pop(): must be called in the coroutine #1723

Closed
andreiavrammsd opened this Issue Jun 15, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@andreiavrammsd

andreiavrammsd commented Jun 15, 2018

Hello,

Yesterday (with version 2.2.0) I had no issues, but after the new release (4.0.0) I met this problem:

zm_deactivate_swoole (ERROR 503): Fatal error: Swoole\Coroutine\Channel::pop(): must be called in the coroutine

Full source:
https://github.com/andreiavrammsd/php-swoole-service/blob/master/app.php#L36

Env:

php -v
PHP 7.2.6 (cli) (built: Jun 6 2018 19:14:26) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

uname -a (Alpine 3.7, inside Docker container)
Linux 924d0e1dbc2e 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 Linux

openssl version
LibreSSL 2.6.4

php --ri swoole

swoole

swoole support => enabled
Version => 4.0.0
Author => tianfeng.han[email: mikan.tenny@gmail.com]
coroutine => enabled
epoll => enabled
eventfd => enabled
timerfd => enabled
signalfd => enabled
spinlock => enabled
rwlock => enabled
async http/websocket client => enabled
mutex_timedlock => enabled
pthread_barrier => enabled

Directive => Local Value => Master Value
swoole.aio_thread_num => 2 => 2
swoole.display_errors => On => On
swoole.use_namespace => On => On
swoole.use_shortname => On => On
swoole.fast_serialize => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608

Thanks!

@matyhtf matyhtf closed this in fadf4da Jun 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment