Welcome! Log In Create A New Profile

Advanced

bytes_written growing fast but not cmd_set

Posted by Antoine 
Antoine
bytes_written growing fast but not cmd_set
September 29, 2010 07:20PM
Hi,

I have a memcached server in a production environment that is showing
a strange behavior :
bytes_written grows fast (~1.2Mo per second), but the number of
cmd_set does not change!

How is that possible?

Thanks in advance.

For the record, here's the result of a stats command:

STAT pid 30316
STAT uptime 96393
STAT time 1285764001
STAT version 1.4.5
STAT pointer_size 64
STAT rusage_user 336.016999
STAT rusage_system 1231.088938
STAT curr_connections 12
STAT total_connections 1832275
STAT connection_structures 70
STAT cmd_get 226068590
STAT cmd_set 8288
STAT cmd_flush 0
STAT get_hits 226055567
STAT get_misses 13023
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 10403911627
STAT bytes_written 130646802934
STAT limit_maxbytes 104857600
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT bytes 1319409
STAT curr_items 2500
STAT total_items 8288
STAT evictions 0
STAT reclaimed 2494
Trond Norbye
Re: bytes_written growing fast but not cmd_set
September 29, 2010 08:00PM
On 29. sep. 2010, at 19.10, Antoine wrote:

> Hi,
>
> I have a memcached server in a production environment that is showing
> a strange behavior :
> bytes_written grows fast (~1.2Mo per second), but the number of
> cmd_set does not change!
>
> How is that possible?
>

A lot get commands?

Cheers,

Trond
>
> STAT cmd_get 226068590
> STAT cmd_set 8288
> STAT cmd_flush 0
> STAT get_hits 226055567
> STAT get_misses 13023
dormando
Re: bytes_written growing fast but not cmd_set
September 29, 2010 08:10PM
>
> I have a memcached server in a production environment that is showing
> a strange behavior :
> bytes_written grows fast (~1.2Mo per second), but the number of
> cmd_set does not change!
>
> How is that possible?

The bytes_* values refer to bytes written/read to the network. fetches/etc
will tick the counters.
Sorry, only registered users may post in this forum.

Click here to login