NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: TFTP spawn issue



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, Johnny,

2012/03/27 04:47, Johnny Billquist wrote:
> I think that is bad advice. If the max spawn rate is exceeded, there is
> something wrong. Increasing the max spawn rate will not solve that, but
> can cause greater problems. However, I suspect the end result will just
> be the same, but it will have forked more times before disabling the
> service.
>
> What I'd do is I'd disable the service in inetd.conf, and run it by hand
> on the command line, with debugging enabled. That would probably give a
> hint on what the problem is.
>
>       Johnny

 I agree if it is an ordinary service.
 In my experience, some PXE client sends many tftp request within
a short period, so relaxing a max spawn rate for tftpd is one of
a solution, I think. In such situation, fixing PXE client will be
better solution if PXE client's code can be modified, but my solution
can be applied quickly.
 However, my solution may not be effected if Mark's situation is
different with my experience.

Best Regards,
- -- 
MASUDA Hideo    (h-masuda%ootani.nagata.kobe.jp@localhost)
Key fingerprint = C532 9F5B 4D7D DA76 8BFF  CAA3 C073 5C9E 10FF 98EF

> On 2012-03-26 12:56, MASUDA Hideo wrote:
> Hi Mark,
> 
>   Try this configuration.
> 
> /etc/inetd.conf ---
> tftp dgram udp wait:400 root /usr/libexec/tftpd       tftpd -l -s /tftpboot
> #                  ^^^^<- increase max spawn rate
> #                          from 40 (default) to 400 (example).
> 
>   See Also inetd.conf(5).
> 
> Cheers.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Vine - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPcQnRAAoJEMBzXJ4Q/5jvpUwIAJQX+Z0Vuu7mkOUXHktUzc4Z
R7DTzRq6GT/nEVChPbt3VQNOCU8o0p3PA5WRr8pOOXeheebbMLEbKTYOo23HiQCR
hDaduUQtOtVlRgQgRs1C/7CHjN6/zrCU+AwG+c2bL1o+MeZdDhKbH0QqPUTWZ7in
RXJL+TfDsY5IFhfu3KmTUcCesmWB7MEgtZ8GbjSBTN9cp4NuSwRhXEix51azQnYI
2gTTPHy4HEFxGeghWVryB9FvjcakEP4CguoFgY0+SPesnRgKtCEqbCUzOkdmhsBo
nvXMapTLhWhrrsgSXPUAwRPJyIPfSw8BPzZDXXwuS4pDwnyrjWA5S4XpCFKQ8DU=
=c+NM
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index