You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Susmit Sarkar (Jira)" <ji...@apache.org> on 2021/03/28 14:46:00 UTC

[jira] [Created] (SSHD-1151) How to check if NIO Worker Threads are getting set

Susmit Sarkar created SSHD-1151:
-----------------------------------

             Summary: 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


Hello Team,
 /**
     * Number of NIO worker threads to use.
     */    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));


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. Need help and guidance.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org