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 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 1
nginx response takes a long time
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, 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 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,156
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!


Reply With Quote
