gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Gump Wiki] Update of "VmgumpConfig" by StefanBodewig
Date Thu, 19 Aug 2010 20:42:26 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Gump Wiki" for change notification.

The "VmgumpConfig" page has been changed by StefanBodewig.
http://wiki.apache.org/gump/VmgumpConfig?action=diff&rev1=70&rev2=71

--------------------------------------------------

  CVS password: 
  }}}
  
+ === Clean up after Surefire ===
+ 
+ At least with the versions we use sometimes Surefire leaves java processes around when it
times out tests.  The included post-run script kills them once Gump is done.  It is not the
most sophisticated script but does what it is supposed to do, as long as there is only one
Gump instance running at a time.
+ 
+ Create {{{/srv/gump/public/gump/cron/local-post-run-vmgump.sh}}}
+ 
+  {{{
+ #!/bin/sh
+ 
+ free
+ ps -C java -f -w -w | fgrep surefire
+ for i in `ps -C java -o pid,command -w -w | fgrep surefire | cut -c 1-5`; do
+     echo "Killing $i"
+     kill -9 $i
+ done
+ free
+ }}}
+ 
+ and make it executable.
+ 
  == make Gump send out mails ==
  
  '''Only one machine should be sending nag mails.  As of 2010-08-09 this is vmgump2'''

Mime
View raw message