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

Jeffrey 'jf' Lim jfs.world at gmail.com
Tue Apr 28 09:02:50 MSD 2009


2009/4/28 Igor Sysoev <is at rambler-co.ru>:
> On Tue, Apr 28, 2009 at 12:42:41PM +0800, Jeffrey 'jf' Lim wrote:
>>
>> 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
>
> As it core command it should be set on global level:
>
> timer_resolution  100ms;
>
> http {
>   ...
>

arrh, got it! thanks :) <slaps head>


>> '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?
>
> 0 means that timer_resolution is not ised.

sorry? you mean "used"? so '0' means that this should be the ideal? (i
want timer_resolution to be generally as accurate as possible).


> 10 means 10 seconds.
>

got it, thanks.

-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





More information about the nginx mailing list