-
Notifications
You must be signed in to change notification settings - Fork 104
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
srcache_fetch stucked while processing some requests #64
Comments
Can it be related to the memcached backend ? Sometimes i see memcached takes too long to reply (typically when server memory usage is high). |
I dont think so, this problem reproduced on different memcaced backends (including localhost). |
Get same behaviour with redis |
@akharc You should use |
I've turn proxy_buffering on, but still get the same issues. |
Can there be other reasons for this problem? |
@akharc You should enable the nginx debug logs to find more detailed info, see https://github.com/openresty/srcache-nginx-module/#trouble-shooting |
@akharc You failed to enable the nginx debugging logs. None of your messages have the |
Debug-level log here: |
@akharc The offending line is this:
To put it into the context:
I'm not sure who installed that "request empty handler". You need to trace it down with tools like gdb on your side. BTW, one obvious issue in your nginx.conf snippet is the following line:
You should really turn it on. Otherwise you would hang on the subrequests. Another obvious thing is that you should really disable the |
Hello, i get very strange trouble with directive "srcache_fetch" and some kind of SOAP requests.
When i send some POST requests from SOAP UI or another app with User-Agent like "HTTP/Apache (java)" to Openresty, some requests processed well: sending GET request to memc_pass, then store cache, go to proxy_pass and send responds to client.
But other requests are stuck after response from memcached server and wait till client closes connection by it's own timeout (that can be much more than memc_read timeout).
BTW, when i send SOAP request with same body by CURL, i can't reproduce this problem - all requests processed well.
openresty version: 1.11.2.5
nginx version: nginx/1.10.2
This is depersonalized part of my nginx.conf^
The text was updated successfully, but these errors were encountered: