I opened 2 sessions to my server

Session 1: Run /usr/local/memcached/bin/memcached -vvv -u myserver
-------------------------
Output
slab class   1: chunk size        96 perslab   10922
slab class   2: chunk size       120 perslab    8738
slab class   3: chunk size       152 perslab    6898
slab class   4: chunk size       192 perslab    5461
slab class   5: chunk size       240 perslab    4369
slab class   6: chunk size       304 perslab    3449
slab class   7: chunk size       384 perslab    2730
slab class   8: chunk size       480 perslab    2184
slab class   9: chunk size       600 perslab    1747
slab class  10: chunk size       752 perslab    1394
slab class  11: chunk size       944 perslab    1110
slab class  12: chunk size      1184 perslab     885
slab class  13: chunk size      1480 perslab     708
slab class  14: chunk size      1856 perslab     564
slab class  15: chunk size      2320 perslab     451
slab class  16: chunk size      2904 perslab     361
slab class  17: chunk size      3632 perslab     288
slab class  18: chunk size      4544 perslab     230
slab class  19: chunk size      5680 perslab     184
slab class  20: chunk size      7104 perslab     147
slab class  21: chunk size      8880 perslab     118
slab class  22: chunk size     11104 perslab      94
slab class  23: chunk size     13880 perslab      75
slab class  24: chunk size     17352 perslab      60
slab class  25: chunk size     21696 perslab      48
slab class  26: chunk size     27120 perslab      38
slab class  27: chunk size     33904 perslab      30
slab class  28: chunk size     42384 perslab      24
slab class  29: chunk size     52984 perslab      19
slab class  30: chunk size     66232 perslab      15
slab class  31: chunk size     82792 perslab      12
slab class  32: chunk size    103496 perslab      10
slab class  33: chunk size    129376 perslab       8
slab class  34: chunk size    161720 perslab       6
slab class  35: chunk size    202152 perslab       5
slab class  36: chunk size    252696 perslab       4
slab class  37: chunk size    315872 perslab       3
slab class  38: chunk size    394840 perslab       2
slab class  39: chunk size    493552 perslab       2
slab class  40: chunk size    616944 perslab       1
slab class  41: chunk size    771184 perslab       1
slab class  42: chunk size   1048576 perslab       1
<31 server listening (auto-negotiate)
<32 server listening (auto-negotiate)
<33 send buffer was 124928, now 268435456
<34 send buffer was 124928, now 268435456

Session 2:
--------------
dev7@spica:~$ telnet 127.0.0.1 11211
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
fsdfdsfds
fdsfdsfds
fdfdsfsdf

f
dsf
ds
f
fs
f
dsf
sd
fds
fds
f
s

Session 3: strace -p memcached_pid

clock_gettime(CLOCK_MONOTONIC, {105925, 460426142}) = 0
gettimeofday({1335370517, 636443}, NULL) = 0
epoll_wait(3, {}, 32, 537)              = 0
clock_gettime(CLOCK_MONOTONIC, {105925, 998641545}) = 0
gettimeofday({1335370518, 174596}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105925, 998895895}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105927, 251917}) = 0
gettimeofday({1335370519, 176206}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105927, 499550}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105928, 1943208}) = 0
gettimeofday({1335370520, 177945}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105928, 2278803}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105929, 3709779}) = 0
gettimeofday({1335370521, 179673}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105929, 4005216}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105930, 5399938}) = 0
gettimeofday({1335370522, 181350}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105930, 5632599}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105931, 7038219}) = 0
gettimeofday({1335370523, 182964}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105931, 7254934}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105932, 8600745}) = 0
gettimeofday({1335370524, 184554}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105932, 8908526}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105933, 10356157}) = 0
gettimeofday({1335370525, 186348}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105933, 10704713}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105934, 12115783}) = 0
gettimeofday({1335370526, 188119}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105934, 12476187}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105935, 13841312}) = 0
gettimeofday({1335370527, 189773}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105935, 14056033}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105936, 15457096}) = 0
gettimeofday({1335370528, 191524}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105936, 15887082}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105937, 17313997}) = 0
gettimeofday({1335370529, 193265}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105937, 17582070}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105938, 18948032}) = 0
gettimeofday({1335370530, 194974}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105938, 19346058}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105939, 20829622}) = 0
gettimeofday({1335370531, 196770}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105939, 21095596}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105940, 22665522}) = 0
gettimeofday({1335370532, 198725}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105940, 23069826}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {105941, 24481049}) = 0
gettimeofday({1335370533, 200403}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {105941, 24692567}) = 0

===> I can not see any request or request handling operations logged
in the session 1 screen or session 3
It seems that Memcached does not know about any request I sent to it.

Any idea?


On Apr 25, 11:05 pm, dormando <[email protected]> wrote:
> > Hi all,
>
> > I compiled and installed Memcached 1.4.3 from source:
> >http://memcached.googlecode.com/files/memcached-1.4.13.tar.gz
>
> > The configuration is quite simple: ./configure --prefix=/usr/local/
> > memcached
>
> > It works if I install it on a dedicated Ubuntu 11 server. However, it
> > does not work on Linode's Ubuntu 11 VM (Xen-based)
>
> > The source code can be compilable, installable. The server can run but
> > it is not responsive.
>
> > === Telnet access ======
> > root@spica:/home/dev7# telnet 127.0.0.1 11211
> > Trying 127.0.0.1...
> > Connected to 127.0.0.1.
> > Escape character is '^]'.
> > get
> > fdsgfdsf
> > f
> > sdfds
> > f
> > dsadfs
> > ]
> > ^]
>
> If running memcached in the foreground with -vvv, does telnetting and
> running commands have any output? does strace show the server receiving
> those lines as you type them?

Reply via email to