I'm trying to use the apache mod_memcached_cache module with memcached
and running into performance problems.

I'm running httpd 2.2.11 worker mpm, apr 1.3.3, apr-util 1.3.4,
libevent 1.1a, apr_memcache-0.7.0, mod_memcached_cache 0.1.0, and
memcached 1.2.6.
All are compiled from source for x86_64, centos 5 except for libevent
which is a centos rpm.

Memcached is compiled with --enable-64bit --enable-threads, and run
with -t 10 -d -m 64 -c 1024.
mod_memcached_cache is configured as:
CacheEnable memcached /
MemcachedCacheServer localhost:11211
MemcachedMaxServers 10
MemcachedMinConnections 10
MemcachedSMaxConnections 100
MemcachedMaxConnections 100
MemcachedConnectionTTL 10
MemcachedCacheMinFileSize 1
MemcachedCacheMaxFileSize 1048576

using ab to test..
an 8K static file with 50 concurrent connections gives me 145 reqs/s
and i get frequent events in apache of:
[Tue Feb 10 17:16:21 2009] [error] (70015)Could not find specified
socket in poll list.: create_entity: unable to create: MYURL

The same file with apache's mod_mem_cache module gives me 2000 reqs/s.
with mod_disk_cache, 1500 reqs/s

Any help is appreciated,

-Tony

Reply via email to