On Wed, 23 Nov 2005, Maarten Litmaath wrote:
> Are you sure the setpgrp() calls themselves were hanging, or was it
> rather an I/O involving the terminal afterwards? If the process group is
> not the same as that of the terminal, and if you have done something
> like "stty tostop" (check with "stty -a"), the background process will
> hang on an I/O with the terminal.
Hi Maarten,
this is what I discovered this morning, that midnight commander sets the
tostop flag on the terminal. So this is why it hangs when run from the mc.
> Now, since lcg-info-generic is called by the MDS GRIS, it suggests that
> /etc/init.d/globus-mds is not careful enough to dissociate the slapd
> from the terminal. You can open a bug for that.
I will probably first wait for some more time if the bug doesn't appear
again. The I will probably for a short while put the setpgrps back there
to see if the bug will appear again. If so, I will definitely open a bug.
Thanks,
--
Jiri Kosina
Institute of Physics, Academy of sciences of the Czech Republic
|