Skip to contentSkip to conversation

NFS client stall within __lock_page()

DISCUSSION [email protected] 1 participant 2 messages Jan 10, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore 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.

Quoted 1 line

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 <[email protected]>
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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw

Hi, all.

Quoted 6 lines

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.

I want to add one thing.

I saw the following message after the program started, but I am not sure the accurate time and date of the stall. In addition, it appears frequently (a few times in a day?) and it seems to have no relation with the problem.

    Dec 26 17:41:19 client kernel: nfs_notify_change: revalidate failed, error=-116

Regards,
--
MIYOSHI Kazuto <[email protected]>
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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs