getting rid of the 1M value limit
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
bsergean <bserg... @gmail.com>
Date: Mon, 8 Dec 2008 21:37:25 -0800 (PST)
Local: Tues, Dec 9 2008 12:37 am
Subject: getting rid of the 1M value limit
Hi,
http://www.socialtext.net/memcached/index.cgi?faq#what_are_some_limit...
"""
Stored data cannot exceed 1 megabyte in size, since that is the
largest typical slab size.
"""
I'd like to cache datas that are bigger than 1M in size.
I tried to look at the slabs.c code but couldn't figure how to do
that. The FAQ talks about USE_SYSTEM_MALLOC but I'm not sure it's
related.
Any help would be great.
Thanks,
- Benjamin
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Toru Maesaka" <tmaes... @gmail.com>
Date: Tue, 9 Dec 2008 15:09:21 +0900
Local: Tues, Dec 9 2008 1:09 am
Subject: Re: getting rid of the 1M value limit
Hi,
If you MUST, go into slabs.c and grep for the constant, 'POWER_BLOCK'.
Cheers, Toru
On Tue, Dec 9, 2008 at 2:37 PM, bsergean <bserg
... @gmail.com> wrote:
> Hi,
> http://www.socialtext.net/memcached/index.cgi?faq#what_are_some_limit... > """ > Stored data cannot exceed 1 megabyte in size, since that is the > largest typical slab size. > """
> I'd like to cache datas that are bigger than 1M in size. > I tried to look at the slabs.c code but couldn't figure how to do > that. The FAQ talks about USE_SYSTEM_MALLOC but I'm not sure it's > related.
> Any help would be great.
> Thanks, > - Benjamin
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Benjamin Sergeant" <bserg... @gmail.com>
Date: Tue, 9 Dec 2008 07:04:04 -0800
Local: Tues, Dec 9 2008 10:04 am
Subject: Re: getting rid of the 1M value limit
#define POWER_BLOCK 1048576 I will play with it. Thanks a lot Toru.
- Benjamin
On Mon, Dec 8, 2008 at 10:09 PM, Toru Maesaka <tmaes
... @gmail.com> wrote:
> Hi,
> If you MUST, go into slabs.c and grep for the constant, 'POWER_BLOCK'.
> Cheers, > Toru
> On Tue, Dec 9, 2008 at 2:37 PM, bsergean <bserg... @gmail.com> wrote:
> > Hi,
> http://www.socialtext.net/memcached/index.cgi?faq#what_are_some_limit... > > """ > > Stored data cannot exceed 1 megabyte in size, since that is the > > largest typical slab size. > > """
> > I'd like to cache datas that are bigger than 1M in size. > > I tried to look at the slabs.c code but couldn't figure how to do > > that. The FAQ talks about USE_SYSTEM_MALLOC but I'm not sure it's > > related.
> > Any help would be great.
> > Thanks, > > - Benjamin
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Trond Norbye <Trond.Nor... @Sun.COM>
Date: Tue, 09 Dec 2008 16:17:52 +0100
Local: Tues, Dec 9 2008 10:17 am
Subject: Re: getting rid of the 1M value limit
Toru Maesaka wrote:
> Hi,
> If you MUST, go into slabs.c and grep for the constant, 'POWER_BLOCK'.
In addition you _must_ also verify that your client can handle such
values ;)
Cheers,
Trond
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Benjamin Sergeant" <bserg... @gmail.com>
Date: Tue, 9 Dec 2008 08:54:06 -0800
Local: Tues, Dec 9 2008 11:54 am
Subject: Re: getting rid of the 1M value limit
I'm planning to use cmemcache which calls libmemcache. Do you think there's gonna be problems ? (I'm gonna check today anyway). - Benjamin
On Tue, Dec 9, 2008 at 7:17 AM, Trond Norbye <Trond.Nor
... @sun.com> wrote:
> Toru Maesaka wrote:
>> Hi,
>> If you MUST, go into slabs.c and grep for the constant, 'POWER_BLOCK'.
> In addition you _must_ also verify that your client can handle such values > ;)
> Cheers,
> Trond
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Benjamin Sergeant" <bserg... @gmail.com>
Date: Tue, 9 Dec 2008 10:26:21 -0800
Local: Tues, Dec 9 2008 1:26 pm
Subject: Re: getting rid of the 1M value limit
It works great, thanks guys !
- Benjamin
ps: Now I will start thinking about doing things right and not caching my big blobs ...
On Tue, Dec 9, 2008 at 8:54 AM, Benjamin Sergeant <bserg... @gmail.com>wrote:
> I'm planning to use cmemcache which calls libmemcache. Do you think there's
> gonna be problems ? (I'm gonna check today anyway).
> - Benjamin
> On Tue, Dec 9, 2008 at 7:17 AM, Trond Norbye <Trond.Nor... @sun.com> wrote:
>> Toru Maesaka wrote:
>>> Hi,
>>> If you MUST, go into slabs.c and grep for the constant, 'POWER_BLOCK'.
>> In addition you _must_ also verify that your client can handle such values >> ;)
>> Cheers,
>> Trond
You must
Sign in before you can post messages.
You do not have the permission required to post.