emmerichLuang / memagent

Automatically exported from code.google.com/p/memagent
3 stars 4 forks source link

event_queue_remove error in magent #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. /usr/sbin/magent -p 11211 -s 127.0.0.1:11212 -b 10.149.207.16:11211 -n
30000 -k -D
2. Wait a few seconds
3. see the tool crash with [err] event_queue_remove: 0x128276b8(fd 177) not
on queue 8

What is the expected output? What do you see instead?
[root@memcached-06 ~]# /usr/sbin/magent -p 11211 -s 127.0.0.1:11212 -b
10.149.207.16:11211 -n 30000 -k -D
using ketama algorithm
[err] event_queue_remove: 0x128276b8(fd 177) not on queue 8
[root@memcached-06 ~]# 

What version of the product are you using? On what operating system?
Centos 5.2
libevent-1.1a-3.2.1

Please provide any additional information below.

Original issue reported on code.google.com by andreas....@gmail.com on 21 May 2010 at 12:16

GoogleCodeExporter commented 9 years ago
try to upgrade libevent to 1.4.14b and recompile memagent again

Original comment by shellc...@gmail.com on 6 Jul 2010 at 9:15

GoogleCodeExporter commented 9 years ago
No luck.

[root@memcached-06 ~]# /usr/sbin/magent -p 11211 -s 127.0.0.1:11212 -b 
10.149.207.16:11211 -n 30000 -k -D
using ketama algorithm
[err] event_queue_remove: 0x159def88(fd 107) not on queue 8
[root@memcached-06 ~]# 

memcached is still failing.

This time it is linked against libevent-1.4.14b
[root@memcached-06 ~]#  ldd /usr/sbin/magent
    libevent-1.4.so.2 => /usr/lib64/libevent-1.4.so.2 (0x00002b0a4cff9000)
    libm.so.6 => /lib64/libm.so.6 (0x000000382e200000)
    libc.so.6 => /lib64/libc.so.6 (0x000000382d200000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x000000382f200000)
    librt.so.1 => /lib64/librt.so.1 (0x000000382ee00000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x000000382f600000)
    /lib64/ld-linux-x86-64.so.2 (0x000000382ce00000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x000000382e600000)
[root@memcached-06 ~]#

Original comment by andreas....@gmail.com on 2 Aug 2010 at 1:00