RES: RES: Strange behavior with threads
dormando
dormando at rydia.net
Wed Mar 26 17:42:14 UTC 2008
Just so the wider list gets the resolution to this :)
Rodrigo.Merlo wrote:
> Dormando,
>
> This is the return of command:
>
> telnet localhost 11211
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> stats
> STAT pid 4633
> STAT uptime 6
> STAT time 1206553015
> STAT version 1.2.5
> STAT pointer_size 32
> STAT rusage_user 0.000000
> STAT rusage_system 0.005999
> STAT curr_items 0
> STAT total_items 0
> STAT bytes 0
> STAT curr_connections 21
> STAT total_connections 22
> STAT connection_structures 22
> STAT cmd_get 0
> STAT cmd_set 0
> STAT get_hits 0
> STAT get_misses 0
> STAT evictions 0
> STAT bytes_read 7
> STAT bytes_written 0
> STAT limit_maxbytes 536870912
> STAT threads 20
> END
>
> Many Thanks, sorry for basic issue, I will report an error in libmemcached
>
> :D
>
> --------------------------------------
> Rodrigo Colao Merlo
> Tecnologia - Terra Brasil
> +55(51)3284-4272
> --------------------------------------
> Terra. Qual é a sua?
> Antes de imprimir, pense no meio ambiente.
>
>
> -----Mensagem original-----
> De: dormando [mailto:dormando at rydia.net]
> Enviada em: quarta-feira, 26 de março de 2008 14:35
> Para: Rodrigo.Merlo
> Assunto: Re: RES: Strange behavior with threads
>
> Thanks :)
>
> I can't reproduce the issue locally. Can you connect directly to the
> port via telnet and run 'stats' to ensure it's not a bug with memstat?
>
> Rodrigo.Merlo wrote:
>> Sorry Dormando,
>>
>> Here the info ...
>>
>> Memcached version 1.2.5 running on CentOS 4
>> libevent 1.3b
>> libmemcached 0.17 as client
>>
>> Thanks
>>
>> --------------------------------------
>> Rodrigo Colao Merlo
>> Tecnologia - Terra Brasil
>> +55(51)3284-4272
>> --------------------------------------
>> Terra. Qual é a sua?
>> Antes de imprimir, pense no meio ambiente.
>>
>>
>> -----Mensagem original-----
>> De: dormando [mailto:dormando at rydia.net]
>> Enviada em: quarta-feira, 26 de março de 2008 14:21
>> Para: Rodrigo.Merlo
>> Assunto: Re: Strange behavior with threads
>>
>> What version of memcached? What OS/etc?
>>
>> Rodrigo.Merlo wrote:
>>> Hello,
>>>
>>>
>>>
>>> I'm newbie with memcached and developing a new application using memcached.
>>>
>>>
>>>
>>> When I performing an stress test of my application I notice that
>>> memcached Server apparently not using threads even when I use -t
>>> parameter in command line.
>>>
>>>
>>>
>>> I compile with thread support adding -enable-threads in configure and it
>>> is linked with pthread, however when I use memstat command from
>>> libmemcached it returns:
>>>
>>>
>>>
>>> Server: localhost (11211)
>>>
>>> pid: 26471
>>>
>>> uptime: 7733
>>>
>>> time: 1206548737
>>>
>>> version: 1.2.5
>>>
>>> pointer_size: 32
>>>
>>> rusage_user: 0.999
>>>
>>> rusage_system: 0.10998
>>>
>>> curr_items: 6
>>>
>>> total_items: 6
>>>
>>> bytes: 1069
>>>
>>> curr_connections: 13
>>>
>>> total_connections: 15
>>>
>>> connection_structures: 14
>>>
>>> cmd_get: 21
>>>
>>> cmd_set: 13
>>>
>>> get_hits: 5
>>>
>>> get_misses: 16
>>>
>>> evictions: 0
>>>
>>> bytes_read: 1069
>>>
>>> bytes_written: 1069
>>>
>>> limit_maxbytes: 536870912
>>>
>>> threads: 0
>>>
>>>
>>>
>>> Notice last info, is this correct? I tried that during heavy use and
>>> shows the same.
>>>
>>>
>>>
>>> Command line started: memcached -d -p 11211 -u nobody -m 512 -c 1024 -P
>>> /var/run/memcached/memcached.pid -t 4
>>>
>>>
>>>
>>> Any help?
>>>
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>> --------------------------------------
>>>
>>> Rodrigo Colao Merlo
>>>
>>> Tecnologia - Terra Brasil
>>>
>>> +55(51)3284-4272
>>>
>>> --------------------------------------
>>>
>>> Terra. Qual é a sua?
>>>
>>> Antes de imprimir, pense no meio ambiente.
>>>
>>>
>>>
>
More information about the memcached
mailing list