+1

Warnings are good.

On Tue, Oct 6, 2009 at 4:08 PM, 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
>

Reply via email to