[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: >1024 connections in slapd / select->poll



only present in the children. You can spawn as many of these child processes as necessary to keep the total number of active descriptors in each process down to a manageable limit, using shared memory to coordinate the rest of the program.

What's your goal with the multiple processes ? To work around an OS limit on the max number of
descriptors per process ? Or some other thing ?


(Modern OS versions allow large numbers of descriptors
per process, BTW, and they have threads which allow
exploitation of SMP hardware in a single process).