proxy_store

Hector Danniel Paz Trillo hdanniel at gmail.com
Mon Jul 4 19:56:07 MSD 2011


Thanks. I put open_file_cache_errors off , and everything is working fine.

Regards,

Héctor

On Sat, Jul 2, 2011 at 1:21 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Hello!
>
> On Sat, Jul 02, 2011 at 07:10:05PM +0100, Hector Danniel Paz Trillo wrote:
>
>> I'm using proxy_store for dynamic upload of file from the backend to a
>> proxy server. For differents reasons some files are not uploaded with
>> this method, and I want to run a process in the backend to syncronize
>> the files between the servers.
>>
>> Problem is that nginx doesn't recognize the files uploaded throught
>> this process. It says the file doesn't exist and I need to restart
>> nginx and then it works.
>>
>> I understand nginx is looking at some kind of internal table to check
>> if the file has been stored and not looking directly at the location
>> of the file. Is there a way to avoid the restart? Did I get something
>> wrong?
>
> Looks like you use open_file_cache with open_file_cache_errors on.
> Just tune settings as appropriate in your setup (or switch
> open_file_cache_errors off to make sure nginx will immediately
> recognize new files).
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list