Re: perl script to pre-cache popular urls from apache logs

2013-10-07 Thread Chris Kastorff
Those system() calls are vulnerable to injection attacks. Use system("wget \Q$url\E -O- > /dev/null") instead, and read perldoc -f quotemeta. Alternatively, use LWP::Simple::get(). On Sun, Oct 6, 2013 at 6:46 AM, admintim wrote: > Hi, > > Thanks for memcached. > > I wanted a quick script to ho

Re: Issue in consistent hash algoritham while allocating the nodes in consistent circle

2013-09-03 Thread Chris Kastorff
The common solution to this problem is to hash each node several times to get several different IDs, then add all of them to the ring. This avoids the large unevenness when using few servers. On Tue, Sep 3, 2013 at 6:23 AM, Geoffrey Hoffman wrote: > Try it as the integer modulo 1000 > > ( % 100

Looking for a speaker about memcached for a Bay Area Event

2013-07-17 Thread Chris Westin
ase let me know here, or (preferably) through meetup.com. Thanks, Chris Westin -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsu

Re: Issue 218 in memcached: Mac OS/X install fails

2011-10-14 Thread Chris
Thanks, 1.4.8 configures and compiles for me. On Aug 27, 5:04 am, Trond Norbye wrote: > I just pushed the following fix to the problem: > > diff --git a/configure.ac b/configure.ac

Re: Issue 218 in memcached: Mac OS/X install fails

2011-08-23 Thread Chris
I tried finding the file that had the content you patched but I don't have my system set up with all the things I needed to make that work, I was trying to keep it simple and not worry about how configure is made, I'm not well versed in that process. These were the steps I did for Lion (and I had

Re: Issue 218 in memcached: Mac OS/X install fails

2011-08-23 Thread Chris
Also having the same issue on Max OS X Lion: checking for library containing pthread_create... no configure: error: Can't enable threads without the POSIX thread library. 1.4.7 sh ./configure --with-libevent=../libevent --enable-threads - I removed the failure test from configure, and there

Re: Best way to manage set of memcached servers

2011-05-28 Thread Chris Ferry
I'd recommend using a membase cluster. -Chris On May 25, 2011, at 9:42 AM, Michael Kristensen wrote: > Hi all > > We are currently developing a setup, where a set of webservers uses a > set of memcached servers to store session data. > It is critical that they all agree

Typical message size for memcached

2011-05-02 Thread Chris
Hi, what is the typical/most efficient message size for memcached? Thanks.

Where do I find the invalid characters for a memcached key?

2011-02-08 Thread Chris
Where do I find the invalid characters for a memcached key?

Re: Memcache causing excessive network throughput[SOLVED]

2009-11-23 Thread Chris F
hings are back to normal. On Nov 23, 5:11 pm, Gabriel Sosa wrote: > Wow I never tought synfony could do such thing. Are you using the last > stable release? > > Regards > > On 11/23/09, Chris F wrote: > > > > > All, > > > We've narrowed the issue dow

Re: Memcache causing excessive network throughput[SOLVED]

2009-11-23 Thread Chris F
remove the dependency on _metadata. Thanks Chris On Nov 21, 4:43 pm, Chris F wrote: > I have a small memcached server pool of 3 instances(m1.small) and an > autoscaling cloud of linux instances(4-20 c1.xlarge AWS EC2) that > store sessions to them using the memcache PECL extension wrapped

Re: Does memcached supports replicated caching?

2009-09-30 Thread Chris Goffinet
I can't do anything about you guys privately contacting posters and promising them wonderful features in exchange for cash, but please keep it to that. Free cash? Where do I sign up?

Re: how to clear the cache

2009-06-22 Thread Chris Goffinet
*Sigh* Guys. Do some research first. flush_all is the command http://code.sixapart.com/svn/memcached/trunk/server/doc/protocol.txt --- Chris Goffinet goffi...@digg.com On Jun 22, 2009, at 10:17 AM, Аркадий Левин wrote: Only restart On Mon, Jun 22, 2009 at 10:46 PM, Peter Heiner

Re: Utility of memcached in 64-bit JVM enviroments

2009-04-30 Thread Chris Lamprecht
is faster than convincing others to let you try it :) -chris

Re: Utility of memcached in 64-bit JVM enviroments

2009-04-29 Thread Chris Lamprecht
, but memcached works in O(1) time today. Not to mention memcached's nice distributed cache possibilities. -chris On Thu, Apr 30, 2009 at 1:19 AM, Mohan Radhakrishnan < radhakrishnan.mo...@gmail.com> wrote: > > Hi, > I have a basic question. We are planning to buy expensive >

typical expiration times?

2009-04-16 Thread Chris Peterson
conds? * expiring within minutes? * expiring within hours? * expiring within days? thanks, chris

Re: For review: issue 28

2009-03-16 Thread Chris Goffinet
Dustin: I can create a patch for docs if your good with my -b patch. -- Chris Goffinet MyBlogLog Senior Performance Engineer Yahoo! San Francisco, CA United States On Mar 16, 2009, at 12:04 PM, Dustin wrote: Who says no to documentation? :) On Mar 16, 11:29 am, Trond Norbye wrote

Re: Memcached crashing under load

2009-03-15 Thread Chris Goffinet
.tcp_fin_timeout=10 On your system, what happens when you do the same? Do you see any improvement? -- Chris Goffinet MyBlogLog Senior Performance Engineer Yahoo! San Francisco, CA United States On Mar 15, 2009, at 6:39 PM, meppum wrote: Yes, i went for the simplest script that caused the error

Re: Memcached crashing under load

2009-03-15 Thread Chris Goffinet
may receive an error with an indication of ECONNREFUSED or, if the underlying protocol supports retransmission, the request may be ignored so that retries succeed. -- Chris Goffinet MyBlogLog Senior Performance Engineer Yahoo! San Francisco, CA United States On Mar 15, 2009, at 5:51 PM

Re: Determining server load

2009-02-26 Thread Chris Cameron
memache is set to 4096. Number of open system files under limits.conf is also 4096. So I would think we're still off of hitting that limit. There may be more "limits" in Linux I'm unaware of however. Do you suggest any other places to look? Chris On Thu, Feb 26, 2009

Determining server load

2009-02-26 Thread Chris Cameron
ng this time as well (blank pages, 503's), which I assume is from this memcache issue. Any help would be appreciated. Chris The exact PHP error is: [Thu Feb 26 12:57:31 2009] [error] [client xx.xx.xx.xx] PHP Warning: Memcache::pconnect() [function.Memcache-pconnect]: Can't connect to x

Anyone using memcached on FreeBSD 4 or 6?

2008-12-16 Thread Chris Goffinet
eeBSD. Tried with both compilers 2.95x and 3x. -- Chris Goffinet MyBlogLog Senior Performance Engineer Yahoo! San Francisco, CA United States

Re: rewritten binary branch

2008-11-17 Thread Chris Goffinet
Fantastic work. Thanks for doing this Dustin. -- Chris Goffinet MyBlogLog Senior Performance Engineer Yahoo! San Francisco, CA United States On Nov 17, 2008, at 1:04 AM, Dustin wrote: On Nov 17, 12:30 am, "Brad Fitzpatrick" <[EMAIL PROTECTED]> wrote: I still have t

Re: embed memcached project

2008-10-27 Thread Chris Brody
> i do not use any code from another memcache(d?)* project > > i just use memcached-1.2.6 So you _do_ use some code from memcached project then (?) Can you provide a patch, or a patching procedure in case someone wants to use embed-memcached with code from a different version of memcached? Or is

Re: embed memcached project

2008-10-27 Thread Chris Brody
On Mon, Oct 27, 2008 at 11:09 AM, shineyear <[EMAIL PROTECTED]> wrote: > > please visit http://code.google.com/p/ememcached/ to get it [...] Looks interesting (if I use it someday)! Two questions: Did you reuse any code from another memcache(d?)* project? What about a ememcachedb project that u

Re: MemCache Server clustering

2008-10-06 Thread Chris Goffinet
Even if you put the entry on all servers, you can never guarantee it will be there later because of LRU and items getting pushed out.. Its not persistent. -- Chris Goffinet MyBlogLog Senior Performance Engineer Yahoo! San Francisco, CA United States On Oct 6, 2008, at 9:57 PM, Jigna

Re: Initializing memcache from disk

2008-09-19 Thread Chris Goffinet
Squid/Varnish? -- Chris Goffinet MyBlogLog Senior Performance Engineer Yahoo! San Francisco, CA United States On Sep 19, 2008, at 12:52 PM, Chris wrote: Hi all- I have a very simple and particular use case- I'd like to use memcached to serve a whole bunch of static data for the li

Initializing memcache from disk

2008-09-19 Thread Chris
ppens often enough that such a feature might appear in the future." As this is my *only* use case, I'm writing to inquire if there is any movement on this front... If this isn't going to be supported, can any readers of this list recommend alternatives? Thanks! Chris

Re: Geographically distributed memcached clusters

2008-09-11 Thread Chris
Whenever a database write occurs, you then need to invalidate every cache. Or, as you mentioned, invalidate your local cache, the central cache, and then have some additional application to notify all the other local caches that something has changed. That's along the lines of what Gavin recomme

Re: Geographically distributed memcached clusters

2008-09-11 Thread Chris
sh this.  You could support the whole memcache grammar and have a > consumer that just repeats commands into distributed memcached clusters. > Regards, > > Gavin > > On Thu, Sep 11, 2008 at 3:27 PM, Chris <[EMAIL PROTECTED]> wrote: > > > I was wondering if anyone

Geographically distributed memcached clusters

2008-09-11 Thread Chris
I was wondering if anyone had any better solutions for cache consistency with geographically distributed memcached clusters. The problem: Having just one big memcached cluster is great if you only have one datacenter, but if you have datacenters in a couple different locations around the world, l

Re: save/restore memcache db?

2008-09-10 Thread Chris Goffinet
John Jawed from Yahoo has created a patch for this exact thing, that we run in our version. CC'ing John. John any word from legal? I would say just release the damn thing ;) -- Chris Goffinet MyBlogLog Senior Performance Engineer Yahoo! San Francisco, CA United States On Sep 10, 200