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
]
^]

telnet> quit
Connection closed.
============================

The strace output shows that it is running

=====
root@spica:/sample-app/# ps -eaf | grep mem
1003     17289     1  0 14:49 ?        00:00:00 /usr/local/memcached/
bin/memcached -d -l 127.0.0.1 -p 11211 -u myserver
root     17317 29816  0 14:51 pts/1    00:00:00 grep --color=auto mem
root@spica:/sample-app# strace -p 17289
Process 17289 attached - interrupt to quit
clock_gettime(CLOCK_MONOTONIC, {100924, 469837720}) = 0
gettimeofday({1335365516, 645872}, NULL) = 0
epoll_wait(3, {}, 32, 130)              = 0
clock_gettime(CLOCK_MONOTONIC, {100924, 600565355}) = 0
gettimeofday({1335365516, 776498}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {100924, 600798581}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {100925, 602196472}) = 0
gettimeofday({1335365517, 778115}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {100925, 602418650}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {100926, 603838881}) = 0
gettimeofday({1335365518, 779837}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {100926, 604232123}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {100927, 605720227}) = 0
gettimeofday({1335365519, 781684}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {100927, 606013867}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {100928, 607465458}) = 0
gettimeofday({1335365520, 783409}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {100928, 607718097}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {100929, 609098816}) = 0
gettimeofday({1335365521, 785043}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {100929, 609365664}) = 0
epoll_wait(3, {}, 32, 1000)             = 0
clock_gettime(CLOCK_MONOTONIC, {100930, 610825545}) = 0
gettimeofday({1335365522, 786793}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {100930, 611180293}) = 0
epoll_wait(3, ^C <unfinished ...>
Process 17289 detached
=======================


Has anyone experienced this issue? I don't think that I have done
anything wrong. Because it works on my dedicated server already.
However, when I installed it on a Xen Linux VM provided by Linode, it
did not work any more. Is there any special thing that I need to know
about Xen-based virtual machine, kernel or Linode VM?

Here is some information about our Linode system in which memcached
does not work

root@spica:/home/dev7# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 11.10
Release:        11.10
Codename:       oneiric

root@spica:/home/dev7# free -m
             total       used       free     shared    buffers
cached
Mem:           488        424         63          0         68
249
-/+ buffers/cache:        107        381
Swap:          511          1        510

Here is some information about my dedicated server (Memcached works
here)

pcdinh@myserver:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 11.10
Release:        11.10
Codename:       oneiric

pcdinh@myserver:~$ free -m
             total       used       free     shared    buffers
cached
Mem:          2502       2408         93          0        350
1466
-/+ buffers/cache:        591       1910
Swap:         2955          0       2955

Thanks

Dinh

Reply via email to