Skip to content
New issue

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

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

Already on GitHub? # to your account

hyperf:执行pgsql查询,worker进程退出 #5297

Open
pizsd opened this issue Apr 19, 2024 · 0 comments
Open

hyperf:执行pgsql查询,worker进程退出 #5297

pizsd opened this issue Apr 19, 2024 · 0 comments

Comments

@pizsd
Copy link

pizsd commented Apr 19, 2024

Please answer these questions before submitting your issue.

  1. What did you do? If possible, provide a simple script for reproducing the error.

hyperf3.0 开启xdebug调试时,执行pgsql查询,worker进程退出

[2024-04-19 16:32:54 $71382.0] WARNING Server::check_worker_exit_status(): worker(pid=71528, id=4) abnormal exit, status=0, signal=10
[INFO] Worker#4 started.

  1. What did you expect to see?

正常debug

  1. What did you see instead?

[2024-04-19 16:32:54 $71382.0] WARNING Server::check_worker_exit_status(): worker(pid=71528, id=4) abnormal exit, status=0, signal=10
[INFO] Worker#4 started.

  1. What version of Swoole are you using (show your php --ri swoole)?

swoole

Swoole => enabled
Author => Swoole Team team@swoole.com
Version => 5.1.1
Built => Apr 19 2024 17:03:52
coroutine => enabled with boost asm context
kqueue => enabled
rwlock => enabled
http2 => enabled
json => enabled
pcre => enabled
zlib => 1.2.12
brotli => E16781312/D16781312
async_redis => enabled
coroutine_pgsql => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_fiber_mock => Off => Off
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 262144 => 262144

  1. What is your machine environment used (show your uname -a & php -v & gcc -v) ?

uname -a:
Darwin MacBook-Pro.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:17:35 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8112 arm64

php -v:
PHP 8.1.27 (cli) (built: Dec 19 2023 20:35:55) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.27, Copyright (c) Zend Technologies
with Xdebug v3.2.2, Copyright (c) 2002-2023, by Derick Rethans
with Zend OPcache v8.1.27, Copyright (c), by Zend Technologies
gcc -v:

Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant