0

What is the maximum number of unix domain socket that linux can manage in parallel, besides the file descriptor limit that we can change? Some Os have a limit https://www.ibm.com/docs/en/ztpf/1.1.0.15?topic=considerations-unix-domain-sockets

I am getting Too many open files os error.I didn't reach the NOFILE Limit.

6
  • I am not aware of Linux having an explicit limit, but I don't find any documentation expressly disclaiming one. Commented Nov 9, 2023 at 23:16
  • @Anis – I wonder why you need that many sockets in one process, given that one-to-many communication is doable over one socket. Commented Nov 10, 2023 at 9:43
  • 1
    @Armali I dealing with legacy code where I use one SOCK_DGRAM in a server for each connection to another. I randomly hit a hidden limit it seems. Commented Nov 10, 2023 at 9:49
  • How did you check how many files were open at the point of failure? Commented Nov 10, 2023 at 10:43
  • we are tracking the number of open fds on the host it is 50k than the maximum set for the process is 200k Commented Nov 10, 2023 at 11:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.