bdflush and postgres stuck in D state

Jakob Østergaard (jakob@unthought.net)
Tue, 18 Sep 2001 12:56:05 +0200


Hello,

I have a machine here with (RedHat 7.0 plus official updates plus kernel.org
kernel):

[osprey:joe] $ uname -a
Linux osprey 2.4.7 #1 Sat Jul 21 21:50:21 CEST 2001 i686 unknown

[osprey:joe] $ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)

/ is mounted on a four disk (software) RAID-5, the same four disks are used for
a RAID-1 but the fs on there is mounted somewhere irrelevant for this post.

All fs are ext2. The machine is not heavily loaded at all. What made me
wonder was, that the load on the machine was '1' some days ago, today it was
'2'. The machine usually has 90%+ CPU idle, and doesn't use the disks very
much. Looking at 'ps' shows:

[osprey:joe] $ ps ax|grep ' D'
6 ? DW 0:26 [bdflush]
10023 ? D 0:00 /usr/bin/postmaster -D /var/lib/pgsql/data

But there is *NO* disk activity. The processes are just stuck. As far as
I can see, there's nothing even remotely suspicious in dmesg.

Any ideas ? I can dig further before rebooting and trying 2.4.9
if someone tells me where to dig...

-- 
................................................................
:   jakob@unthought.net   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
-
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/