Jump to content
  • 0
Azhura

Centos Limitation 1024

Question

11 answers to this question

Recommended Posts

  • 0

update to latest hercules and enable epoll

it will use 3k connections by default.

 

Share this post


Link to post
Share on other sites
  • 0

--enable-epoll uses different type of socket selection mechanism, which allows us to have flexibility in increasing the connections, more detailed info:
https://man7.org/linux/man-pages/man7/epoll.7.html

https://medium.com/@copyconstruct/the-method-to-epolls-madness-d9d2d6378642

Share this post


Link to post
Share on other sites
  • 0

And epoll not enabled by default, because on very small servers it may works bit slower than classic sockets way.

Also more connections enabled at same time, mean server eating more memory.

 

Share this post


Link to post
Share on other sites
  • 0

Thank you for your response I will use the latest revision and give the epoll another shot but as for my experience it didn't worked using Release v2018.12.16+1.

Share this post


Link to post
Share on other sites
  • 0

in old releases need manually change max number of connections in socket.c. And default value still 1024 for epoll and not epoll.

in new releases it can be changed from configure.

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, 4144 said:

in old releases need manually change max number of connections in socket.c. And default value still 1024 for epoll and not epoll.

in new releases it can be changed from configure.

 

Thank you so much for that information! That solves my issues for the release.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.