[
https://issues.apache.org/jira/browse/SSHD-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Susmit Sarkar updated SSHD-1151:
--------------------------------
Description:
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. Need help and guidance.
was:
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.
> 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. 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]