Maxim Dounin
May 13, 2014 07:52AM
Hello!

On Tue, May 13, 2014 at 04:48:56AM -0400, beatnut wrote:

> I found similar information about :
>
> limit_req_zone $binary_remote_addr zone=one:1m "One megabyte zone can
> keep about 16 thousand 64-byte states. "
>
> or
>
> ssl_session_cache shared:SSL:1m; " The cache size is specified in bytes;
> one megabyte can store about 4000 sessions."
>
> but there is no info about fastcgi_cache_path keys_zone shared memory.
>
> I was searching any tip in the source code of fastcgi module with no
> success.
>
> I'm trying to adjust my setup. There will be about 30k of cached files. How
> big should be size of shared memory ?

Each cache node currently takes about 128 bytes of memory.
So for 30k cached files you'll need about 4 megabytes.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Re: fastcgi cache path keys zone=name:size

Maxim Dounin May 13, 2014 07:52AM

Re: fastcgi cache path keys zone=name:size

beatnut May 13, 2014 08:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready