Re: 1.4.19 bug?

2017-10-30 Thread Matt Ingenthron
Note that it could also be that your webapp's threads were all just stuck waiting to time out on one node. Depending on the client you're using, how your app is written, it may appear that everything is 'offline', but it's really just that your app is spending a large amount of time waiting for on

Re: Python Memcached

2017-08-28 Thread Matt Ingenthron
Curious, what kind of protocol problems? There were a couple Trond and I were looking at with enabling out-of-order responses and some unsolicited responses. On Fri, Aug 25, 2017 at 2:53 PM dormando wrote: > I have some thoughts but need to finish a few other things first. > > I kind of want so

Re: Can memcached be used for true clustering...still unclear...

2015-10-29 Thread Matt Ingenthron
It's off topic for this list, but that's in effect what Couchbase does along with persistence. - Matt (full disclosure, I work for Couchbase) On Mon, Oct 26, 2015 at 6:35 AM, Jonas Steinberg wrote: > I've been reading the web for an hour now and I'm still unclear as to > whether memcached can

Re: memcached fails unexpectedly

2013-08-11 Thread Matt Ingenthron
Best to start with a pstack to see what state it is in. Use gdb to print a stacktrace for all threads if your OS has no pstack command. The other thing you may do is strace -c -f of the pid. This will let you know what its trying to ask the OS for. Finally, maybe try reducing the threads to 1 t

Re: Is memcached unable to handle large number of connections?

2013-07-26 Thread Matt Ingenthron
It is in response to a relatively rare, good problem to have. Imagine you have so many processes each with a connection on so many servers that its in the 10s of thousands. Then a proxy/mux makes sense over persistent connections. Matt On Jul 26, 2013 6:01 AM, "Ryan Chan" wrote: > Actually hav

Re: Clustering PHP sessions causes Apache segmentation fault

2013-06-08 Thread Matt Ingenthron
I think you'll need to check with the pecl-memcache folks. They will probably be able to help best if you extract a stack trace. On Jun 3, 2013 1:16 AM, "Alvaro Ortiz de Urbina" wrote: > Hi, my first time here, I have a big trouble. > > I've been strugglinh with this some time. > I've got 2 ser

Re: where to find memcached for windows ?

2013-04-29 Thread Matt Ingenthron
Which version of Windows is this on? The couchbase binary uses a mingw toolchain on Windows 2003 I do believe. It should be portable, but maybe there is a difference. Matt p.s.: I'm a couchbase guy and it's not that buggy to my knowledge. If you have specifics, please let me know and let's get

Re: Memcached cluster

2013-03-14 Thread Matt Ingenthron
It's really a discussion for another mailing list, but if you could elaborate to me directly or to couchb...@googlegroups.com, I'd be interested in why you say Couchbase is much slower. I've not seen it that way. Full disclosure, I'm a couchbase person. I also do a lot of work on the spymemcache

Re: Warning from spymemcached

2012-08-04 Thread Matt Ingenthron
You're likely overrunning the input queue. If you configure it for a bit of blocking, it'll work better for you. It's similar to the bulk loading description here: http://www.couchbase.com/wiki/display/couchbase/Couchbase+Java+Client+Library The tuning here is spymemcahed, just extended.

Re: security for memcached on shared hosting

2012-08-04 Thread Matt Ingenthron
Why not run multiple instances? There is the also the open source bucket engine (written for membase/Couchbase) but it requires SASL with and 1.6. Could work, depending on your environment. Bucket engine is used at and was written for Heroku's memcached add on by Couchbase.

Re: Asynchronous notifications

2012-08-04 Thread Matt Ingenthron
Adding TAP with a filter on key and TAP operation type would be cool indeed.

Re: Inserts to memcache very slow

2012-07-30 Thread Matt Ingenthron
Which client are you using? Any info in that area you can share? Also, is there possibly a different amount of network traffic each time? Actually, one cause could be setting memcached up with more memory than available on your system. How much physical memory have you? On Jul 30, 2012 6:22 PM,

Re: how do I not store the keys?

2011-10-24 Thread Matt Ingenthron
On 10/24/11 4:33 PM, dormando wrote: >> Nobody fucking does that. Get over it, yo. People read the minimum amount >> of crap they have to read until it works. Everyone else doesn't have a >> hard time finding work. >> >> Also; because when you don't, people switch to to other systems because >> the

Re: how do I not store the keys?

2011-10-24 Thread Matt Ingenthron
On 10/24/11 3:48 PM, dormando wrote: >> There's nothing like that currently. Last discussion I remember is that >> we decided against allowing binary keys at the client because we don't >> know what other clients may expect when trying to get that item. >> >> We can certainly reconsider that, but

Re: how do I not store the keys?

2011-10-24 Thread Matt Ingenthron
On 10/24/11 12:46 PM, dormando wrote: >> > I'm using the last spymemcached release 2.7.3. >> > This is caused by validateKey method in MemcachedClient: >> > >> > for(byte b : keyBytes) { >> > if(b == ' ' || b == '\n' || b == '\r' || b == 0) { >> > throw new IllegalArgumentException("

release of spymemcached 2.7.3

2011-10-14 Thread Matt Ingenthron
r another server in the list provided if one server appears to be down. Thanks, Matt On 10/14/11 1:20 AM, Matt Ingenthron wrote: > Hi all, > > I'm pleased to announce the release of spymemcached 2.7.2. All are > recommended to upgrade. > > The master branch is und

release of spymemcached 2.7.2

2011-10-14 Thread Matt Ingenthron
ers in TCPMemcachedNodeImpl Martin Grotzke (1): Add compatibility with netty 3.2.0+. Matt Ingenthron (2): No need for old debugging string in test. Revert "SPY-37 & SPY-38: Fixed redistribution performance issue" Mike Wiederhold (21): Operations can't tim

release of spymemcached 2.7.1 - Java client for memcached (and Membase)

2011-08-23 Thread Matt Ingenthron
run against Membase. Made EINTERNAL and ERR2BIG errors throw an exception Added the ability to specify the ip address of the testing server Fixed issue with flags not being added properly to tap messages Added README.markdown. Added ability to do tap dump Tap stre

Re: Memcached running very slow

2011-08-17 Thread Matt Ingenthron
On 8/17/11 8:44 AM, Neeraj Agarwal wrote: > I installed memcached on Ubuntu box. Installed MongoDB too on the same > machine to compare the performance for these two. By default, mongodb doesn't check for responses at all. It just sends requests over. That *could* be playing a role here. The "r

Re: does memcached cause any disk io?

2011-06-21 Thread Matt Ingenthron
On 6/21/11 1:37 AM, Mark Maggelet wrote: > I'm hoping someone can explain this to me. > I turned on fragment caching with memcached for my rails app recently > and unless I'm tripping it made the disk io part of my ec2 bill go up. > The memcached server is on a different host than the rails app if

Re: maximum number of keys in a get operation

2011-06-20 Thread Matt Ingenthron
On 6/20/11 11:44 AM, nt wrote: > What's the upper bound on the number of keys a client can "get" from > the server? Info regarding both the ASCII and binary protocols would > be greatly appreciated. 127^256, but you can get the same key more than once. Binary follows ASCII protocol in its restri

Re: memcache 1.4.5 crashed under high load (200-400mbps on the network interface)

2011-06-19 Thread Matt Ingenthron
Hi Nickolay, Couple things missing are OS and libevent version. :) You may want to try preloading libsegfault, that'd give us a bit more information. Verify you're updated on the latest 1.4 libevent too. Otherwise there's not much useful info I see. Matt On 6/19/11 2:52 AM, Kutovoy Nickolay

Re: Upgrading or changing memcahe client without invalidating the memcache.

2011-06-17 Thread Matt Ingenthron
On 6/17/11 9:30 AM, memcached-user wrote: > Hello. > We wanted to change the hashing strategy of the memcache > (memcache.hash_strategy) from "standard" to > "consistent". Is there a easier way to do this without invalidating > all of the memcache? > > If we do change it on the run, All the key w

Crosspost: spymemcached 2.7 release (was: Fwd: release of 2.7 and roadmap)

2011-06-09 Thread Matt Ingenthron
ay. Please send over any questions or issues. Thanks, Matt -- Matt Ingenthron Couchbase, Inc.

Re: Membase bucket creation.

2011-06-06 Thread Matt Ingenthron
Hi Aditya, You should take this to memb...@googlegroups.com or the membase forums. This list is about memcached. Regards, Matt On 6/5/11 7:32 PM, Aditya Kumar wrote: > > How to use membase backets? > I have 4 tables that need to be created.so 4 vbackets. > > Initially I have the default bucke

Re: a c memcached client

2011-05-28 Thread Matt Ingenthron
Hi Tony, On May 28, 2011, at 4:36 AM, tony Cui wrote: > I wrote a c memcached client. The reason I wrote it is > because spymemcached has some problems, say "connection reset by peer". And > the problems has driven crazy, so a idea came up , what about write a client. I'm

Re: spymemcached Java client 2.6 release

2011-05-13 Thread Matt Ingenthron
On 5/13/11 4:10 AM, Alexey Zlobin wrote: > It looks like module name in POM was changed from memcached to > spymemcached. May be wiki page about maven repository should be > updated? Yes, it should. Will do. The changed module name seems more correct to me. Does anyone have any opinions on that

spymemcached Java client 2.6 release

2011-05-13 Thread Matt Ingenthron
Do not use generics with Spring Factory Bean, be 2.5 compatible. Matt Ingenthron (19): Changed ports in tests for non-listening to something higher. Do not write timedout operations to the MemcachedNode. Increased default timeout to 2500ms.

Re: client behavior with large sizes

2011-04-28 Thread Matt Ingenthron
On 4/28/11 10:16 PM, Matt Sellars wrote: > > How does one configured this value? There is a -I parameter that was added around 1.4.3 I think. The param is not to be used lightly, as you may have to do some slab tuning. See the release notes for details. Matt > On Apr 28, 10:50 pm, Dustin wr

spymemcached 2.6 release candidate

2011-04-25 Thread Matt Ingenthron
e pretty well ready to go. I would appreciate it if anyone can offer feedback. Thanks, Matt On 4/19/11 12:58 AM, Matt Ingenthron wrote: > After the review, I'll kick out a short rc2, followed by a final. The > plan is also to get this in a public maven repo and also do some > w

client behavior with large sizes

2011-04-25 Thread Matt Ingenthron
Hi, I'd recently been trying to fix an issue with spymemcached when the server side allows larger than 1MiB. I'm fairly certain that other clients may have similar issues, so I wanted to kind of collect how clients should behave in this area. With the change to allow max item size to be a parame

Re: small hackathon, March 17

2011-03-17 Thread Matt Ingenthron
On 3/16/11 11:56 PM, dormando wrote: > what time does it start? ;) Tentatively, 3pm-ish. That's admittedly an early start, but I suspect it won't really get going until about 6pm. Ideally, it ends when we've gotten something done. :) > On Wed, 16 Mar 2011, Matt Ingenthr

small hackathon, March 17

2011-03-16 Thread Matt Ingenthron
Hi all, Since a few of the core folks are in the same place at the same time, we're going to hold a small hackathon... this time really hacking... to work on some merging of a couple of branches together to push to the next release. If you are interested in participating and already have some exp

Re: Open Source Projects using Memcache?

2011-03-08 Thread Matt Ingenthron
On 3/7/11 4:29 PM, Fuzzpault wrote: > Anyone know of any open source projects (preferably in php) which use > memcache at its core, or that is greatly accelerated with it? Mediawiki has built in support for memcache (as likely included by occasional contributor Domas). It's also very important

Re: Replication of key-value pairs

2011-03-07 Thread Matt Ingenthron
On 3/4/11 3:54 AM, Priya wrote: > Are the key-value pairs replicated on different nodes or does the pair > remain with only on one RAM? > With memcached, key/value pairs remain only in one node in RAM. Have a look at the wiki and the list archives for more info. Good luck! Matt

Re: Load balancing in memcached

2011-03-07 Thread Matt Ingenthron
On 3/4/11 3:55 AM, Priya wrote: > Does memcached load balance, i.e., what if most of the keys hash to a > particular server, does memcached take some actions to load balance > it? Generally speaking, since responses come from RAM and memcached can pretty easily saturate network interfaces with ver

Re: Problems when one of the memcached server down

2011-03-07 Thread Matt Ingenthron
Hi Lior, On 3/3/11 1:53 PM, Evil Boy 4 Life wrote: > Hi, > I use the .net clients and 2 servers at 2 different machines. > When one of the memcached servers is down, I try to set an item to the > cache (According the hashing algoritem of the client, this item should > stored the inactive server!)

Re: Replication ?

2011-03-03 Thread Matt Ingenthron
On 3/3/11 2:13 PM, Nathan Nobbe wrote: > A friend has mentioned membase: > > http://www.membase.org/ > > though I've hardly had a minute to investigate, it implements the > memcache protocol, but it sounds like it may use something other than > libmemcache on the backend. It's a bit off topic for

Re: Replication ?

2011-03-03 Thread Matt Ingenthron
Hi Nathan, On 3/3/11 1:42 PM, Nathan Nobbe wrote: > Hi all, > > I know I'll get blasted for not googling enough, but I have a quick > question. Here's a dime. Get yourself a web browser and bring me back $0.10 change. :) (said jokingly...) > > I was under the impression memcached servers repl

Re: Memcached-1.4.5 Solaris 10 Error

2011-03-03 Thread Matt Ingenthron
Hi Felipe, Do note that the memcached build on Solaris works best when using Sun's cc, not gcc. Last I checked, it was still freely available (but required registration). Which version of libevent did you use? Solaris 10 has libevent built in over in the SFW repository, and that one has been we

Re: Memcached Benchmarks

2011-01-21 Thread Matt Ingenthron
On 1/21/11 6:19 AM, vickycc wrote: > Besides brutis and memslap, do you know of any other well-known > benchmarks for memcached? I don't know if it's well known, but: https://github.com/ingenthr/memcachetest (let me know if you want a dist tarball, that'd be easier to build) There's also: https:

Re: Install Memcached

2011-01-04 Thread Matt Ingenthron
On 1/4/11 10:07 PM, Gustavo Paixão wrote: > Hi Matt, > > I was looking for libmemcached in"Install a Perl Module" page at WHM > and I found this *Memcached::libmemcached*, I try to install but I got > some error. The error message is attached. Do you know if i did > something wrong or if a need to

Re: Require Windows build of Memcache

2011-01-04 Thread Matt Ingenthron
n, etc., I'm one of the Membase guys. Regards, Matt > On Tue, Jan 4, 2011 at 10:43 AM, Matt Ingenthron wrote: >> Hi Vitold, >> >> On 12/31/10 3:54 PM, Vitold S wrote: >>> Hello, >>> >>> I am Web developing at Winows platform and I

Re: Memcache doesn't work when used in Magento

2011-01-04 Thread Matt Ingenthron
On 1/4/11 6:13 AM, Shabam wrote: > I have installed a Magento in a Web Cluster(include two web server) > and Magento work fine in any independent server. > > In order to improve performance and shared session between multiple > Web servers, I config Magento save session to memcache server. But > no

Re: Install Memcached

2011-01-04 Thread Matt Ingenthron
On 1/4/11 6:06 AM, Gustavo Paixão wrote: > HI, > > I'm new with memcached, I'l like to know hot to install in my server, > RHEL 5 with CPanel. I'm trying to install by CPanel, I found this module: > > memcached 1.0.2 stable PHP extension for interfacing with > memcached via libmemcached lib

Re: Require Windows build of Memcache

2011-01-04 Thread Matt Ingenthron
Hi Vitold, On 12/31/10 3:54 PM, Vitold S wrote: > Hello, > > I am Web developing at Winows platform and I am want tu use Memcache, > but I am cant use last version with all interesting function... > Plaease make at memcache.org build or port to Wienows... memcached.org provides only source. Tro

Re: can't set entry in memcached database

2010-12-07 Thread Matt Ingenthron
Hi Jason, On 12/7/10 2:05 AM, jason wrote: > We are running memcached version 1.2.8 on Solaris 10 118833-36. We are > running with the following options: > > memcached -c 256 -u nobody -d -m 256 -l 127.0.0.1 -p 11211 > > We are seeing the following errors: > > RlsMemGet: cannot get object, error:

Re: Memcache::set() [memcache.set]: Server 127.0.0.1 (tcp 11211) failed with: SERVER_ERROR unauthorized, null bucket (0)

2010-12-02 Thread Matt Ingenthron
That appears to be using the bucket engine. Are you sure you're using memcached, and not membase? membase has a different mailing list: memb...@googlegroups.com Hope that helps, Matt On 12/2/10 11:52 AM, sush wrote: > Hi everyone, > Here i am using wamp server and trying to run memcache, but i

Re: Memcached on dual quad-core server with 32 gig ram

2010-10-29 Thread Matt Ingenthron
On 10/29/10 1:36 AM, Obeyon wrote: > Dear memcached experts, > > I was wondering what the best configuration of memcached is on a > server with a high amount of ram (in this case 20 gb for memcached) > and multiple cores (in this case 8). > > Would it be better to use multiple smaller memcached ins

Re: next planned release of memcached

