All of lore.kernel.org
 help / color / mirror / Atom feed
* cat /proc/fs/nfs/exports hangs
@ 2003-09-02 18:32 Richard Ems
  2003-09-04  2:46 ` Martin Pool
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Ems @ 2003-09-02 18:32 UTC (permalink / raw)
  To: nfs

Hi all!

This is a dual Athlon system with SuSE 8.2.
Kernel is SuSE's k_smp-2.4.21-4.

After 32 days of uptime nfs exports stopped working.
While trying to restart the nfs server them I found that running 
"rcnfsserver restart" hangs on exportfs (process ind D state)

Also a simple "cat /proc/fs/nfs/exports" hangs (process in D state).

The last lines from "strace cat /proc/fs/nfs/exports" show:

munmap(0x40016000, 59621)               = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=32058672, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40158000
close(3)                                = 0
brk(0)                                  = 0x804c68c
brk(0x804d68c)                          = 0x804d68c
brk(0)                                  = 0x804d68c
brk(0x804e000)                          = 0x804e000
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
open("/proc/fs/nfs/exports", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3,  <unfinished ...>

Here the process hangs.

What's happening? The nfs server was running for 32 days and suddenly this!

Thanks, Richard


-- 
    Richard Ems
    ... e-mail: r.ems@gmx.net
    ... Computer Science, University of Hamburg

    "Do or do not. There is no try" - Yoda
    Yoda never programmed in Java.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cat /proc/fs/nfs/exports hangs
  2003-09-02 18:32 cat /proc/fs/nfs/exports hangs Richard Ems
@ 2003-09-04  2:46 ` Martin Pool
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Pool @ 2003-09-04  2:46 UTC (permalink / raw)
  To: r.ems; +Cc: nfs

On  2 Sep 2003 Richard Ems <r.ems@gmx.net> wrote:

> Hi all!
> 
> This is a dual Athlon system with SuSE 8.2.
> Kernel is SuSE's k_smp-2.4.21-4.
> 
> After 32 days of uptime nfs exports stopped working.
> While trying to restart the nfs server them I found that running 
> "rcnfsserver restart" hangs on exportfs (process ind D state)
> 
> Also a simple "cat /proc/fs/nfs/exports" hangs (process in D state).
> 
> The last lines from "strace cat /proc/fs/nfs/exports" show:
> 
> munmap(0x40016000, 59621)               = 0
> open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=32058672, ...}) = 0
> mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40158000
> close(3)                                = 0
> brk(0)                                  = 0x804c68c
> brk(0x804d68c)                          = 0x804d68c
> brk(0)                                  = 0x804d68c
> brk(0x804e000)                          = 0x804e000
> fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
> open("/proc/fs/nfs/exports", O_RDONLY|O_LARGEFILE) = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> read(3,  <unfinished ...>

I don't know the answer, but you can get some more potentially
interesting information by looking at the wait channel of cat and of
other relevant processes.

  # ps axo pid,cmd,wchan

-- 
Martin 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-04  2:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-02 18:32 cat /proc/fs/nfs/exports hangs Richard Ems
2003-09-04  2:46 ` Martin Pool

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.