Direct NFS: Failed to set socket buffer size.wtmax=[1048576] rtmax=[1048576], errno=-1

Hi,

Today, I faced the below errors in my alert log file.

Direct NFS: Failed to set socket buffer size.wtmax=[1056768] rtmax=[1056768], errno=-1
Mon Apr 08 20:00:51 2019
Direct NFS: Failed to set socket buffer size.wtmax=[1056768] rtmax=[1056768], errno=-1
Mon Apr 08 20:00:51 2019
Direct NFS: Failed to set socket buffer size.wtmax=[1056768] rtmax=[1056768], errno=-1
Mon Apr 08 20:00:51 2019
Direct NFS: Failed to set socket buffer size.wtmax=[1056768] rtmax=[1056768], errno=-1
Mon Apr 08 20:00:51 2019
Direct NFS: Failed to set socket buffer size.wtmax=[1056768] rtmax=[1056768], errno=-1
Direct NFS: Failed to set socket buffer size.wtmax=[1056768] rtmax=[1056768], errno=-1
Mon Apr 08 20:00:51 2019
Direct NFS: Failed to set socket buffer size.wtmax=[1056768] rtmax=[1056768], errno=-1

These errors are written to my alert log file during backup operation to NFS mounted backup store. The root cause is tcp_max_buf  is set too small. The error can be fixed by increasing the value of tcp_max_buf.

To display its current value, please run:

# /usr/sbin/ndd /dev/tcp tcp_max_buf
1048576

And increase as following

# /usr/sbin/ndd -set /dev/tcp tcp_max_buf 1056768

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s