Re: [SSI-devel] strange inetd/tftp behavior
Brought to you by:
brucewalker,
rogertsang
From: John B. <joh...@hp...> - 2003-01-24 20:47:23
|
Christian Lyra wrote: > Hi, > > what is a "toss with SIGCLUSTER"? I tried to transfer the kernel image with > a tftp client and I can only get the image one time after the inetd is > started. every other try fail until inetd is restarted. This doesnt happens > with a vannila kernel. > Everytime a node joins (actually changes its membership state), SIGCLUSTER (stolen from one of the realtime signals) gets sent to all the processes on the system. (This was a holdover from the UnixWare implementation.) Aneesh suspects your inetd is dying because of this. If you strace your inetd and it is dying because it is receiving a signal (49 I believe) then Aneesh is correct. This is to be changed in the near future using the linux fasync mechanism. Applications concerned about changes in the cluster membership will open a file descriptor in /proc and use the F_SETOWN and F_SETSIG fcntls to specify that they receive signals and what signal it will be. John Byrne |