Question to Cache::Memcached

Joachim Bauernberger joachim.bauernberger@friendscout24.de
Mon, 7 Jun 2004 18:56:52 +0200


Hi Philip,

On Monday 07 June 2004 16:26, Garrett, Philip (MAN-Corporate) wrote:
> Joachim,
>
> You probably need to upgrade Cache::Memcached.  The latest version (1.13)
> fixes a network error-checking problem.

Havn't tried 1.13 yet, but don't think that this particular fix is it.=20
Both backends are available during startup of Cache::Memcached.
However the one address:port that is specified first is used while the=20
address:port that comes second not.

thanks,
~/joachim

>
> Philip
>
> -----Original Message-----
> From: memcached-admin@lists.danga.com
> [mailto:memcached-admin@lists.danga.com]On Behalf Of Joachim
> Bauernberger
> Sent: Monday, June 07, 2004 7:57 AM
> To: memcached@lists.danga.com
> Subject: Question to Cache::Memcached
>
>
> Hi,
>
> not sure if this has been answered before, ..
>
> I have just hooked up another box running memcached. The Frontendclient
> that
>
> runs Cache::Memcached knows about both backend memcached instances but
> somehow only the first ip:port specified is used to store data.
> The second box returns:
>
> [misc][jmbdev]$ ./memcachestat.pl 10.0.33.122:11211
> STAT pid 16686
> STAT uptime 248863
> STAT time 1086608492
> STAT version 1.1.11
> STAT rusage_user 0:730000
> STAT rusage_system 1:300000
> STAT curr_items 0
> STAT total_items 0
> STAT bytes 0
> STAT curr_connections 81
> STAT total_connections 82
> STAT connection_structures 82
> STAT cmd_get 0
> STAT cmd_set 0
> STAT get_hits 0
> STAT get_misses 0
> STAT bytes_read 31912
> STAT bytes_written 1941274
> STAT limit_maxbytes 536870912
>
> Box #1:
>
> [misc][jmbdev]$ ./memcachestat.pl 10.0.33.121:11211
> STAT pid 18335
> STAT uptime 938793
> STAT time 1086608506
> STAT version 1.1.11
> STAT rusage_user 455:320000
> STAT rusage_system 1762:30000
> STAT curr_items 189580
> STAT total_items 216524
> STAT bytes 436967944
> STAT curr_connections 81
> STAT total_connections 306
> STAT connection_structures 101
> STAT cmd_get 1546868
> STAT cmd_set 520589
> STAT get_hits 933453
> STAT get_misses 613415
> STAT bytes_read 3443242023
> STAT bytes_written 2403618753
> STAT limit_maxbytes 1073741824
>
> Does this have something to do with the "weight" parameter to new()?
>
>
> Thanks,
> ~/joachim

=2D-=20
Phone: +49 (0) 89 490 267 726
=46ax: +49 (0) 89 490 267 701
Mobile: +49 (0) 179 674 3611
mailto: joachim.bauernberger@friendscout24.de =A0 =A0 =A0 =A0=20
Web: http://www.friendscout24.de