On Wed, Jun 19, 2013 at 3:44 PM, Rainer Gerhards <[email protected]>wrote:
> > On Wed, Jun 19, 2013 at 11:34 AM, Christian Hammers < > [email protected]> wrote: > >> Hello >> >> I have a setup with about 100 chroot'ed SFTP accounts which all have their >> separate /dev/log socket inside the chroot so that the OpenSSH SFTP server >> can log the FTP commands to it. >> >> That seems too much for rsyslog as I now get the following error message: >> >> rsyslogd: Out of unix socket name descriptors, ignoring >> /srv/sftp-xxx/dev/log >> >> I've seen the following line in ./plugins/imuxsock/imuxsock.c >> >> #define MAXFUNIX 50 >> ... >> /* add an additional listen socket. Socket names are added >> * until the array is filled up. It is never reset, only at >> * module unload. >> * TODO: we should change the array to a list so that we >> * can support any number of listen socket names. >> * rgerhards, 2007-12-20 >> * added capability to specify hostname for socket -- rgerhards, >> 2008-08-01 >> */ >> static rsRetVal >> addLstnSocketName(void __attribute__((unused)) *pVal, uchar *pNewVal) >> { >> .. >> if(nfd < MAXFUNIX) { >> ... >> } else { >> errmsg.LogError(0, NO_ERRCODE, "Out of unix socket name >> descriptors, ignoring %s\n", pNewVal); >> >> >> Would it be safe to just raise this compile time number to say 150 or >> would >> I run into even nastier problems then? >> >> > definitely yes > > >> Maybe the "TODO" point in the above comment could be put on the feature >> wishlist for one of the next releases? :-) >> >> > I'll have a look, maybe it's a quick thing for in between other work ;) > well... it wasn't hard to do, but many other things came into the way. finally it is done: http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=af5a67eb23ce15a5c226ca4c10fd774a2ce985b0 This will be released with 7.5.4. Rainer > > Rainer > >> Best Regards >> >> -christian- >> _______________________________________________ >> rsyslog mailing list >> http://lists.adiscon.net/mailman/listinfo/rsyslog >> http://www.rsyslog.com/professional-services/ >> What's up with rsyslog? Follow https://twitter.com/rgerhards >> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad >> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you >> DON'T LIKE THAT. >> > > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

