Results 1 to 2 of 2
Thread: nginx response takes a long time
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2009
nginx response takes a long time
If somebody helps me to solve some a little problem I will be very appreciate them
I have a web server based on nginx and it works fine. But, sometimes it responses static files very long time. How it could be? I have ext3 on my Gentoo.
Thanks a lot for any advices.
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
Linux is not a deterministic system. Operations can take random amounts of time to execute - sometimes fast, sometimes not, depending upon what the system is doing at the time. File access is dependent upon a number of factors. If the system is in the process of swapping memory, then a simple file read operation can take a very (relatively) long time. I see that frequently on my system. It's irritating, but then Linux is NOT a real-time system. If you need deterministic behavior, try something like QNX.
Just remember, Semper Gumbi - always be flexible!