memcached failing under high traffic

Jehiah Czebotar jehiah at gmail.com
Fri Mar 28 19:14:27 UTC 2008


if you are using straight sql as your key it is probably invalid
because keys can not contain whitespace. (it could also be to long)

you might want to use a md5() of the sql string instead.

--
Jehiah

On Fri, Mar 28, 2008 at 3:11 PM, Benjamin Fonze <benjabcn at gmail.com> wrote:
> Thanks for the tip!
>
> I see a lot of those:
>
> CLIENT_ERROR bad command line format
>
> I'm assuming maybe the key I give is not so good? The key I set is the SQL
> query itself.
> This wouldn't explain why server start to fail though.
>
> Benja.
>
>
>
>
> On Fri, Mar 28, 2008 at 7:30 PM, Jehiah Czebotar <jehiah at gmail.com> wrote:
> >
> > > How can I debug this and understand what errors are generated?
> >
> > If you can develope a way reproduce the problem thats great, or if you
> > can run one (or all) of your memcached servers with the -v or -vv
> > command line flags so you see errors that might help narrow it down as
> > well
> >
> > -v            verbose (print errors/warnings while in event loop)
> > -vv           very verbose (also print client commands/reponses)
> >
> > --
> > Jehiah
> >
>
>


More information about the memcached mailing list