[Thinlinc-technical] Do vsmserver and vsmagent renice after a	few days?
    David G Miller 
    David.G.Miller-NR at raytheon.com
       
    Thu Mar 19 19:05:02 CET 2015
    
    
  
Hi Patrik -
Thanks.  We decided to go with something a little more fine-grained for our
fix.  I proposed that we modify /etc/logrotate.d/vsmserver
and /etc/logrotate.d/vsmagent.  My suggestion is to add:
[ -f /var/run/vsmserver.pid ] && [ -d /proc/`cat /var/run/vsmserver.pid` ]
&& renice 0 `cat /var/run/vsmserver.pid`
to the postrotate section after the restart.
Cheers,
David G. Miller
Linux/Unix System Administrator
JPSS SEIT Infrastructure
720.216.8437
Raytheon IIS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cendio.se/pipermail/thinlinc-technical/attachments/20150319/a5fd5cd5/attachment-0007.html>
    
    
More information about the Thinlinc-technical
mailing list