On Fri, 12 Jun 2009, Jean-Michel Barbet wrote:
> Massimo Sgaravatto wrote:
>
>> When a job is purged the entry in the CREAM DB is removed and the CREAM job
>> sandbox directory is cleaned. Actually the latter in some cases doesn't
>> work properly because of bug #48144 (http://savannah.cern.ch/bugs/?48144).
>> The fix has been already implemented and will be released with patch #2666
> [...]
>> Another growing space is the proxy delegation directory, which is not
>> yet cleaned automatically (http://savannah.cern.ch/bugs/?49497)
>
> I think I am suffering from both problems :
>
> du -s -k /opt/glite/var/cream_sandbox/*
>
> 4 /opt/glite/var/cream_sandbox/alice
> 4 /opt/glite/var/cream_sandbox/aliceprd
> 1800432 /opt/glite/var/cream_sandbox/alicesgm
>
> du -s -k /opt/glite/var/cream/*
>
> 909776 /opt/glite/var/cream/user_proxy
>
> => What manual procedure can I use to free space ?
I will write (and I will let you have) a script:
a - to delete the expired proxies in /opt/glite/var/cream/user_proxy
b - to remove the sandbox job dir in /opt/glite/var/cream_sandbox/ for
jobs with are not in the DB anymore (or more simply which are older
than x)
In the meantime if you are stuck and the CE is not usable and there are
not active jobs in your CE for which Alice is interested in:
- rm -Rf /opt/glite/var/cream
- rm -Rf /opt/glite/var/cream_sandbox
- service tomcat5 restart
Apologies for the problem
Cheers, Massimo
>
> Thanks.
>
> JM
> --
> ------------------------------------------------------------------------
> Jean-michel BARBET | Tel: +33 (0)2 51 85 84 86
> Laboratoire SUBATECH Nantes France | Fax: +33 (0)2 51 85 84 79
> CNRS-IN2P3/Ecole des Mines/Universite | E-Mail: [log in to unmask]
> ------------------------------------------------------------------------
>
\\\|///
\\ ~ ~ //
(/ @ @ /)
-------oOOo-(_)-oOOo----------------------------------
Massimo Sgaravatto
INFN Sezione di Padova
Via Marzolo, 8
35131 Padova - Italy
Tel: ++39 0498277047 Fax: ++39 0498275908
oooO E-mail: massimo.sgaravatto [at] pd.infn.it
( ) Oooo Home page: http://www.pd.infn.it/~sgaravat
--------\ (----( )----------------------------------
\_) ) /
(_/
|