Re: using nginx to cache file serving

2013-12-05 Thread mojiz
Thanks for the answeres. about the memory the problem is I'm hitting this on only some of my servers but not all, one of my servers has only 3GB memory which 1G is used but on another 16GB/16GB is used. The ngx_slowfs_cache module is usefull when the server has 2 type disks, SATA and SAS, but I ha

Re: using nginx to cache file serving

2013-12-05 Thread Richard Stanway
1. Depends a lot on your environment. If you are sure you are I/O bound, there isn't too much you can tweak. 2. How are you measuring this? It's normal for there to be very little "free" memory on Linux due to buffers and filesystem caches. Look at the -/+ buffers/cache line for your available mem

using nginx to cache file serving

2013-12-05 Thread mojiz
Hi We are using nginx & SATA disks on several of our file servers.However after hitting 12MBytes/s of port speed (server nic is a 1gbps), the server gets down to it's knees. SSH becomes very slow/unresponsive and our users complain about slow speeds and dropped connections. Our users/downloaders ha