Hi all, currently the total number of files (and tcp connections) that can be open simultaneously is limited by the select() system call. Ideally this would be changed to *poll(), but that can take some time.
Until that happens, this patch[1] tries to remove the limitations of select() by enlarging the bit mask that is used for storing file descriptor information and redefining the macros that process it. This modification is inspired by Bind's use of select(). It is rather a workaround and may not be entirely portable. The actual changes to the code aren't big, but they are in many places so sufficient testing is needed. Allocating and freeing fd_sets in some frequently called functions may decrease performance. This can be dealt with but would require more pervasive changes. Thoughts? Thanks, Tomas [1] - http://people.redhat.com/pvrabec/rsyslog-4.4.2-unlimited-select.patch _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

