ps -ef hangs on linux-2.4.9

From: trkannan76 (trkannan76@myrealbox.com)
Date: Tue Sep 11 2001 - 03:34:38 EST


Hello ,
       I am running a multithreaded daemon on the 2.4.9 kernel. One of
the threads of the daemon is getting a SIGSEGV. After this when I tried to
find the process state using the command:
   $ ps -ef
   This just hangs, Ctrl-C or Ctrl-Z also does not interrupt this. The
only option I have is to reboot machine.
   When I did a strace on the same command, I found out that ps -ef , was
hanging when it tried to read from the /proc/<pid of killed daemon>/*.
   Is there any way I can reset the /proc directory without rebooting the
machine. After this , even the killall -9 does not work , even this
command hangs.
   Any help will be of real great value. Thank you for the help.

Regards,
Kannan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 15 2001 - 21:00:31 EST