Skip to content

Commit

Permalink
DLPX-90573 Support bundle collection leads to a prolonged CPU starvat…
Browse files Browse the repository at this point in the history
…ion on engines with a high number of containers
  • Loading branch information
grwilson committed May 13, 2024
1 parent d0b85e0 commit 78b2b7d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@
state: restarted
listen: "vmware-tools config changed"
when: ansible_virtualization_type != "systemd-nspawn" and not ansible_is_chroot

- command: /usr/bin/udevadm control --reload
listen: "udev config changed"
when: ansible_virtualization_type != "systemd-nspawn" and not ansible_is_chroot
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,20 @@
regexp: 'disk\/by-id\/wwn-'
replace: 'disk/by-id/wwn/'

#
# The default udev persistent storage rule will call 'blkid' on every
# device except sr devices. This can be very expensive when running
# on a system with lots of zvols and can result in udev event storms
# that can last hours. This will override the default rule and skip this
# call on zvols.
#
- lineinfile:
path: /etc/udev/rules.d/60-persistent-storage.rules
backrefs: yes
regexp: '(KERNEL!="sr\*)\"(.*)'
line: '\1|zd*"\2'
notify: "udev config changed"

#
# Enable CRA for external variants
#
Expand Down

0 comments on commit 78b2b7d

Please sign in to comment.