Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.

  2. #2
    Linux Guru Rubberman's Avatar
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts