NetBSD-Users archive

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

Re: TFTP spawn issue



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

On 2012-03-26 12:56, MASUDA Hideo wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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.
> - -- 
> MASUDA Hideo (h-masuda%ootani.nagata.kobe.jp@localhost)
> FingerPrint = C532 9F5B 4D7D DA76 8BFF  CAA3 C073 5C9E 10FF 98EF
> 
> 2012/03/24 00:37, IT geek 31 wrote:
>> I am trying to PXE boot an OS installation media using both PXE and TFTP.
>>
>> I have configured DHCP, the PXE menu file and the appropriate file
>> structure without issue.
>>
>> However, as my client boots, on the NetBSD server I receive the
>> following error in /var/log/messages:
>>
>>            Mar 23 16:35:41 qube1 inetd[596]: tftp/udp max spawn rate
>> (40 in 60 seconds) exceeded; service not started
>>
>> At this point it appears the TFTP daemon crashes and the OS
>> installation on the client fails.
>>
>> I have tried changing the following line to nowait in /etc/inetd.conf,
>> but after a reboot, TFTP refuses to start:
>>
>>            tftp            dgram   udp     wait    root
>> /usr/libexec/tftpd      tftpd -l -s /tftpboot
>>
>> Anyone have any idea what I need to do to get it working?  I'm running
>> NetBSD/cobalt 5.1.
>>
>> Many thanks,
>>
>>
>> -Mark
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Vine - http://enigmail.mozdev.org/
> 
> iQEcBAEBAgAGBQJPcEtkAAoJEMBzXJ4Q/5jvQPQH/3eWdf+MD58DD5TnwnaGqzfT
> 9qSk1uPl2mzxI4uIJ4BFfLfkNAkHbPw5iDpawy85mTRG06KiXyHp/6iljvNH8+gy
> ELo0JpOz3fz0MBnxSWIbR9RLZluqDbk6JWJidX13j2dO+ZoQN6v7nxIW/b//RsA8
> tCoVTLiXwC59j5Mz5tmFByLoWLN7cPpCBq830LG7neCd6QGhs6N+SEVgUoBsKMiR
> dQ5jCHwUcmNxcfNYnMTGVdAylwQVvx1pHjhaMcmywM3E0UaoxMbBco4xpG0nLHqQ
> 0JhjjYBvv8SD/dwsBK+SmJGsZF1KRX2+xsy+J9OQHOMr3XWFFDgyH/SCqJ+AE5Y=
> =R5jH
> -----END PGP SIGNATURE-----


-- 
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index