Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSegfault in cluster mode (3.0.0) #951
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. |
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.