<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, I just got a note from my web hosting co, saying that my sql use
attributed to cdash is too large. I poked around and it seems that I
have set cdash to delete builds older than 30 days via the admin
panel, but that is not occurring. I tried to run the
autoRemoveBuilds script from the shell but the first attempt ran for
a while before it reported "Terminated". My subsequent attempts
error out, see output pasted below.<br>
<br>
Can anyone advise on how to delete the old builds?<br>
<blockquote><tt>host190:~/www/CDash$php --version</tt><br>
<tt>PHP 5.6.27 (cli) (built: Oct 20 2016 20:14:23) </tt><br>
<tt>Copyright (c) 1997-2016 The PHP Group</tt><br>
<tt>Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies</tt><br>
<tt> with the ionCube PHP Loader (enabled) + Intrusion
Protection from ioncube24.com (unconfigured) v5.1.2, Copyright
(c) 2002-2016, by ionCube Ltd.</tt><br>
<tt> with SourceGuardian v11.0.2, Copyright (c) 2000-2016, by
SourceGuardian Ltd.</tt><br>
<tt> with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by
Zend Technologies</tt><br>
<tt> with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by
Zend Technologies<br>
<br>
</tt><tt>host190:~/www/CDash$php autoRemoveBuilds.php all</tt><br>
<tt>removing builds for all </tt><br>
<tt> -- removing old buildids for projectid: 1</tt><br>
<tt>Terminated<br>
<br>
</tt><tt>host190:~/www/CDash$php autoRemoveBuilds.php all</tt><tt><br>
</tt><tt>removing builds for all </tt><tt><br>
</tt><tt> -- removing old buildids for projectid: 1</tt><tt><br>
</tt><tt>MySQL server has gone awaySQL error in
remove_build():MySQL server has gone away<br> -- removing
old buildids for projectid: 1</tt><tt><br>
</tt><tt>MySQL server has gone awaySQL error in
dailyupdates::removeFirstBuilds():MySQL server has gone
away<br> -- removing old buildids for projectid: 2</tt><tt><br>
</tt><tt> -- removing old buildids for projectid: 2</tt><br>
</blockquote>
</body>
</html>