Bug #1011
closedlighttpd-1.5.0-r1605. + $HTTP["host"] + use-noatime = 500
Description
I just moved from lighttpd 1.4.13 to 1.5.0-r1605. During the
transition, I decided to modify my configuration to this:
server.network-backend = "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
Files
Updated by jan almost 18 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.
Jan
Updated by Anonymous almost 18 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 over 16 years ago
Just mount your filesystems with noatime instead of using server.use-noatime
Updated by gstrauss over 8 years ago
- Description updated (diff)
- Missing in 1.5.x set to Yes
Also available in: Atom