From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Steiner Date: Sun, 03 Oct 2004 21:10:52 +0000 Subject: Re: Hanging udev process on nfs-mounted /dev Message-Id: <41606ADC.1090707@bio.ifi.lmu.de> List-Id: References: <415980BF.1020401@bio.ifi.lmu.de> In-Reply-To: <415980BF.1020401@bio.ifi.lmu.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, I got two hosts locked with those hanging udev processes. I can leave them in this state for at least the whole Monday. Kay Sievers wrote > This may be the process that blocks all the other ones. If you can find > one of these beasts, please attach gdb to the running process and look > if we find something in the backtrace. Here is a sample from my > "lock the whole file"-test application: > > * [root@pim ~]# gdb -p 14727 > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > Attaching to process 14727 > ... > Reading symbols from /home/kay/src/lock...(no debugging symbols found)...done. > Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. > Loaded symbols for /lib/ld-linux.so.2 > 0x0804839f in spin () > * (gdb) bt > #0 0x0804839f in spin () > #1 0x08048405 in main () > * (gdb) q > The program is running. Quit anyway (and detach it)? (y or n) y > Detaching from program: /home/kay/src/lock, process 14727 > [root@pim ~]# Unfortunately, this fails :-( GNU gdb 5.3.92 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux". Attaching to process 24498 ptrace: Operation not permitted. /export/localhome/root/24498: No such file or directory. From googling I learned that this could be a problem with child processes that were forked or sth. similar... Anything else I can do on the hanging hosts to provide helpful information? I hope that they don't crash too soon, because there are a lot of hanging udev processes now, with only one taking all the cpu time, Likely the others are all just waiting for the one to unlock the database... cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: -4054 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel