• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to set children-max for udev Service in CentOS/RHEL 7

by admin

This post will outline steps to set children-max in CentOS/RHEL 7 temporarily and permanently.

Temporary set children-max for udev Service

To change temporarily, without rebooting:

# systemctl status systemd-udevd.service
...
  Status: "Processing with ## children at max"   <--- The original value can be seen
# udevadm control --children-max=[new value]
# systemctl status systemd-udevd.service
...
  Status: "Processing with ## children at max"   <--- The new value can take effect

Persistently set children-max for udev Service (requiring a reboot)

To change permanently, we need to modify the GRUB2 configuration file. Please note that this requires a reboot of the system.

1. Backup the GRUB2 configuration file /boot/grub2/grub.cfg.

2. Edit the line of ‘linux16‘ by adding ‘udev.children-max=[value]‘

from:

linux16 /vmlinuz-4.1.12-###.el7uek.x86_64 root=UUID=### ro crashkernel=auto rhgb quiet

to:

linux16 /vmlinuz-4.1.12-###.el7uek.x86_64 root=UUID=### ro crashkernel=auto rhgb quiet udev.children-max=[value]

3. Save file /boot/grub2/grub.cfg and exit.

4. Reboot the server for the new value to be applied.

# shutdown -r now
/boot/grub2/grub.cfg | grep linux16

Filed Under: CentOS/RHEL 7, Linux

Some more articles you might also be interested in …

  1. How to add additional language support in CentOS/RHEL
  2. Mail Server Components – MTA, MDA and MUA
  3. “530 Non-anonymous sessions must use encryption” – while using curl
  4. Oracle Software Group Accounts OSDBA, OSOPER, Oracle Inventory group
  5. chcon command examples in Linux
  6. kexec: command not found
  7. 10 useful cron examples to schedule jobs in Linux
  8. How to Save Command history of Selected Users in Linux
  9. apport-bug: command not found
  10. CentOS / RHEL 7 : How to Change the machine-id

You May Also Like

Primary Sidebar

Recent Posts

  • nixos-rebuild Command Examples in Linux
  • nixos-option: Command Examples in Linux
  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright