LEIBOVICI Thomas <[email protected]> writes:
> I quickly took a look at the code and found some cases where the purge
> can return -1,
> in particular if the DB request to build the policy application list fails.
> The related error case should log something in the main robinhood log
> (not the one for alerts),
> so you should find more details about this error in this log.
OK, in the mail log I have:
2015/11/17 00:53:29 [12851/4] ListMgr | Error 7 executing query 'SELECT id FROM
ENTRIES WHERE (ENTRIES.invalid=0 OR ENTRIES.invalid IS NULL) AND
ENTRIES.type<>'dir' A
ND (ENTRIES.last_mod<1433202802 OR ENTRIES.last_mod IS NULL) ORDER BY
ENTRIES.last_access ASC LIMIT 10000': Error writing file '/tmp/MYvaxFgp'
(Errcode: 28)
2015/11/17 00:53:29 [12851/4] Purge | Error retrieving list of candidates from
database. Purge cancelled.
2015/11/17 00:53:29 [12851/4] ResMonitor | Error -1 performing purge on /home
(Unknown error 18446744073709551615). 0 entries purged, 0 blocks.
Using perror I get:
$ perror 28
OS error code 28: No space left on device
However, currently I have
/dev/sda3 1.9G 523M 1.3G 29% /tmp
/home 17T 11T 6.0T 64% /home
Is it possible that while scanning and/or purging robinhood might create
temporary files large enough to fill /tmp, or is it more likely that
another process is responsible?
Cheers,
Loris
> On 11/17/15 15:12, Loris Bennett wrote:
>> Hi,
>>
>> I have this file class definition:
>>
>> FileClass backup_files {
>> Definition {
>> name == "*~"
>> }
>> }
>>
>> and this purge policy:
>>
>> policy purge_backup_files {
>> target_fileclass = backup_files;
>> condition { last_mod > 24w }
>> }
>>
>> This works in that appropriate files are logged in the report file as
>> being purged. However, in the alert file periodically I see the
>> following error:
>>
>> 2015/11/17 00:53:29 [12851/4] ALERT | Error purging data
>> 2015/11/17 00:53:29 [12851/4] ALERT | Error -1 performing purge in /home
>> (Unknown error 18446744073709551615).
>> 0 entries purged, 0 blocks.
>>
>> Any ideas what this could be?
>>
>> Cheers,
>>
>> Loris
>>
>
>
> ------------------------------------------------------------------------------
--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email [email protected]
------------------------------------------------------------------------------
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support