<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2883" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=102132012-01062007><FONT face=Arial
color=#0000ff size=2>Evictions were added in 1.2.2...</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De :</B> memcached-bounces@lists.danga.com
[mailto:memcached-bounces@lists.danga.com] <B>De la part de</B> Harry
McIntyre<BR><B>Envoyé :</B> vendredi 1 juin 2007 11:58<BR><B>À :</B>
Ben Hartshorne; Harry McIntyre; memcached@lists.danga.com<BR><B>Objet :</B>
Re: Running as a daemon/monitoring TTL<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Do you know which version the eviction stats were added? We are running
1.1.12 (which came on the Ubuntu server CD I think)</DIV>
<DIV>cheers</DIV>
<DIV>Harry<BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 5/31/07, <B class=gmail_sendername>Ben
Hartshorne</B> <<A
href="mailto:memcache@green.hartshorne.net">memcache@green.hartshorne.net</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On
Thu, May 31, 2007 at 10:37:07AM +0100, Harry McIntyre wrote:<BR>> Hi there
folks!<BR>><BR>> We have just set up our first memcached server. As a
test I created two <BR>> instances using -d, one for each of our servers
ethernet cards.<BR>> Unfortunately we used the default size of 64MB. I
would like to somehow<BR>> uninstall these daemon processes and reinstall
them using 8GB instances, but <BR>> every time I do a killall and
reinstanciate them at a different size, then<BR>> do a reboot, the original
size of 64 MB is restored. We are running an<BR>> Ubuntu 7.04
server.<BR><BR>edit /etc/sysconfig/memcached (or wherever 'grep SYSCONFIG
<BR>/etc/init.d/memcached' tells you to find your configuration file;
dunno<BR>if it's different on ubuntu - I use CentOS) to specify
CACHESIZE="8000"<BR>for 8GB. (or should it be 8196?)<BR><BR>>
Also, is there a good way to monitor what the current average
insert time <BR>> of the files being dropped by the LRU algorithm is? I'm
not quite sure how<BR>> to tell how hard a memcached server is being
hit.<BR><BR>you have stats for number of sets, gets, cache_hits, and
evictions,<BR>which probably are what you're looking
for.<BR><BR>-ben<BR><BR>--<BR>Ben Hartshorne<BR>email: <A
href="mailto:ben@hartshorne.net">ben@hartshorne.net</A><BR><A
href="http://ben.hartshorne.net">http://ben.hartshorne.net
</A><BR><BR>-----BEGIN PGP SIGNATURE-----<BR>Version: GnuPG v1.4.1
(GNU/Linux)<BR><BR>iD8DBQFGXwjDKeT3tvTdv64RAprtAJ0TkztEC0MuIN0ChZFsSFxuBaiBSgCfajgL<BR>nn6dbpkKh4b91zpwXjAMg9k=<BR>=8uYH<BR>-----END
PGP SIGNATURE-----<BR><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>