Hello Scott, I am trying to put a binary file in memory across on 2 servers. The size of the file is 400MB. Is 1MB the limitation of memcache? My requirement is to have large files (image) cached into memory for quick access. I have enough memory (RAM). I am looking for a possible solution where I can store large files across system if required. Do you have any suggesstion a to how I can achieve that? Regards Apun
On Mon, Dec 22, 2008 at 11:27 AM, Scott Lillibridge < [email protected]> wrote: > Cached items cannot be more the 1024KB in size. > > On Sun, Dec 21, 2008 at 7:17 PM, Apun Hiran <[email protected]> wrote: > >> >> Hello, >> I am trying to cache a file across 2 memcached instances. >> ora...@hadoop-master:~$ ssh hadoop1 >> Linux hadoop1 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 >> i686 >> >> The programs included with the Ubuntu system are free software; >> the exact distribution terms for each program are described in the >> individual files in /usr/share/doc/*/copyright. >> >> Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by >> applicable law. >> >> To access official Ubuntu documentation, please visit: >> http://help.ubuntu.com/ >> Last login: Fri Dec 19 16:45:35 2008 from hadoop-master >> ora...@hadoop1:~$ memcached -d -m 1100 -l hadoop1 -p 11211 >> ora...@hadoop1:~$ exi >> -bash: exi: command not found >> ora...@hadoop1:~$ exit >> logout >> Connection to hadoop1 closed. >> ora...@hadoop-master:~$ memcached -d -m 600 -l hadoop-master -p 11211 >> ora...@hadoop-master:~$ ls -lrt dubai.dmp >> -rw-r--r-- 1 oracle oracle 449716224 2008-12-03 10:19 dubai.dmp >> ora...@hadoop-master:~$ memcp --servers=hadoop1,hadoop-master >> dubai.dmp >> memcp: dubai.dmp: memcache error SYSTEM ERROR >> >> Any clues what I am doing wrong to cache the file? >> >> Regards >> Apun >> > > -- Thanks Regards Apun Hiran --------------------------------------- "Some Men see things as they are and say Why; I dream things that never were and say Why Not." ---------------------------------------
