rhtyd commented on a change in pull request #3127: Improve System VM startup 
and memory usage [4.11]
URL: https://github.com/apache/cloudstack/pull/3127#discussion_r286553041
 
 

 ##########
 File path: 
tools/appliance/systemvmtemplate/scripts/configure_systemvm_services.sh
 ##########
 @@ -108,11 +108,27 @@ function configure_services() {
   systemctl disable strongswan
   systemctl disable x11-common
   systemctl disable xl2tpd
+  systemctl disable vgauth
+  systemctl disable sshd
+  systemctl disable nfs-common
+  systemctl disable portmap
+
+
+  # Disable guest services which will selectively be started based on 
hypervisor
+  systemctl disable open-vm-tools
+  systemctl disable xe-daemon
+  systemctl disable hyperv-daemons.hv-fcopy-daemon.service
+  systemctl disable hyperv-daemons.hv-kvp-daemon.service
+  systemctl disable hyperv-daemons.hv-vss-daemon.service
+  systemctl disable qemu-guest-agent
 
   configure_apache2
   configure_strongswan
   configure_issue
   configure_cacerts
+
+  # patch known systemd/sshd memory leak - 
https://github.com/systemd/systemd/issues/8015#issuecomment-476160981
+  echo '@include null' >> /etc/pam.d/systemd-user
 
 Review comment:
   :+1: 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to