Tianfeng.Han

Results 49 comments of Tianfeng.Han

应该是设置了 SIGALAM 时钟,进程被时钟信号杀死了。可以使用 pcntl_signal 或者 Process::signal 设置 SIGALAM 的 handler

注册`onWorkerExit`事件回调,然后在这个函数中清理进程内的定时器、任务协程、事件监听等可能会挂起进程的逻辑

Missing zlib library, fixed in latest code in master branch

This means that the process was forcibly killed by OS with SIGKILL (`kill -9 PID`) Did you execute kill -9 yourself, or an OOM kill occurred. Find key info in...

According to the strace log you provided, it may be that the worker process shutdown timed out and was forcibly killed by the main process. Please provide more strace logs...

I cannot reproduce, Please use valgrind to track memory errors ```shell USE_ZEND_ALLOC=0 valgrind php your_file.php ```

是在一个连接里发送了2个 POST 请求吗?

1. Please provide the complete log of `php --ri swoole` output. 2. Are you using curl native hook? 3. Do you have set the http host header? ```php $host =...

Please use `valgrind` to track memory errors and submit the log here ```shell USE_ZEND_ALLOC=0 valgrind --log-file=/tmp/valgrind.log php your_file.php ```

I can't reproduce this problem using the master branch code. Please try to track memory errors with valgrind. ```shell USE_ZEND_ALLOC=0 valgrind php examples/cause-swoole-malloc.php ```