VirtualBox

Changeset 75623 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Nov 20, 2018 4:36:10 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126800
Message:

testdriver/vboxinstaller.py: Solaris experiment - restart svc.configd after uninstall to prevent it getting sluggish.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py

    r70521 r75623  
    716716        sRsp = self._generateAutoResponseOnSolaris();
    717717        fRc, _ = self._sudoExecuteSync(['pkgrm', '-n', '-a', sRsp, 'SUNWvbox']);
     718
     719        #
     720        # Restart the svc.configd as it has a tendency to clog up with time and
     721        # become  unresponsive.  It will handle SIGHUP by exiting the sigwait()
     722        # look in the main function and shut down the service nicely (backend_fini).
     723        # The restarter will then start a new instance of it.
     724        #
     725        time.sleep(1); # Give it a chance to flush pkgrm stuff.
     726        self._sudoExecuteSync(['pkill', '-HUP', 'svc.configd']);
     727        time.sleep(5); # Spare a few cpu cycles it to shutdown and restart.
     728
    718729        return fRc;
    719730
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette