Date: Thu, 14 Feb 2002 10:50:07 -0800 (PST) From: Maxim Konovalov <maxim@macomnet.ru> To: freebsd-bugs@FreeBSD.org Subject: Re[2]: bin/34934: inetd under load closes socket Message-ID: <200202141850.g1EIo7D73596@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/34934; it has been noted by GNATS. From: Maxim Konovalov <maxim@macomnet.ru> To: "Alexander S. Usov" <lex@itv.kiev.ua> Cc: "Alexander S. Usov" <usov@itv.kiev.ua>, <freebsd-gnats-submit@FreeBSD.ORG> Subject: Re[2]: bin/34934: inetd under load closes socket Date: Thu, 14 Feb 2002 21:48:27 +0300 (MSK) On 20:51+0200, Feb 14, 2002, Alexander S. Usov wrote: > Hello Maxim, > > Thursday, February 14, 2002, 8:35:49 PM, you wrote: > > MK> I believe it is a correct behaviour. From man 8 inetd: > > MK> -R rate > MK> Specify the maximum number of times a service can be > MK> invoked in one minute; the default is 256. A rate of 0 > MK> allows an unlimited number of invocations. > > MK> Did you change the defaults inetd startup flags? Could you please show > MK> grep inetd /etc/rc.conf output? > > ---- /etc/rc.conf --- > inetd_enable="YES" > --------------------- > > ---- /etc/defaults/rc.conf --- > inetd_enable="YES" # Run the network daemon dispatcher (YES/NO). > inetd_program="/usr/sbin/inetd" # path to inetd, if you want a different one. > inetd_flags="-wW" # Optional flags to inetd > ------------------------------ > > --- ps -ax |grep inetd ------- > 620 ?? Is 0:00.96 /usr/sbin/inetd -wW > ------------------------------ So it is quite correct. You can run inetd with -R 0 but I recommend to restrict rate service invocation per IP basis by -C flag. Can I close this PR? -- Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer phone: +7 (095) 796-9079, mailto:maxim@macomnet.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202141850.g1EIo7D73596>