Results 1 to 2 of 2
Greetings 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, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-07-2009 #1
- 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.
- 06-09-2009 #2
- 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.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!