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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • 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. “git count-objects” Command Examples
  2. lrztar: command not found
  3. vgs Command Examples in Linux
  4. journalctl Command Examples in Linux
  5. ipcalc Command Examples in Linux
  6. How to Limit some User Memory Resources on CentOS/RHEL using cgroup
  7. gitlint Command Examples
  8. pgrep: command not found
  9. srun: command not found
  10. drush: A command-line shell and scripting interface for Drupal

You May Also Like

Primary Sidebar

Recent Posts

  • gml2gv Command Examples
  • glow Command Examples
  • glib-compile-resources Command Examples
  • glances Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright