strange hanging job

From: Adam Lupu-Sax <lupu-sax_at_typhoon.harvard.edu>
Date: Sun, 22 Feb 1998 17:28:15 -0500

        Hello all. I've got a strange one.

        I have 4 alpha machines (3 3000/600s and one 500/500), lets
call them A, B, C, and D (I'm very creative!). All are running
DU4.0B.

        A is the NIS master server and exports /usr/local, B is a
slave server and exports home directories (which are mounted by
automount on all 4 machines).

        Any user on machine C tries

user_at_C> gcc -c test.c


from their home directory and the command never returns. As far as I
can tell, it gets stuck in /usr/lib/cmplrs/cc/as1. When I do a "ps
uxw" as that user I see the "gcc" job, an "as" job and the "as1" job
but I'm guessing that "gcc" launches "as" which launches "as1" and so
when "as1" hangs all three jobs are there.

        The jobs don't die politely. If you kill just the gcc job,
nothing happens. If you kill all 3 nothing happens for a while (10 or
15 minutes!) and then the jobs die (and the gcc job reports being
killed).

        Perhaps strangest of all, this only happens if "test.o", the
file gcc is trying to make, doesn't exist. If I first do a "touch
test.o" and then the gcc command, it works fine.

        It also seems to work fine as root and everything is working
fine on machine D which has the same NIS/NFS relationship to machines
A and B as machine C.

        Any ideas? Thanks a lot.



                                                        -Adam
____________________________________________________________
Adam Lupu-Sax <lupu-sax_at_typhoon.harvard.edu>
http://monsoon.harvard.edu/~lupu-sax
PGP public key: http://monsoon.harvard.edu/~lupu-sax/key.asc
Received on Sun Feb 22 1998 - 23:28:30 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT