Hi @rinjyu_N_A and welcome to the MongoDB community!!
It would be very helpful to understand the issue if you could help us with the following details :
- Are you observing any issue while using the default settings? Can you post the errors for the same?
- Could you help in understating the use case for modifying the values and what are the values at which the errors start to occur?
Also, there has been a community forum post related to a similar issue, would suggest if you could use the solution Exception sending message, MongoSocketWriteException.
P.S. 4.2.19 is an older MongoDB version. Please upgrade to 4.2.22 for bug fixes and new features introduced.
Thanks
Aasawari