My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

Sunrpc settings are not persistent after reboot.

This document (7022831) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)

Situation

Configuring "sunrpc.tcp_max_slot_table_entries" in the /etc/sysctl.conf are not persistent after a reboot. 
They can be set after boot-up by using "sysctl -p" which will read the settings from /etc/sysctl.conf and set them properly. 

error systemd-sysctl[941]: Couldn't write '128' to 'sunrpc/tcp_slot_table_entries', ignoring: No such file or directory.

Resolution

Load the sunrpc kernel module earlier in the boot process.
# echo sunrpc > /etc/modules-load.d/sunrpc.conf
Reboot and test to make sure settings were persistent.

Cause

The sunrpc kernel module is not loaded when the systemd-sysctl service is started.

Additional Information

Potential sunrpc settings that can be set in /etc/sysctl.conf
sunrpc.max_resvport = 1023
sunrpc.min_resvport = 665
sunrpc.nfs_debug = 0x0000
sunrpc.nfsd_debug = 0x0000
sunrpc.nlm_debug = 0x0000
sunrpc.rpc_debug = 0x0000
sunrpc.tcp_fin_timeout = 15
sunrpc.tcp_max_slot_table_entries = 65536
sunrpc.tcp_slot_table_entries = 2
sunrpc.transports = tcp 1048576
sunrpc.transports = udp 32768
sunrpc.transports = tcp-bc 1048576
sunrpc.udp_slot_table_entries = 16

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7022831
  • Creation Date:10-APR-18
  • Modified Date:10-APR-18
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center