Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still lots of RPC calls #2

Open
gregorg opened this issue May 29, 2012 · 1 comment
Open

Still lots of RPC calls #2

gregorg opened this issue May 29, 2012 · 1 comment

Comments

@gregorg
Copy link

gregorg commented May 29, 2012

Hi,

I'm testing your module to prevent problems when NFS server is down. The config is quite simple, like the sample in README file.

And it's working :

find /data/cache1/nginx/nfscache/ -type f | wc -l ; du -hs /data/cache1/nginx/nfscache/

17985
257M /data/cache1/nginx/nfscache/

Logging displays lots of HITs.

But the RPC calls didn't decrease as expected.

Is that normal ? Did you do a "stat" or something at every hit ?

@jaqq2
Copy link

jaqq2 commented Oct 30, 2012

yes, nginx will do a stat on every request uri to see if it's a directory when the open file cache isn't enabled. try_files handler is called before all content handlers...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants