memcached error on process startup
Opened this issue · 0 comments
meezaan commented
I'm running a PHP in container built on unit:php8.2
. Here is the Dockerfile I'm using: https://github.com/islamic-network/php/blob/master/8/8.2/Dockerfile.nunit.
Every few seconds I'm seeing the following in my logs:
./src/libmemcached/hosts.cc:268 Assertion "memcached_server_count(ptr) * MEMCACHED_POINTS_PER_SERVER <= MEMCACHED_CONTINUUM_SIZE" failed for function "update_continuum" likely for "invalid size information bein │
│ ?0 0x7f28a903e9f6 in /lib/x86_64-linux-gnu/libmemcached.so.11(+0xb9f6) [0x7f28a903e9f6] │
│ ?1 0x7f28a9046264 in /lib/x86_64-linux-gnu/libmemcached.so.11(+0x13264) [0x7f28a9046264] │
│ #2 0x7f28a906e8da in zim_Memcached_addServers at /usr/local/lib/php/extensions/no-debug-non-zts-20220829/memcached.so │
│ #3 0x7f28ad296fa2 in execute_ex at /usr/local/lib/libphp.so │
│ #4 0x7f28ad2197ed in zend_call_function at /usr/local/lib/libphp.so │
│ ?5 0x7f28ad130b9f in /usr/local/lib/libphp.so(+0x384b9f) [0x7f28ad130b9f] │
│ #6 0x7f28ad2952cf in execute_ex at /usr/local/lib/libphp.so │
│ #7 0x7f28ad298213 in zend_execute at /usr/local/lib/libphp.so │
│ #8 0x7f28ad2281a8 in zend_execute_scripts at /usr/local/lib/libphp.so │
│ #9 0x7f28ad1c27ae in php_execute_script at /usr/local/lib/libphp.so │
│ ?10 0x7f28adcfeb73 in /usr/lib/unit/modules/php.unit.so(+0xcb73) [0x7f28adcfeb73] │
│ ?11 0x7f28adcff501 in /usr/lib/unit/modules/php.unit.so(+0xd501) [0x7f28adcff501] │
│ ?12 0x7f28adcfd5a2 in /usr/lib/unit/modules/php.unit.so(+0xb5a2) [0x7f28adcfd5a2] │
│ ?13 0x7f28adcfddda in /usr/lib/unit/modules/php.unit.so(+0xbdda) [0x7f28adcfddda] │
│ ?14 0x7f28adcfe0a8 in /usr/lib/unit/modules/php.unit.so(+0xc0a8) [0x7f28adcfe0a8] │
│ ?15 0x7f28adcffd54 in /usr/lib/unit/modules/php.unit.so(+0xdd54) [0x7f28adcffd54] │
│ ?16 0x55ab7749c34f in unit: "xxxxxxxxxx" application(+0x2634f) [0x55ab7749c34f] │
│ ?17 0x55ab7749d617 in unit: "xxxxxxxxxx" application(+0x27617) [0x55ab7749d617] │
│ ?18 0x55ab774a140c in unit: "xxxxxxxxxx" application(+0x2b40c) [0x55ab774a140c] │
│ ?19 0x55ab7749dcfc in unit: "xxxxxxxxxx" application(+0x27cfc) [0x55ab7749dcfc] │
│ ?20 0x55ab7749e349 in unit: "xxxxxxxxxx" application(+0x28349) [0x55ab7749e349] │
│ #21 0x55ab774a8792 in nxt_event_engine_start at unit: "xxxxxxxxxx" application │
│ ?22 0x55ab7749abad in unit: "xxxxxxxxxx" application(+0x24bad) [0x55ab7749abad] │
│ ?23 0x7f28add3324a in /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7f28add3324a] │
│ #24 0x7f28add33305 in __libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 │
│ #25 0x55ab7749abf1 in _start at unit: "xxxxxxxxxx" application
Unit limits are set, so each process is killed and a new one comes up after serving 10,000 requests. I suspect this is happening each time 10,000 requests are served because I'm serving between 200 and 400 a second which is why I'm seeing it so often.
There's no connectivity problem between the PHP and memcached containers.
Still investigating, but just thought I'd report this here.