Re: Compiling for 32-bit on 64-bit distro

2010-03-05 Thread diegomsana
Thanks :)

On 4 mar, 07:49, Paul Lindner lind...@inuus.com wrote:
 You can use CFLAGS=-m32 on a 64 bit system to get a 32 bit binary.

 You'll be limited to 2 or 3GB per memcache process depending on your distro.
  You'll save a small amount of memory with the smaller pointer size, I
 wouldn't call it significant unless you have large numbers of very small
 items in your cache.

 On Thu, Mar 4, 2010 at 2:40 AM, diegomsana diegodms...@gmail.com wrote:
  Hello,

  I've search this group and the wiki and haven't found the answer for
  this. Is it possible to compile and run memcache in 32-bit in a 64-bit
  linux O.S?

  If it's possible, are there any drawback (besides instances limited to
  4GB)? Also i'm assuming i'll save significant amount of memory by
  using 32-bit pointers vs 64-bit. Is that right?

  Cheers!


Re: Issue 48 in memcached: binary protocol incr on text returns success 0

2010-03-05 Thread memcached


Comment #5 on issue 48 by a...@enyim.com: binary protocol incr on text  
returns success 0

http://code.google.com/p/memcached/issues/detail?id=48

i'm not sure which version includes this fix, but both 1.4.3 and 1.4.4 give  
me a status code 0 (SUCCESS) when

trying to increment non numeric values:

(MyKey has the value Hello World)

incr MyKey 12, 1, 0

24 Writing an error: Non-numeric server-side value for incr or decr
24 Writing bin response:
24   0x81 0x06 0x00 0x00
24   0x00 0x00 0x00 0x06
24   0x00 0x00 0x00 0x2e
24   0x00 0x00 0x00 0x05
24   0x00 0x00 0x00 0x00
24   0x00 0x00 0x00 0x00



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


Re: Issue 48 in memcached: binary protocol incr on text returns success 0

2010-03-05 Thread memcached


Comment #6 on issue 48 by dsallings: binary protocol incr on text returns  
success 0

http://code.google.com/p/memcached/issues/detail?id=48

I see status code 6 and the error text there.  6 == bad value for  
incr/decr.  I believe this

is correct.  This change went in as 1.4.0-rc1-2-gcce46e8

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


Re: Issue 48 in memcached: binary protocol incr on text returns success 0

2010-03-05 Thread memcached


Comment #7 on issue 48 by a...@enyim.com: binary protocol incr on text  
returns success 0

http://code.google.com/p/memcached/issues/detail?id=48

yeah, sorry i forgot that the status is supposed to be 16bit not 8.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings