<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>yes, that script fixed the disk usage of that site, the group
disk usage dropped from 401.71 to 33.35MB, what is about the size
of all current log files of that site:</p>
<pre style="font-size:85%;"># ll /home/sites/africa.nelembo.com/logs
drwxrws--- 10 SITE7-logs site1 4096 Apr 6 07:59 2013/
drwxrws--- 14 SITE7-logs site1 4096 Dec 2 2014 2014/
drwxrws--- 12 SITE7-logs site1 4096 Dec 2 2015 2015/
drwxrws--- 14 SITE7-logs site1 4096 Dec 2 2016 2016/
drwxrws--- 14 SITE7-logs site1 4096 Dec 2 2017 2017/
drwxrws--- 7 SITE7-logs site1 4096 May 2 03:39 2018/
-rw------- 1 SITE7-logs site1 8303 Jul 10 2003 <a class="moz-txt-link-abbreviated" href="ftp://ftp.cache">ftp.cache</a>
-rw-r--r-- 1 SITE7-logs site1 17945 Jul 10 2003 <a class="moz-txt-link-abbreviated" href="ftp://ftp.log">ftp.log</a>
-rw-r--r-- 1 SITE7-logs site1 18107 Jul 10 2003 <a class="moz-txt-link-abbreviated" href="ftp://ftp.stats">ftp.stats</a>
-rw------- 1 SITE7-logs site1 3924 Mar 6 2008 mail.cache
-rw-r--r-- 1 SITE7-logs site1 6123 Mar 6 2008 mail.log
-rw-r--r-- 1 SITE7-logs site1 14058 Mar 6 2008 mail.stats
-rw-r--r-- 1 SITE7-logs site1 0 Aug 21 2012 mbox
-rw------- 1 SITE7-logs site1 354673 Jun 1 2008 web.cache
-rw------- 1 SITE7-logs site1 354741 Jun 2 2008 web.cache.new
-rw-rw---- 1 SITE7-logs site1 1068 Feb 7 2011 web.daily
-rw-rw---- 1 SITE7-logs site1 15630336 Jul 12 03:33 web.log
-rw-rw---- 1 SITE7-logs site1 674066 Dec 2 2012 web.log-20121202.gz
-rw-r--r-- 1 SITE7-logs site1 105742 Jun 2 2008 web.stats</pre>
<p>this listing was done <b>before</b> I executed the script. So
there was obviously another large logfile outside SITE1's logs dir
that had SITE1's ownership...</p>
<p>But there must be another file — not a log file — that has the
wrong ownership, the disk usage of that site is unchanged <nobr>115%
:</nobr> <br>
</p>
<table style="border-collapse: collapse;font-size:85%;">
<thead style="background-color:#1c5ea0;"><tr>
<th colspan="5" style="border:solid 1px 1c5ea0;"><span
style="font-size:4px;"> </span></th>
</tr>
</thead> <thead style="background-color:#e6ecef;color:#444;"><tr>
<th style="width: 20px;border:solid 1px Silver;"> </th>
<th style="width: 120px;border:solid 1px Silver;">
<div><label for="vsiteName">Full Host Name</label></div>
</th>
<th style="width: 120px;border:solid 1px Silver;">
<div><label for="vsiteUsed">Disk Usage</label></div>
</th>
<th style="width: 140px;border:solid 1px Silver;"
align="center">
<div><label for="vsiteQuota">Allowed Disk Space</label></div>
</th>
<th style="width: 120px;border:solid 1px Silver;"
align="center">
<div><label for="percentage">Percentage Used</label></div>
</th>
</tr>
</thead> <tbody>
<tr>
<td align="center"> <span style="color:Red;font-size:120%;">•</span> </td>
<td align="center"><a
href="https://blue2.waveweb.ch:81/disk/groupDiskUsage?group=site1&serverDiskUsage=1">africa.nelembo.com</a></td>
<td align="center">172.40MB</td>
<td align="center">150.00MB</td>
<td align="center" width="30">115%</td>
</tr>
</tbody>
</table>
<p>Do you carry another script that fixes this, too?<br>
</p>
<p>Thank you Michael<br>
</p>
<br>
<div class="moz-cite-prefix">On 12.07.18 17:39, Michael Stauber
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:a2b144b0-1f30-0463-6bf9-06307c79f7d7@blueonyx.it">
<pre wrap="">Hi Meaulnes,
</pre>
<blockquote type="cite">
<pre wrap="">I encountered a weird problem: a virtual site uses uses more then the
attributed disk space: 115% ! At /:81/disk/serverDiskUsage/, it displays
Now can anyone tell me where that log file is? A search with find
/home/.sites -type f -size +200000k -exec ls -FAl {} \; showed only
large mboxes, but no log files. Or is it the sum of all logfiles? Which
</pre>
</blockquote>
<pre wrap="">This is the sum of all logfiles owned by user "SITE1-logs" (in your case).
These logs usually reside in the /logs directory of the Vsite.
Example: /home/sites/<Vsite-Name>/logs
There is also a weird case where some logs might eventually end up being
owned by the wrong user/group. You can fix that by running this command:
/usr/sausalito/sbin/fix_user_UID_and_GID.pl
My suggestion: Run that command and then see if the disk usage for logs
for that Vsite dropped back to normal levels.
</pre>
</blockquote>
<br>
</body>
</html>