Project

General

Profile

Bug #1011

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

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

Status:
Obsolete
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:
Yes

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

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

History

#1

Updated by jan over 12 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

#2

Updated by Anonymous over 12 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

#3

Updated by stbuehler over 11 years ago

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

#4

Updated by gstrauss about 3 years ago

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

Updated by gstrauss about 3 years ago

  • Assignee deleted (jan)
#6

Updated by gstrauss about 3 years ago

  • Status changed from Assigned to Obsolete

Also available in: Atom