Results 1 to 2 of 2
  1. #1

    What does CurrentNIOWriteQueueWait mean exactly?

    LS versions: 6.0.1

    When I'm load testing LS I'm seeing a steady increase in the metric, as seen here
    Click image for larger version. 

Name:	chart3-1-1.jpg 
Views:	528 
Size:	46.1 KB 
ID:	200

    What does the metric mean exactly? The doc says it's the averaged wait time over all socket write operations to be selected by selectors. How can it be several million ms then? The LS is still running fine without any delays.

    Thanks for any help

  2. #2
    Join Date
    Jul 2006
    The CurrentNIOWriteQueueWait statistics has to be considered in bundle with CurrentNIOWriteQueue.
    The average is restricted to the sockets counted in CurrentNIOWriteQueue (usually very few). They are the sockets for which an immediate write was not possible, hence the resort to a NIO selector has been needed. For such sockets, the client side is not consuming and if this state continues for long time, there must be a serious block at network level (for these clients only).

    If the condition persists, a blocked client will accumulate wait time; note that a 1 million ms time is about 17 minutes. So, if all sockets currently blocked have been waiting for long time, the average can reach such levels. Note that, by default, the Server doesn't enforce a timeout on write operations; you can set one through the <write_timeout_millis> configuration setting.

    Since we provide just average information, the chart is not regular: sudden changes in CurrentNIOWriteQueueWait depend on the start and termination of blocked write operations.



Similar Threads

  1. Replies: 1
    Last Post: August 6th, 2014, 11:13 AM
  2. Replies: 0
    Last Post: January 22nd, 2013, 12:49 PM
  3. Replies: 1
    Last Post: July 28th, 2010, 11:15 AM
  4. Replies: 1
    Last Post: March 11th, 2010, 04:53 PM
  5. Replies: 1
    Last Post: August 27th, 2007, 12:24 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 06:49 PM.