2010-10-19 Thread Matt Ingenthron
Hi Pavel, On 10/19/10 12:00 AM, Pavel Kushnirchuk wrote: > Folks, > > May be anybody know, when will be a next planned release of memcached. > Especially I am interested in a release of Win32 branch. > As dormando said, we're aiming to put some effort into this soon. I'm curious though, what ab

Re: Enhancement of memcached

2010-10-18 Thread Matt Ingenthron
On 10/18/10 6:35 AM, Pavel Kushnirchuk wrote: > Sorry may be my question is a bit stupid. > I need to extend a memcached with very simple additional > functionality(allow to listen memcached on multiple IP addresses). > Could I do all necessary changes in Win32 branch? Will all my changes > to go

Re: Problems about two memcached java clients: spy and gwhalin

2010-10-16 Thread Matt Ingenthron
Hi Shi, On 10/16/10 10:59 AM, Shi Yu wrote: > Hi, > > I have two problems when using memcached java clients the spymemcached > (http://code.google.com/p/spymemcached/) and the gwhalin java client > for memcached (http://github.com/gwhalin/Memcached-Java-Client). I > found that the spymemcached fa

Re: compiling memcache without threads on multi-core system

2010-09-24 Thread Matt Ingenthron
On 9/24/10 12:10 AM, Paul Lindner wrote: A good rule of thumb is one thread per core, but you should run your own benchmarks on your hardware. +1 This is a good general rule of thumb overall, though the old general rule is go up to 4x number of CPUs if tuning for throughput, and just at or

Re: Quick question on the Timezone

2010-09-22 Thread Matt Ingenthron
On 9/22/10 1:41 PM, Ravi Chittari wrote: We have memcached instances up and running in production. We want to change our systems from one timezone ( Say EST) to UTC. Does memcached instance automatically pick up new Timezone and what happens to the cached items? IIRC, times are tracked as rela

Re: 1TB memcached

2010-09-22 Thread Matt Ingenthron
On 9/22/10 10:23 AM, Les Mikesell wrote: On 9/22/2010 11:59 AM, Matt Ingenthron wrote: On 9/22/10 6:12 AM, ligerdave wrote: MongoDB is actually "cached" db, meaning that, most of its records are in memory. I think there is also a memcached and DB hybrid which comes w/ a persistent

Re: 1TB memcached

2010-09-22 Thread Matt Ingenthron
On 9/22/10 6:12 AM, ligerdave wrote: MongoDB is actually "cached" db, meaning that, most of its records are in memory. I think there is also a memcached and DB hybrid which comes w/ a persistent option. i think it's called memcachedDB, which runs a in- memory db(like mongodb). this shares most

Re: Consistent hashing in PHP and Java

2010-08-27 Thread Matt Ingenthron
Hi Vicente, Vicente Aguilar wrote: Hi At work we're setting up a multi-layered cluster with a 1st line of web/proxy/cache servers (nginx+memcached) and several layers of PHP-FPM and Tomcat application servers. At the moment we're using memcached just to cache raw HTML pages, not serialized o

Re: is there a way to tell if a memcached client is still alive / connected?

2010-08-18 Thread Matt Ingenthron
dormando wrote: sto I'm pretty sure he sent it only once. I think this is a problem with Google's SMTP and MTAs if I recall correctly. This happened on a majordomo based list I am on, and it died down after a little bit. I

Re: is there a way to tell if a memcached client is still alive / connected?

2010-08-18 Thread Matt Ingenthron
Chad wrote: I am trying to find a way to check if the memcachedclient is still alive or not but it seems to be there is no public api for me to do so. Can someone clarify this? Not really. You should be able to use system level tools (i.e. netstat -a | grep 11211) to see connections in the E

Re: Lot of misses

2010-08-18 Thread Matt Ingenthron
could be done to make it more efficient, but the first step it seems in your case would be to add more memory. Since you've done that, I bet it'll help. - Matt On Aug 18, 6:41 pm, Matt Ingenthron wrote: marrra wrote: Hi, I'm using memcached for caching search sugg

Re: Lot of misses

2010-08-18 Thread Matt Ingenthron
marrra wrote: Hi, I'm using memcached for caching search suggest box. I've done this: Set lifetime for all items to 30 hours and restart memcached. After 24hours are stored about 87000 items in memcached and in last 2 hours was added only few items. When I look at graf (bijk.com) I see cache hi

Re: Also failing tests of 1.4.5 on Solaris 9 Sparc

2010-08-12 Thread Matt Ingenthron
Dagobert Michelsen wrote: Hi Dustin, Am 12.08.2010 um 18:25 schrieb Dustin: We don't have anyone working on sparc at the moment. Would love fixes. :) You haven't? What happend to Trond Norbye? Trond is still doing Solaris development, but has been working on other stuff of late. Still

Re: Anyone want to help out at OSCON?

2010-07-09 Thread Matt Ingenthron
Michael Shadle wrote: Copying the list for all to enjoy - what exactly would hanging out in the booth entail? Answering questions? Giving out papers? Talking smack about other cache daemons? Sitting in a dunk tank? .. Dang. Someone let loose the dunk tank plans. I guess we'll have to canc

Re: LRU mechanism question

2010-07-06 Thread Matt Ingenthron
Hi Sergei, For various reasons (performance, avoiding memory fragmentation), memcached uses a memory allocation approach called slab allocation. The memcached flavor of it can be found here: http://code.google.com/p/memcached/wiki/MemcachedSlabAllocator Chances are, your items didn't fit in

Re: Is this really Distributed?

2010-06-10 Thread Matt Ingenthron
Dilip wrote: We read that memcached is "Free & open source, high-performance, distributed memory object caching system" Where as "distirbuted" is not part of memcached servers. We have to have some client which knows about all memcached servers and uses some hash based on key to determine a serve

release of spymemcached 2.5

2010-04-14 Thread Matt Ingenthron
esting. Greg Kim (1): Implementing read-only methods in MemcachedNodeROImpl - issue86 Kristian Eide (1): Allow user-specified wait time for availability of queue space. Matt Ingenthron (14): Invert the ConnectionFactoryBuilderTest to go with new logic. Document unexpected incr/decr

BoF at MySQL Conf (was Re: Memcached release 1.4.5)

2010-04-08 Thread Matt Ingenthron
dormando wrote (among other things): A number of us will be at MySQLConf (http://en.oreilly.com/mysql2010/) next week. I proposed a BoF at the MySQL Conference to get the memcached users, client and server authors together. It has been accepted so Tuesday the 13th, we'll have a BoF and loo

Re: Get Id of largest objects

2010-03-16 Thread Matt Ingenthron
dormando wrote: Is there anyway to get the keys of the largest objects currently in my memcached? I'm not concerned about locking up the server. I just wish to be able to run a command one time which will give me the key of the biggest objects that are currently stored. Thanks You could u

Re: objects deleted from cache after 20min

2010-03-12 Thread Matt Ingenthron
Hi, Alexandre Ladeira wrote: I'm using memcached to store these data: - user object - an java object consisting of username, password, city...; - user status info; - counter, so for every user login, I will make three memcached put operation. After making 10.000 logins, I have these stats via m

Re: Memcached set is too slow

2010-03-01 Thread Matt Ingenthron
Chaosty wrote: It runs on the same server, php memcached connects by 127.0.0.1 to it. it close but not the same. i did kill and run clean memcached server, each time it was close to 0.1 sec. In that case, I totally agree this is suspicious. Just to toss out another idea, it sounds like ma

Re: Memcached adding/removing nodes

2010-02-23 Thread Matt Ingenthron
mcevikce wrote: I understand that memcached servers do not communicate with each other. I also understand that consistent hashing algorithm in client libraries endure that data is distributed evenly between the servers. What I am not clear about is: Scenario 1: Three server nodes running. key1

Re: memcached + SASL

2010-02-23 Thread Matt Ingenthron
Hi Yakuza, yakuza wrote: i have compile memcached + sasl support for testing it but all plugin for wordpress or vbulletin don't support it .. it's more new feature and none have write support? Two of the most popular clients, libmemcached and spymemcached, have SASL support in their develo

Re: does memcached work on windows 7

2010-02-12 Thread Matt Ingenthron
tvinod wrote: im trying to run memcached on my windows 7 machine within a rails project and it errors out.. <936 connection closed. <940 new client connection <940 set mem-development:c222efbcfc08b4850198cd1eea610f76 0 0 217 940 STORED Failed to write, and not due to blocking: Resource

Re: Assertion Failed for Items > 1MB

2010-02-09 Thread Matt Ingenthron
Hi Marc, Marc Bollinger wrote: Just curious, Northscale guys: how stable would you consider the build on your website currently (e.g. are you using it in production, or would you recommend using it in production)? There will be a release which we consider thoroughly tested and ready for an

Re: memcached and access control

2010-01-06 Thread Matt Ingenthron
dormando wrote: Getting down to the item level would be tough to accept due to the overhead involved, one would think though. There may be some ways of getting closer to access control though without going down to the item level. This seems like it'll be solved by an engine dealio. Mappin

Re: memcached and access control

2010-01-06 Thread Matt Ingenthron
Aaron Stone wrote: Authentication, at least, has been in the community memcached release for the last two micro releases: http://code.google.com/p/memcached/wiki/ReleaseNotes143 It's a reasonable effort at keeping someone from writing to your cache. Surely they can still sniff the network

Re: memcached and access control

2010-01-06 Thread Matt Ingenthron
Aaron Stone wrote: On Wed, Jan 6, 2010 at 2:48 AM, pub crawler wrote: (snip...) Needless to say, permissions and authentication is a feature set that is going to re-requested for addition now and in the future. It opens the door for someone to create a memcached variation with such a

Re: How to get data after execute flush_all?

2009-12-21 Thread Matt Ingenthron
Stephen wrote: Hi, everyone: In my project, I execute the "flush_all" command with careless, however, the data in the memcache is important for me, it has not to be saved into database. And I read the doc, it says " flush_all doesn't actually free all the memory taken up by existing item

Re: measuring memcache efficiency

2009-12-04 Thread Matt Ingenthron
Hi aprildtd, aprildtd wrote: Hello all. I'm just beginning to play with memcache, and I read somewhere that talked about some inefficiencies with the slab allocator. I'm not too concerned at the moment, but I was wondering if you could help me monitor that? I've looked through some of the bas

Re: mutex on memcached

2009-11-24 Thread Matt Ingenthron
Hi JB, Just a couple of quick thoughts, and others will likely jump in as well. juanbackson wrote: Hi, I have two distributed clients that need to write stuff to memcached, but each write will involve two records. These two records must be sync. So, they must be changed together. You m

Re: Windows 2003 64 Bit memory utilization?

2009-11-03 Thread Matt Ingenthron
Henrik Schröder wrote: As far as I understand it, building with MinGW results in stand-alone executables, as opposed to building with Cygwin, which creates dependencies to cygwin.dll. None of them requires some sort of runtime though, that would be absolutely horrible. :-) I was looking at t

Re: Windows 2003 64 Bit memory utilization?

2009-11-03 Thread Matt Ingenthron
Hi David, David H. wrote: I notice that the standard way to build a Win64 port is to use MinGW/ Cygwin. I am interested in a "native" Win64 port which makes the necessary calls directly, and I'm willing to create and maintain such a port, so long as I get support from the owners to maintain it

Re: Memcached user warnings

2009-10-06 Thread Matt Ingenthron
dormando wrote: Yo, I'm debating a small patch for 1.4.2 that would add (more) commandline warnings for memcached. You'd of course only see most of them if you fire it up without the -d option, but hopefully in the course of testing someone tries that. For exampple, if someone sets `-m 12` the

Re: [Fwd: edging toward pandora-build]

2009-10-06 Thread Matt Ingenthron
Eric Lambert wrote: Hey Matt, I don't have a problem with the strategy you've outlined below but just out of curiosity how pervasive would the changes be if you submitted them in larger chunks as opposed to these small type changes you suggest? Do you mean invasive? Well, the point of doin

Re: [Fwd: edging toward pandora-build]

2009-10-06 Thread Matt Ingenthron
Dustin wrote: I think the idea looks good, but if I just cherry-pick that change, several of the builders fail because %zd is being used with an integer parameter (expecting a size_t). Was there another changeset before it that changed the data types, or did something change since last time?

[Fwd: edging toward pandora-build]

2009-10-05 Thread Matt Ingenthron
Hi all, I'd sent this out a few weeks back. I got some minor comments back from elambert and dsal, but not much otherwise. I know we're heading to a 1.4.2 release here shortly. I'd like to try to get some fixes in over the next couple of releases so we can get to complete pandorabuild (pre

Re: memcache on linux

2009-09-17 Thread Matt Ingenthron
jim wrote: I want to compile memcache on linux kernel 2.6.30 with epoll. Is it already included in kernel? How do i check it? If not then, What do I need for epoll? I believe it is and has been standard for some time. Well, "man epoll" will probably give you an idea. It's probably in a

Re: Memcached not using all allocated memory.

2009-09-17 Thread Matt Ingenthron
Hi tachu, You may want to consider how the objects are fitting into the slabs. For some reference material, see the links off of: http://code.google.com/p/memcached/wiki/FAQ#How_does_memcached%27s_memory_allocation_work?_Why_not_use_ma "stats slabs" may help too. Also, be aware there is som

Re: Range Spec Posted to Wiki

2009-09-17 Thread Matt Ingenthron
dormando wrote: That's *kind* of what I thought. I'm unawrae of anyone having real authoritative specifications on wikipedia? Is there something to show otherwise? Not that my opinion means that much, but Wikipedia, like the encyclopedias they mirror in the treeware world (as opposed to w

edging toward pandora-build

2009-09-17 Thread Matt Ingenthron
Hi all, This is mainly directed to Trond/Dustin since I've discussed it most with them on IRC, but thought I should socialize this with anyone and everyone. I'd started fixing a bunch of things to bring memcached inline with Monty Taylor's 'pandora build'. I feel this is that this is a wo

Re: How can I connect to memcached using PERL ?

2009-09-09 Thread Matt Ingenthron
daugia247 wrote: I have installed memcached using danga. But cannot connect to memcache (using PERL). Do I need to install more package or something else ? Can anyone give instruction ? You will need a client. There is a full list with links on the server's project site: http://code.google.

Re: Setting up memcached in remote server

2009-09-02 Thread Matt Ingenthron
Rajeswari wrote: Hi, I am looking into memcache for the first time. Could you give some information. 1) Is it possible to run memcached in Server X with ip address of Server Y? 2) If it is possible, is there any configuration change for remote setup? The memcached server is agnostic about ne

