Skip to content

Commit a242c56

Browse files
authored
DLPX-90573 Support bundle collection leads to a prolonged CPU starvat… (#479)
DLPX-90573 Support bundle collection leads to a prolonged CPU starvation on engines with a high number of containers
1 parent d0b85e0 commit a242c56

File tree

2 files changed

+18
-0
lines changed
  • files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform

2 files changed

+18
-0
lines changed

files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/handlers/main.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@
3737
state: restarted
3838
listen: "vmware-tools config changed"
3939
when: ansible_virtualization_type != "systemd-nspawn" and not ansible_is_chroot
40+
41+
- command: /usr/bin/udevadm control --reload
42+
listen: "udev config changed"
43+
when: ansible_virtualization_type != "systemd-nspawn" and not ansible_is_chroot

files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml

+14
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,20 @@
533533
regexp: 'disk\/by-id\/wwn-'
534534
replace: 'disk/by-id/wwn/'
535535

536+
#
537+
# The default udev persistent storage rule will call 'blkid' on every
538+
# device except sr devices. This can be very expensive when running
539+
# on a system with lots of zvols and can result in udev event storms
540+
# that can last hours. This will override the default rule and skip this
541+
# call on zvols.
542+
#
543+
- lineinfile:
544+
path: /etc/udev/rules.d/60-persistent-storage.rules
545+
backrefs: yes
546+
regexp: '(KERNEL!="sr\*)\"(.*)'
547+
line: '\1|zd*"\2'
548+
notify: "udev config changed"
549+
536550
#
537551
# Enable CRA for external variants
538552
#

0 commit comments

Comments
 (0)