Hi Kumar, 2017-07-18 9:14 GMT+02:00 Kumar Devarakonda <kumar.devarako...@gmail.com>:
> Hi, > > We have a strange issue recently with Apache. When we request some > webpages (running on apache web server) from our server, if we make the > request from Safari, they are loaded instantly. If we load the web page > from Chrome or Firefox, it takes approximately 10 minutes to get the > response. The same behavior is observed with curl too. After much research, > we found that if the User-Agent header has "Mozilla" String in it, the > requests are taking time. Response time is normal with below command curl > -i -v -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0)" > ourserverurl.com curl -i -v -H "User-Agent: Gecko/20100101" > ourserverurl.com > > Response time is very slow (approximately 3 to 10 minutes): curl -i -v -H > "User-Agent: Gecko/20100101 Firefox/51.0" ourserverurl.com curl -i -v -H > "User-Agent: Firefox/51.0" ourserverurl.com > > We have not upgraded anything recently. But this issue popped up suddenly. > Any pointers to resolve the issue will help. Thank you in advance. > > It is the same results (same kind of slowness) for all kinds of resources > (that can be compressed). We have tried multiple things like adding > compress/ gzip header/ removing it etc.. Still the same. It just worked > fine if we remove user-agent "Mozilla" string. We have multiple > applications running through this server and all of them behaved the same > way (same kind of slowness).. > the best place to start are the logs, what does the error log says for the slow requests? Moreover, have you any specific config for the "slow" user agents in httpd.conf? Can you share your config? Without more details it is really difficult to help. Luca