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