[BlueOnyx:22242] Re: Site's disk usage over 100%
Meaulnes Legler @ MailList
bluelist at waveweb.ch
Thu Jul 12 13:01:08 -05 2018
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:
# 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 ftp.cache
-rw-r--r-- 1 SITE7-logs site1 17945 Jul 10 2003 ftp.log
-rw-r--r-- 1 SITE7-logs site1 18107 Jul 10 2003 ftp.stats
-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
this listing was done *before* I executed the script. So there was obviously another large logfile outside SITE1's logs dir that had SITE1's ownership...
But there must be another file — not a log file — that has the wrong ownership, the disk usage of that site is unchanged 115% :
Full Host Name
Disk Usage
Allowed Disk Space
Percentage Used
• africa.nelembo.com <https://blue2.waveweb.ch:81/disk/groupDiskUsage?group=site1&serverDiskUsage=1> 172.40MB 150.00MB 115%
Do you carry another script that fixes this, too?
Thank you Michael
On 12.07.18 17:39, Michael Stauber wrote:
> Hi Meaulnes,
>> 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
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20180712/86091268/attachment.html>
More information about the Blueonyx
mailing list