dao-jun commented on PR #23165:
URL: https://github.com/apache/pulsar/pull/23165#issuecomment-2288016642

   Let me explain it more clearly:
   1. When we don't set `SO_BACKLOG` to netty, netty will read the value 
configured in `/proc/sys/net/core/somaxconn` file
   2. Netty has a chance to fail to read the value from 
`/proc/sys/net/core/somaxconn` due to SecurityManager Exception
   3. If netty is unable to read the value in `/proc/sys/net/core/somaxconn`, 
the SO_BACKLOG will be set to 128 on linux/MacOS
   4. Even though the value configured in `/proc/sys/net/core/somaxconn` is 
4096 but netty couldn't read the value from it, the SO_BACKLOG will be set to 
128 in the final.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to