Ticket #1011 (assigned defect)

Opened 1 year ago

Last modified 2 months ago

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

Reported by: Jason W Assigned to: jan (accepted)
Priority: normal Milestone: 1.5.0
Component: core Version: 1.5.x-svn
Severity: normal Keywords:
Cc: Blocking:
Need Feedback: 0

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.

Attachments

lighttpd.trace (99.6 kB) - added by Jason W on 02/07/2007 12:01:58 AM.
strace

Change History

02/07/2007 12:01:58 AM changed by Jason W

  • attachment lighttpd.trace added.

strace

02/07/2007 10:44:47 AM changed by jan

  • 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

02/10/2007 01:55:27 PM changed by Jason W

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.

05/06/2008 11:54:56 AM changed by stbuehler

  • blocking changed.
  • pending changed.
  • milestone set to 1.5.0.

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


Add/Change #1011 (lighttpd-1.5.0-r1605. + $HTTP["host"] + use-noatime = 500)




Change Properties