Weird "SERVER_ERROR out of memory"

Stephane Legrand stephane@freebsd-fr.org
Wed, 7 Apr 2004 23:15:55 +0200


Hello,

I can't understand why i get a "SERVER_ERROR out of memory" with
this kind of session:

* Client side:

  bash$ telnet 127.0.0.1 50000
  Trying 127.0.0.1...
  Connected to localhost...
  Escape character is '^]'.
  add COUNTCALL 0 0 1
  0
  STORED
  incr COUNTCALL 1
  1
  get 0796e8fd5ba9c55794fbd8407617ef51
  END
  set 0796e8fd5ba9c55794fbd8407617ef51 0 3600 14
  SERVER_ERROR out of memory

* Server side:

  bash$ memcached -p 50000 -m 1 -vv 
  <3 server listening
  <5 new client connection
  <5 add COUNTCALL 0 0 1
  >5 STORED
  <5 incr COUNTCALL 1
  >5 1
  <5 get 0796e8fd5ba9c55794fbd8407617ef51
  >5 END
  <5 set 0796e8fd5ba9c55794fbd8407617ef51 0 3600 14
  >5 SERVER_ERROR out of memory


The weird thing is that if i use for instance a "XYZ" key instead
of the "0796e8fd5ba9c55794fbd8407617ef51" key, everything is ok: 

* Summary of the client side:
  ...
  Escape character is '^]'.
  add COUNTCALL 0 0 1
  0
  STORED
  incr COUNTCALL 1
  1
  get XYZ
  END
  set XYZ 0 3600 14
  AZERTYUIOPQSDF
  STORED


Does that mean that there are some (not documented ?) constraints
on the keys length ? My operating system is FreeBSD 4.9 -stable,
memcached is version 1.1.10.

Any help will be really appreciated.


Regards,
Stephane.

-- 
Je recherche un emploi de développeur/admin. sys.
 (FreeBSD,Linux,PHP,Perl,MySQL,OCaml,Tcl/Tk...)
  ==> www.freebsd-fr.org/~stephane/cv.pdf <==