All of lore.kernel.org
 help / color / mirror / Atom feed
From: miyoshi@hpc.bs1.fc.nec.co.jp
To: nfs@lists.sourceforge.net
Cc: tanaka-h@mxm.nes.nec.co.jp
Subject: NFS client stall within __lock_page()
Date: Fri, 10 Jan 2003 15:19:29 +0900	[thread overview]
Message-ID: <20030110151929Z.miyoshi@hpc.bs1.fc.nec.co.jp> (raw)


Hi, all.

I am using kernel 2.4.17 as an NFS client (server is HP-UX)
and one of client processes hangs and never wakes up.

>From kdb backtrace (attached), I found that the client process
stalls within nfs write and never returns (kill -9 is not accepted.)
It sleeps on __lock_page.

sys_write
  ->nfs_file_write
    ->generic_file_write
      ->__find_lock_page
        ->lock_page
          -> __lock_page

I am not so sure that this is actually the nfs problem (because the
process stalls on upper layer than nfs) but other processes or kernel
daemons seem to sleep normally, compared with live-and-well system.
So, I think the acitivity of the NFS client just before the stall
may be suspicious (?)

The machine itself is alive and I can log into it and get information
via lcrash. I appreciate if you provide me where to investigate.

BTW, Filesystem in question is mounted as:

     file:/xxxx/yyyy on /xxxx/yyyy type nfs
       (rw,rsize=16384,wsize=16384,timeo=14,nfsvers=3,intr,
       bg,addr=zzz.zzz.zzz.zzz)

Do you have any idea??


- whole backtrace of the client in question

Stack traceback for pid 5172
0xe0000000044ee740 schedule+0xbe0
        args (0xe000000102faf618, 0xe00000000452b140, 0x50c, 0xe0000004a5e94ec0, 0x0)
        kernel .text 0xe000000004400000 0xe0000000044edb60 0xe0000000044ee920
0xe00000000452b160 __lock_page+0x160
        args (0xe000000102faf600, 0xe000000004c4f340, 0xe0000001176b0000, 0xe000000102faf630, 0xe000000102faf610)
        kernel .text 0xe000000004400000 0xe00000000452b000 0xe00000000452b220
0xe00000000452b2a0 lock_page+0x80
        args (0xe000000102faf600, 0xe00000000452b6e0, 0x307)
        kernel .text 0xe000000004400000 0xe00000000452b220 0xe00000000452b2c0
0xe00000000452b6e0 __find_lock_page_helper+0x140
        args (0xe0000004a5e95000, 0x5c78, 0xe000000102faf600, 0xe000000102faf600, 0xe00000000452b860)
        kernel .text 0xe000000004400000 0xe00000000452b5a0 0xe00000000452b7e0
0xe00000000452b860 __find_lock_page+0x80
        args (0xe0000004a5e95000, 0x5c78, 0xe0000002fd6c7e18, 0xe000000004cb4d80, 0xe000000004531ad0)
        kernel .text 0xe000000004400000 0xe00000000452b7e0 0xe00000000452b880
0xe000000004531ad0 generic_file_write+0x750
        args (0xe0000006fd760900, 0x6000000000718cb0, 0x4000, 0xe0000006fd760938, 0x0)
        kernel .text 0xe000000004400000 0xe000000004531380 0xe000000004532080
0xe0000000045f2130 nfs_file_write+0x230
        args (0xe0000006fd760900, 0x6000000000718cb0, 0x4000, 0xe0000006fd760938, 0xe0000004a5e94ec0)
        kernel .text 0xe000000004400000 0xe0000000045f1f00 0xe0000000045f2160
0xe000000004551bf0 sys_write+0x210
        args (0x8, 0x6000000000718cb0, 0x4000, 0x60000000005d7afc, 0x2fa11)
        kernel .text 0xe000000004400000 0xe0000000045519e0 0xe000000004551ca0
0xe0000000044922e0 ia64_ret_from_syscall
        args (0x8, 0x6000000000718cb0, 0x4000)
        kernel .text 0xe000000004400000 0xe0000000044922e0 0xe000000004492300


Regards,
--
MIYOSHI Kazuto <miyoshi@hpc.bs1.fc.nec.co.jp>
 HPC Operating System Group, 1st Computers Software Division,
 Computers Software Operations Unit, NEC Solutions.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

             reply	other threads:[~2003-01-10  6:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-10  6:19 miyoshi [this message]
2003-01-10  8:12 ` NFS client stall within __lock_page() miyoshi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030110151929Z.miyoshi@hpc.bs1.fc.nec.co.jp \
    --to=miyoshi@hpc.bs1.fc.nec.co.jp \
    --cc=nfs@lists.sourceforge.net \
    --cc=tanaka-h@mxm.nes.nec.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.