Skip to content
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

希望 Swoole 支持协程环境阻塞检查 #49

Open
stelin opened this issue Apr 15, 2019 · 4 comments
Open

希望 Swoole 支持协程环境阻塞检查 #49

stelin opened this issue Apr 15, 2019 · 4 comments

Comments

@stelin
Copy link

stelin commented Apr 15, 2019

场景:在协程环境使用,阻塞IO操作,提示不支持,这样小白用户都清楚,哪些函数不能使用,降低了小白用户门槛。否则,一个小白用户使用了阻塞IO操作,会阻塞worker进程,不能提前发现问题。

@fdreamsu
Copy link

你是说这个功能吗:Runtime::enableStrictMode()

@twose
Copy link
Member

twose commented Apr 15, 2019

这个不完整, 只是禁止了一些常见的阻塞函数

@kcloze
Copy link

kcloze commented Aug 15, 2019

如果已经出现堵塞,怎么更直观的发现呢?

@huangzhhui
Copy link

使用 Swoole Tracker ( Swoole Enterprise ) 可实现阻塞检测

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

No branches or pull requests

5 participants