Hey Dormando-

That sounds reasonable. Apache will do similar warnings/notices when
it comes to things like useless thread/child settings in regards to
server limits and such, so implementing something like this should,
for the most part, be what many are used to anyway.

Have fun!

Chet


On Tuesday, October 6, 2009, dormando <[email protected]> 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` they'd get a warning saying the
> amount of memory is too small, and they're likely to get out of memory
> errors.
>
> And if they set `-t 50` it would warn that having threads > num_cpus is
> wasteful. I think a few of our frequent issues can be solved by having
> memcached audibly warn when configured weird. I also want to add more
> twiddles that can be used for foot-shooting.
>
> Thoughts?
>
> I'll do up the patch tomorrow anyway but want to see if there's any
> discussion to this.
>
> -Dormando
>

-- 
----------------------------------------
chet nichols III
[email protected]
aim: chet / twitter: chet
http://chetnichols.org
----------------------------------------

Reply via email to