release updates and roadmap discussion

2009-08-19 Thread Matt Ingenthron
Hi all, Since a number of memcached contributors and client authors were in one place at the Drizzle conference this week in Seattle we had a short discussion about the release roadmap for stable and development branches. I captured much of the discussion and it's posted on the wiki: http:/

Re: RAM type

2009-08-15 Thread Matt Ingenthron
jim wrote: Which RAM type(buffered, un-registered or FB DIMM) is better for memcached server? I'd venture to say for 99%+ deployments, it doesn't really matter. The network is the largest limiting factor in both latency and throughput for memcached performance. $/GB is probably your bes

Re: 1.2.6 to 1.2.8 or 1.4.0?

2009-08-05 Thread Matt Ingenthron
Jay Paroline wrote: Hello, We've been having some intermittent memcached connection issues and I noticed that we are a couple of releases behind. Our current version is 1.2.6. Before I nag our admin about upgrading, is there any reason why it might be more wise to go to 1.2.8 rather than make t

Re: Issue tracker now set to spam the mailing list

2009-08-03 Thread Matt Ingenthron
dormando wrote: Yo, Updates to the issue tracker should now all hit the mailing list. The traffic over there is relatively low, but only a small handful of us actively check it - I'd prefer all information go to the same place. I think this is a good change... A few threads which should ha

Re: Is clearing out the cache necessary?

2009-07-29 Thread Matt Ingenthron
blazah wrote: What do folks do with the objects stored in memcached when a new version of the software is deployed? There is the potential that the data could be stale depending on the code changes so do people typically just flush the cache? The most common approach here is to add somethi

Re: Memcached crash

2009-07-26 Thread Matt Ingenthron
lessmian2 wrote: Thanks for reply. I have 32-bit kernel. I have no memory limits for single process. Ulimit say: You can look at ulimit as "soft limits". There are always hard limits based upon your system's architecture and the features of that architecture you're using. One of these i

Re: at OSCON? get together?

2009-07-20 Thread Matt Ingenthron
Brian Moon wrote: I may not be at the Gearman BoF but want to meet up with you guys. Do we know the where part yet? Yep, all confirmed. Wednesday 7/22, we have a spot reserved at Gordon Biersch, 8pm. 33 E San Fernando St., San Jose, CA 95113. I believe it's between 1st and 2nd street.

Re: Memcached 1.4.0 (stable) Released!

2009-07-19 Thread Matt Ingenthron
Dustin wrote: On Jul 19, 4:29 pm, Gary Z wrote: In order to make it work for Solaris10 x86 (not opensolaris), I had to make following minor changes, two issues: Hey, we have a Solaris 10 sparc builder and OpenSolaris x86 builders. Apparently that's not enough to cover it. I

  1   2   >