xinetd出现svn per_source_limit from=的问题


Aug 16 15:03:53 svnsh xinetd[19280]: EXIT: svn status=0 pid=29949 duration=1(sec)
Aug 16 15:04:27 svnsh xinetd[19280]: FAIL: svn per_source_limit from=

网上查了一下,per_source_limit from=是xinetd的一个机制:


Takes an integer or “UNLIMITED” as an argument. This specifies the maximum instances of this service per source IP address. This can also be specified in the defaults section.


determines the number of servers that can be simultaneously active for a service (the default is no limit). The value of this attribute can be either a number or UNLIMITED which means that there is no limit.


service svn
        disable = no
        per_source              = UNLIMITED
        instances               = UNLIMITED
        port                    = 3690
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = root
        server                  = /usr/bin/svnserve
#        server_args             = -i -r /var/svn-repos
        server_args             = --log-file /var/log/svn.log -i -r /var/svn-repos