?
Solved

Change Memcache Allocated Cache Size

Posted on 2010-11-23
4
Medium Priority
?
668 Views
Last Modified: 2012-05-10
How do I adjust the default cache size for memcached? Right now it set to the default 64Mb
0
Comment
Question by:72impala
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 34196309
Here is the man page memcached.  Command used is shown below.

memcached -m <Memsize in MB>


http://linux.die.net/man/1/memcached
memcached -m <Memsize>

Open in new window

0
 
LVL 35

Expert Comment

by:torimar
ID: 34196324
It seems you need to allocate the cache size via a command switch "-m" in the command that starts the memcached service.

A typical command for twice the amount of cache (128 mb) would be:

/usr/bin/memcached -d -m 128 -u root

Set the "128" to the size of cache you require.
0
 

Author Comment

by:72impala
ID: 34196476
Ok, I ran this command /usr/local/bin/memcached -d -m 128 -u root but when I check it still says 64MB

http://freebootlegmovies.net/memcache.php?&op=1
0
 
LVL 35

Accepted Solution

by:
torimar earned 1000 total points
ID: 34196560
You may have to first stop the memcached instance already running / kill the process, then run the command.

(I can't open your link, it's password protected)
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
What You Need to Know when Searching for a Webhost Provider
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month11 days, 5 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question