ulimits settings fail on system start or logout with invalid argument

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

Environment

SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10 Service Pack 3
SUSE Linux Enterprise Desktop 11
SUSE Linux Enterprise Desktop 10 Service Pack 3


 

Situation

ulimit up to version 1.2-2.4.14 and ulimit up to version 1.2-1.22.1

Using the package ulimit and its config file /etc/sysconfig/ulimit to set security values, the system reports on startup / reboot:
 
/etc/initscript: line 90: ulimit: open files: cannot modify limit: Invalid argument

in /var/log/boot.msg as well as output to the console if the shell of the logged in user is exited. The values set in /etc/sysconfig/ulimit are not reflected by the appropriate ulimit command. Instead 1024 is returned:
 
sle10-iscsi:~ # grep SOFTFDLIMIT /etc/sysconfig/ulimit
SOFTFDLIMIT="4096"
sle10-iscsi:~ # ulimit -Sn
1024
sle10-iscsi:~ #

Please note that for SLE11 the error message changes slightly and reports an issue with line 94 of /etc/initscript.

Resolution

Update ulimit to version 1.2-2.5.1 or later.

Disclaimer

This Support Knowledgebase provides a valuable tool for 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:7005716
  • Creation Date: 12-Apr-2010
  • Modified Date:16-Mar-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

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