Some NFS file transfers fail and hang automounting

From Linux NFS

Revision as of 14:41, 22 October 2010 by Amschuma (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Symptoms

  • Given a file "foo" of 50Mb on a remote machine "remote".
  • This command will never finish
    <localmachine $> cp /remote_mount_point/foo bar 
  • bar will have a size less than foo.
  • automounting of the local machine is hung.

The error message in /var/log/messages is: kernel: Callback slot table overflowed

If foo is lesser than 10Mb, the problem does'nt occur. After several tries with the source of 50Mb, the different sizes of the target file "bar" are random.

This incident occurs with: sunrpc.tcp_slot_table_entries = 16

but after tunning this parameter, all is fine with: sunrpc.tcp_slot_table_entries = 32

Personal tools