Bug #1011

lighttpd-1.5.0-r1605. + $HTTP["host"] + use-noatime = 500

Added by Anonymous about 13 years ago. Updated over 3 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Missing in 1.5.x:


I just moved from lighttpd 1.4.13 to 1.5.0-r1605. During the
transition, I decided to modify my configuration to this: = "linux-aio-sendfile"
server.event-handler = "linux-sysepoll"
server.use-noatime = "enable"

... to see if I could get a performance boost. However, when I have
server.use-noatime="enable" and only through the conditional
$HTTPhost hosts, I'm being given 500 errors. A look into my error
log shows the following:

response.c.565: (error) checking file '/index.html'
(/var/video/index.html) failed: 1 (Operation not permitted) -> sending
status 500

Again, the odd part is that this only occurs for conditional
$HTTPhost hosts.

Attached is the appropriate strace where I access the "problem" URL a few times followed by accessing the main URL a few times.

-- Jason W


lighttpd.trace (99.6 KB) lighttpd.trace strace -- Jason W Anonymous, 2007-02-07 00:01

Updated by jan about 13 years ago

  • Status changed from New to Assigned

which OS are you running on and which file-system is /var/ using ?

I saw futex(...) = -1 ENOSYS and open(..., O_NOATIME) = -1 EPERM which is strange for linux + normal file-systems.



Updated by Anonymous about 13 years ago

I think your question may answer the problem. Currently we were running it on an OpenVZ VPS for testing purposes. OpenVZ uses "simfs" which is a simulated filesystem specific to OpenVZ that sits on top of ext2. If you need more details, please let me know.

-- Jason W


Updated by stbuehler almost 12 years ago

Just mount your filesystems with noatime instead of using server.use-noatime


Updated by gstrauss over 3 years ago

  • Description updated (diff)
  • Missing in 1.5.x set to Yes

Updated by gstrauss over 3 years ago

  • Assignee deleted (jan)

Updated by gstrauss over 3 years ago

  • Status changed from Assigned to Obsolete

Also available in: Atom