Memcached user warnings

2009-10-06 Thread dormando
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` they'd get a warning

Re: Memcached user warnings

2009-10-06 Thread Toru Maesaka
+1 Warnings are good. On Tue, Oct 6, 2009 at 4:08 PM, dormando dorma...@rydia.net 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

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`

Re: Memcached user warnings

2009-10-06 Thread Clint Webb
On Wed, Oct 7, 2009 at 1:58 AM, Matt Ingenthron ingen...@cep.net wrote: I think this is a great. Anything which helps users be self sufficient and not shoot themselves in the foot is a good idea. In fact, you could even say 'refuse to start' unless there is a --overridesafety type thing for

Re: Memcached user warnings

2009-10-06 Thread Edward M. Goldberg
+1 This would help weed out the basic configuration blunders. Cloud these also show up in the stats display. At the end? Warnings: 100% Misses, keys may be wrong. Memory waste over 50%. Threads greater than CPUs. Connections at or near the limit. Process swapping, size set too large for