Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    high software interrupt usage


    We have a server application in java using nio running on linux.
    We have 20000 open sockets and when we send traffic only to one of them we saw when running top that the software interrupt (si) cpu usage is high.
    Is there a limit to number of open sockets ? How can we decrease the si usage ?


  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    There are limits to the number of file descriptors that a system can support, which is configurable, but then your configuration may exceed practical limits, resulting in degraded performance as you are apparently experiencing. In any case 20K open sockets is a VERY large (in my experience) number. Why so many? If that many client applications are trying to communicate with your server, you may be better served by use of a message bus such as TIB, MQ-Series, or even simple Posix message queues.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts