Hi Avi,

the problem is I don't want to kill the already running daemon (512M),
bcoz many ongoing processes are using that Cached Data, that is why i
started an another daemon with a diff port listening to it with more
memory.



Regards
Leelu
On Jan 5, 2:17 pm, Avi Shahar <[email protected]> wrote:
> Leelu,
>
> You can assign the Memcached server a maximum memory size (say 1024MB) - this 
> does not mean that the server will take up that much memory. It means it can 
> grow to such size and no more. Thus, you should be better off using one 
> server, and setting its maximum memory size to 1024, rather than running two 
> instances at 512.
>
> This will simplify your life tremendously, and should work just as fine (in 
> fact, probably better).
>
> Cheers
> --
>       Avi
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of Leelu
> Sent: Monday, January 05, 2009 10:52 AM
> To: memcached
> Subject: Re: Storing an Item in a memcache daemon listening to specific port
>
> I am using to access the items on same server, where the client is a
> commandline php script.
>
> This is the situation why I planned to do like this.
>
> I ran a memcache daemon with ip 192.168.1.101 with port 11211 having a
> memory of 512MB
>
> Later I checked that amount of data what i need to cache is more. So I
> can't dynamically increase the memory of currently running daemon,
> instead I ran another daemon listening on different port with more
> memory assigned to it.
>
> Now I need to access the key value pair, So i need to know where that
> got stored.
>
> On Jan 5, 12:46 pm, "Joseph Engo" <[email protected]> wrote:
> > Well, depending on the client you are using you _could_ but what is your
> > motivation for wanting to do that ?
>
> > Essentially you would need to create 2 separate instances.
>
> > On Mon, Jan 5, 2009 at 2:06 AM, Leelu <[email protected]> wrote:
>
> > > Hi,
>
> > > I have two memcache daemons running on same server, which are
> > > listening to say port 'a' and port 'b'.
>
> > > Now Can I store an item specifically to port 'a' or port 'b' and
> > > retreive these items back similarly
>
> > > Regards
> > > Leelu

Reply via email to