port 11211 (memcached default) not open

Nguyen Viet Cuong mrcuongnv at gmail.com
Mon Dec 28 10:25:35 MSK 2009


Hi Dounin,

Thx for your link. Linux has a nearly the same mechanism.
However, if the files needed to cache are not physical files, such as
avatars stored as BLOB in MySQL of vBulletin, I think memcached is a good
solution.

--
Nguyen Viet Cuong


On Mon, Dec 28, 2009 at 9:49 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:

> 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
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091228/08808ae3/attachment.html>


More information about the nginx mailing list