Re: nginx cache loader process

2013-07-10 Thread Maxim Dounin
Hello! On Tue, Jul 09, 2013 at 07:50:32PM -0400, badtzhou wrote: > We are running nginx 1.2.9. What will happen if cache loader is running. The > file on disk haven't been loaded into the cache zone yet and someone try to > access the same file. Will it cause any issue? How will it affect cache >

Re: nginx cache loader process

2013-07-09 Thread Vil Surkin
Hello, Take a look at 'proxy_cache_lock' directive. -- Vil Surkin среда, 10 июля 2013 г. в 3:50, badtzhou написал: > We are running nginx 1.2.9. What will happen if cache loader is running. The > file on disk haven't been loaded into the cache zone yet and someone try to > access the same fi

Re: nginx cache loader process

2013-07-09 Thread badtzhou
We are running nginx 1.2.9. What will happen if cache loader is running. The file on disk haven't been loaded into the cache zone yet and someone try to access the same file. Will it cause any issue? How will it affect cache loader process. If I don't want any file on the disk to be loaded, can I

Re: nginx cache loader process

2013-07-04 Thread Igor Sysoev
On Jul 4, 2013, at 4:57 , badtzhou wrote: > We have several hundred Gs of file cached using nginx. Every time we > restarted nginx, the cache loader process will appear and server load will > go super high and respond very slowly. > > Looks like cache loader process is very I/O intensive and take

Re: nginx cache loader process

2013-07-03 Thread Andrew Alexeev
On Jul 4, 2013, at 4:57 AM, "badtzhou" wrote: > We have several hundred Gs of file cached using nginx. Every time we > restarted nginx, the cache loader process will appear and server load will > go super high and respond very slowly. > > Looks like cache loader process is very I/O intensive and

nginx cache loader process

2013-07-03 Thread badtzhou
We have several hundred Gs of file cached using nginx. Every time we restarted nginx, the cache loader process will appear and server load will go super high and respond very slowly. Looks like cache loader process is very I/O intensive and take a long time to finish. Is there anyway to get around