Running as a daemon/monitoring TTL
memcache at green.hartshorne.net
Fri Jun 1 16:20:36 UTC 2007
> >On Thu, May 31, 2007 at 10:37:07AM +0100, Harry McIntyre wrote:
> >> Hi there folks!
> >> We have just set up our first memcached server. As a test I created two
> >> instances using -d, one for each of our servers ethernet cards.
> >> Unfortunately we used the default size of 64MB. I would like to somehow
> >> uninstall these daemon processes and reinstall them using 8GB instances,
On Fri, Jun 01, 2007 at 10:58:15AM +0100, Harry McIntyre wrote:
> 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)
You definately want to upgrade to at least 1.1.13. There's a bug in
1.1.12 that prevents it from using more than 3GB (4GB?) of RAM, even if
you specify 8GB. We had to upgrade for specifically that reason.
However, if you're going to upgrade (which of course you are, otherwise
you're wasting 6GB of the RAM in your servers), you may as well go to
1.2.2 to get the evictions. :)
Anybody have any stability reports for 1.2.2? Paul recently suggested
that 1.2.3 might be out very soon with some 'loose ends' wrapped up.
Should we wait for 1.2.3 or go to 1.2.2 now? Or should we stay on
1.1.13 a little longer?
> On 5/31/07, Ben Hartshorne <memcache at green.hartshorne.net> wrote:
> >> every time I do a killall and reinstanciate them at a different size,
> >> do a reboot, the original size of 64 MB is restored. We are running an
> >> Ubuntu 7.04 server.
> >edit /etc/sysconfig/memcached (or wherever 'grep SYSCONFIG
> >/etc/init.d/memcached' tells you to find your configuration file; dunno
> >if it's different on ubuntu - I use CentOS) to specify CACHESIZE="8000"
> >for 8GB. (or should it be 8196?)
> >> Also, is there a good way to monitor what the current average insert
> >> of the files being dropped by the LRU algorithm is? I'm not quite sure
> >> to tell how hard a memcached server is being hit.
> >you have stats for number of sets, gets, cache_hits, and evictions,
> >which probably are what you're looking for.
> >Ben Hartshorne
> >email: ben at hartshorne.net
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.4.1 (GNU/Linux)
> >-----END PGP SIGNATURE-----
email: ben at hartshorne.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.danga.com/pipermail/memcached/attachments/20070601/9fb89e5c/attachment.pgp
More information about the memcached