[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RAQ4 web.cache files getting HUGE



At 09:03 AM 28/04/2004 -0500, you wrote:
I have multiple domains on a cobalt raq4. If I sell 100mb domain, I set up
115mb for the site, and 100mb for the site admin to allow for log files. Now
that I have had the server in place for awhile, I notice that the web.cache
and web.cache.new are taking up more and more space. I am having to increase
total web space for domains so that they still get the base 100mb they paid
for.

Is there something I can do to keep this from happening?

Delete them once in a while.

#!/bin/bash

for URL in $( find /home/sites -type l -maxdepth 1 | sed -e 's/\/home\/sites\///g' ); do
        echo --Removing logs for $URL...
        ls -lah /home/sites/$URL/logs
        rm /home/sites/$URL/logs/*
        echo
done

echo Completed


---------------------------------
William J.A. Brillinger
Precision Design Co.

E-Mail:   mailto:billy@xxxxxxxxxx
Web site: http://www.pdcweb.net


---------------------------------
DO *NOT* SEND EMAIL TO THIS ADDRESS
UNLESS YOU ARE A SPA*MMER: mailto:stmail@xxxxxxxxxx
---------------------------------