Yes!
Unless, you're somehow stuck on 4.99.11, try NS 4.99.12. If the issue still remains, then post here.


Best wishes
Iuri

On 02-11-2016 13:49, David Osborne wrote:
Hi,

I've spotted an issue that seems to have been introduced at some point between 4.99.10 & 4.99.11 (and still present in tip as of today). When logpartialtimes are enabled, the access log seems to be logging the runtime of the previous entry.

As a testcase on Debian 8:

hg clone https://bitbucket.org/naviserver/naviserver <https://bitbucket.org/naviserver/naviserver>
cd naviserver
./autogen.sh --disable-ipv6 --with-tcl=/usr/lib/tcl8.5 --enable-rpath --enable-threads
make
make install

Edit:
/usr/local/ns/conf/nsd-config.tcl
 -> add the following to the nslog section
ns_param  logpartialtimes             true

Then add "ns_sleep 2" to the top of nsstats.tcl

Run:
/usr/local/ns/bin/nsd -c -u nsd -t /usr/local/ns/conf/nsd-config.tcl

Browsing to / followed by/nsstats.tcl followed by /, I get the following results:

Inline images 1

So it looks like the runtime for the nsstats is being logged along with the 2nd request for /. The request start times look OK though.

I had a look at the code changes for 4.99.11 but couldn't really see anything obvious.

NaviServer/4.99.14d2
   Tag: 72191a0e529f default tip
   Built: Nov  2 2016 at 15:15:30
   Tcl version: 8.5
   Platform:  linux

Here's the results from 4.99.10

Inline images 2

Any ideas?

Regards,
--
David



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi


_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to