Why does systemd-sysctl service fails on every boot with invalid argument ?

Solution Verified - Updated -

Issue

  • systemd-sysctl fails on every boot with following error message:
systemd-sysctl: Failed to write '3145728      #...shmmax/pagesize...' to '/proc/sys/kernel/shmall': Invalid argument
systemd-sysctl: Failed to write '12884901888  #...75% of 16GB    ...' to '/proc/sys/kernel/shmmax': Invalid argument
  • Why does sysctl throws Invalid Argument error ?

Environment

  • Red Hat Enterprise Linux 7 (RHEL 7)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.