port 11211 (memcached default) not open

Maxim Dounin mdounin at mdounin.ru
Mon Dec 28 03:49:06 MSK 2009


Hello!

On Mon, Dec 28, 2009 at 08:57:29AM +0900, Nguyen Viet Cuong wrote:

> In our system, we have used memcached in the same way as Danny Trinh do.
> Recently, I have tried to use a portion of memory for storing cache files by
> mount /dev/shm to some point on filesystem. However, you said that:
> 
> Also, you probably want to know that on modern operating
> > systems it is usually bad idea to place files into memory
> > explicitly.  Virtual memory subsystem will do it automatically as
> > long as you have spare memory on your server, and will likely do
> > it better than may be done by hand.
> >
> 
> I do not know anything about this automatic mechanism.
> Could you explain more about this? Or could you give me some links?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM

In FreeBSD it's about 15 years now all available memory are used 
as disk cache (as disk cache actually integrated with VM system).  
And I belive Linux does the same for a while, too.  Exact 
algorithms used vary.

Maxim Dounin



More information about the nginx mailing list