Project

General

Profile

Actions

Bug #1011

closed

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

Added by Anonymous about 17 years ago. Updated almost 8 years ago.

Status:
Obsolete
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

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

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

Updated by jan about 17 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

Actions #2

Updated by Anonymous about 17 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

Actions #3

Updated by stbuehler about 16 years ago

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

Actions #4

Updated by gstrauss almost 8 years ago

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

Updated by gstrauss almost 8 years ago

  • Assignee deleted (jan)
Actions #6

Updated by gstrauss almost 8 years ago

  • Status changed from Assigned to Obsolete
Actions

Also available in: Atom