Announcement (2017-05-07): www.ruby-forum.com is now read-only since I
unfortunately do not have the time to support and maintain the forum any
more. Please see rubyonrails.org/community and ruby-lang.org/en/community
for other Rails- und Ruby-related community platforms.

> The "proxy_cache_path" looks corrupted and incomplete. First of> all, I would suggest you to make sure you are using "levels"> parameter, see http://nginx.org/r/proxy_cache_path.
I didn't paste all of proxy_cache_path directive. Here you have all.
proxy_temp_path /cache/tmp;
proxy_cache_path /cache
levels=2:2
keys_zone=my-cache:20000m
max_size=3355443m
inactive=7d;
And also nginx version if needed:
# /usr/local/nginx/sbin/nginx -V
nginx version: nginx/1.5.9
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250247,250250#msg-250250

Hello!
On Wed, May 21, 2014 at 09:15:16AM -0400, ixos wrote:
> inactive=7d;
See no obvious problems.
Try looking into system tuning then, your disk subsystem just
can't cope with load. There are number of ways to improve disk
i/o performance, starting from nginx tuning (aio, output_buffers
etc., see http://nginx.org/r/aio) to OS tuning (in particular,
tuning vnode cache may be beneficial, not sure how to do this on
Linux), as well as using a RAID configuration which delivers
better performance. A number of recommendations can be found in
this list, see archives.
An obvious workaround is to reduce disk load by using smaller
max_size/inactive, and/or with proxy_cache_min_uses (see
http://nginx.org/r/proxy_cache_min_uses).
> And also nginx version if needed:>> # /usr/local/nginx/sbin/nginx -V> nginx version: nginx/1.5.9
While it may be a good idea to upgrade to a recent and supported
version, there shouldn't be a big difference from performance
point of view.
--
Maxim Dounin
http://nginx.org/

> Can I know what is the ingest Gbps into the SSDs when you hit the
problem?
About ~500 Mbps
> and How many cached file nodes in cache-manager? I have millions ...
Between 7-9 milions
Can you tell more about your configuration os/nginx/cache? And how have
you
tried to solve the problem.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250247,250273#msg-250273

On Thu, May 22, 2014 at 5:05 PM, ixos <nginx-forum@nginx.us> wrote:
> > Can I know what is the ingest Gbps into the SSDs when you hit the> problem?> About ~500 Mbps>> > and How many cached file nodes in cache-manager? I have millions ...> Between 7-9 milions>> Can you tell more about your configuration os/nginx/cache? And how have you> tried to solve the problem.>
No, I didnot find a way to resolve this, I have to make the cached files
to
a smaller count and add more devices to share the load ...
We may need a feature to do disk write admission based on the disk load
...

>No, I didnot find a way to resolve this, I have to make the cached files to
a smaller count and add more devices to share the load ...
But is this split with samller devices "solve" the problem? I mean how
many
file could you have in cache? How many devices you have?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250247,250278#msg-250278