We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was excited to try this to debug a long-lived script I am running with swoole.
However, about 50%+ of the time I run meminfo_dump() it segfaults.
meminfo_dump()
Anything I can do to help you debug this?
I'm not sure how to capture the crash log...
The text was updated successfully, but these errors were encountered:
I tried a swoole mutex and that prevents the segfault but the dump is corrupted json about 50% of the time...
57 $lock = new \Swoole\Lock(SWOOLE_MUTEX); 58 $lock->lock(); 59 meminfo_dump(fopen("/tmp/book-memory-{$i}.json", 'w')); 60 \Swoole\Coroutine\System::sleep(10); 61 $lock->unlock(); 62 unset($lock);
Sorry, something went wrong.
No branches or pull requests
I was excited to try this to debug a long-lived script I am running with swoole.
However, about 50%+ of the time I run
meminfo_dump()
it segfaults.Anything I can do to help you debug this?
I'm not sure how to capture the crash log...
The text was updated successfully, but these errors were encountered: