Welcome! Log In Create A New Profile

Advanced

trying to set timer_resolution - but... 'unknown directive "timer_resolution"'

Jeffrey 'jf' Lim
April 28, 2009 12:42AM
as per subject, I'm trying to set timer_resolution in my nginx.conf
file - but to no avail. When i do an "nginx -t", I get the "unknown
directive" error message - despite the fact that this should be a
known directive (see
http://wiki.nginx.org/NginxHttpMainModule#timer_resolution)

So my 2 questions:
- what's wrong? I have my 'timer_resolution' in http { }. I believe
this is correct. Looking at the source, this should be correct too
(it's an "nginx core command"). I've also tried (just in case) setting
'timer_resolution' to '10', instead of '10ms', but to no avail
- the default value is 0 (wiki needs to be corrected) as per source.
What does that mean?

This is with the latest stable, nginx 0.6.36.

-jf

--
In the meantime, here is your PSA:
"It's so hard to write a graphics driver that open-sourcing it would not help."
-- Andrew Fear, Software Product Manager, NVIDIA Corporation
http://kerneltrap.org/node/7228
Subject Author Posted

trying to set timer_resolution - but... 'unknown directive "timer_resolution"'

Jeffrey 'jf' Lim April 28, 2009 12:42AM

Re: trying to set timer_resolution - but... 'unknown directive "timer_resolution"'

Igor Sysoev April 28, 2009 12:49AM

Re: trying to set timer_resolution - but... 'unknown directive "timer_resolution"'

Jeffrey 'jf' Lim April 28, 2009 01:02AM

Re: trying to set timer_resolution - but... 'unknown directive "timer_resolution"'

Igor Sysoev April 28, 2009 01:07AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 310
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready