-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Segfault in cluster mode (3.0.0) #951
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
Comments
Additional debug info
|
Some investigation and workaround Sometimes function zend_hash_has_more_elements(seeds) returns SUCCESS when no more elements are defined (or available). Unfortunately we have no resources and time to find the main reason. Small patch.
|
@vkirovskiy, could you try this code?
|
@yatsukhnenko sure! thanks for the answer. |
@vkirovskiy BTW |
@yatsukhnenko Hi. Good patch, segfaults didn't appear after stress testing. |
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone
We often receive segfaults like this
Sep 19 16:21:45 v-6-07-12-d5110-93 kernel: [10117415.046740] php-fpm7.0[33132]: segfault at 7fa76d53f498 ip 00007fa75abe1623 sp 00007ffd395eabd0 error 6 in redis.so[7fa75ab4e000+a3000]
Our enviroment:
ubuntu 14.04 LTS
php-fpm 7.0
php-redis 3.0.0 (compiled from pecl stable release)
Tried it on redis server 3.0.3, 3.2.0, 3.2.3
Redis is build in cluster mode, we have 2 setups, prod and stage.
Prod has 6 servers (3 masters and 3 slaves).
Stage has 6 redis instances on single server.
Segfaults appear on both of setups.
Backtrace
I guess it's a block of code where error is appeared (line 862)
Help please to determine the reason and resolve this issue.
Thanks!
Vladimir.
The text was updated successfully, but these errors were encountered: