-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[bug] single_thread + heartbeat_check_interval - terminate called without an active exception #5671
Comments
I asked ChatGPT about it stacktrace:
So really why in
We just return for single_thread option instead make something like |
About second issue
Then workers stopping without any warning. |
Since the www-data user cannot send signals to the root user, I need to consider whether it is reasonable to set the manager process to also run as www-data. |
Hello,
It seams I found bug and some potential problem.
For each worker process swoole trigger such warning when master process get SIGTERM signal:
[2025-01-23 00:18:49 *16.0] WARNING Server::stop_async_worker(): failed to push WORKER_STOP message, Error: Operation not permitted[1]
And after this in stderr I see
terminate called without an active exception
(with coredump)My settings on Swoole 6.0, PHP 8.4 ZTS, PROCESS mode
This is trace log (in DESC order):
Stacktrace for coredump:
The text was updated successfully, but these errors were encountered: