Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config IO_SELECT_COUNT 2,but the io select thread only one #2625

Closed
abners opened this issue Dec 23, 2022 · 2 comments · Fixed by #2626
Closed

config IO_SELECT_COUNT 2,but the io select thread only one #2625

abners opened this issue Dec 23, 2022 · 2 comments · Fixed by #2626
Assignees
Labels
type/documentation A documentation update
Milestone

Comments

@abners
Copy link

abners commented Dec 23, 2022

image
I config the io select thread 2

Expected Behavior

after application started,the io select thread should have 2

Actual Behavior

there is only 1 io select thread
image

No matter how many io select threads I configure,there‘s only have one io select thread actually

Steps to Reproduce

Possible Solution

Your Environment

  • Reactor version(s) used: reactory-netty 1.0.26
  • netty 4.1.86
  • Other relevant libraries versions (eg. netty, ...):
  • spring cloud gateway: 3.1.4
  • JVM version (java -version): 1.8
  • OS and version (eg. uname -a): macos
@abners abners added status/need-triage A new issue that still need to be evaluated as a whole type/bug A general bug labels Dec 23, 2022
@violetagg violetagg removed the status/need-triage A new issue that still need to be evaluated as a whole label Dec 23, 2022
@violetagg violetagg self-assigned this Dec 23, 2022
@violetagg
Copy link
Member

@abners Yes you are right, may be we need to clarify in the documentation that no more than 1 selector thread is used when there is a custom configuration.
Take a look here https://stackoverflow.com/questions/28665906/netty-boss-event-loop-and-executor, although the question is not about this, the answer explains very well the boss and worker EventLoopGroup.
Also this one https://stackoverflow.com/questions/28331809/netty-bootstrap-with-boss-group-or-with-just-with-workers-eventloopgroup explains when you may need boss EventLoopGroup.

@violetagg violetagg added type/documentation A documentation update for/user-attention This issue needs user attention (feedback, rework, etc...) and removed type/bug A general bug labels Dec 23, 2022
@violetagg violetagg added this to the 1.0.27 milestone Dec 23, 2022
@violetagg violetagg removed the for/user-attention This issue needs user attention (feedback, rework, etc...) label Dec 23, 2022
@violetagg violetagg linked a pull request Dec 23, 2022 that will close this issue
@abners
Copy link
Author

abners commented Dec 23, 2022

ok,understand, thank you for your reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/documentation A documentation update
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants