[ 
https://issues.apache.org/jira/browse/SSHD-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17310237#comment-17310237
 ] 

Lyor Goldstein commented on SSHD-1151:
--------------------------------------

Sorry, but I cannot think of an easy way to do this - you need to trust the 
code - just look how this property is used. If you do want to spend some time 
on it, then you can debug the code and place a breakpoint at the location where 
this property is used and verify its behavior.

> How to check if NIO Worker Threads are getting set
> --------------------------------------------------
>
>                 Key: SSHD-1151
>                 URL: https://issues.apache.org/jira/browse/SSHD-1151
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: Susmit Sarkar
>            Priority: Blocker
>
> Hello Team,
> {code:java}
>  public static final Property<Integer> NIO_WORKERS
>  = Property.validating(Property.integer("nio-workers", 
> Runtime.getRuntime().availableProcessors() + 4),
>  w -> ValidateUtils.checkTrue(w > 0, "Number of NIO workers must be positive: 
> %d", w));{code}
> I have 4 processors and 4 extra threads, so total 8 NIO worker threads, but 
> how will I confirm if it's actually getting set or not. Checked in the thread 
> dumps but couldn't found anything related to NIO workers, not sure if its 
> actually getting set. Need help and guidance.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to