Skip to main content

rucio-abacus-account

usage: rucio-abacus-account [-h] [--run-once] [--threads THREADS]
[--enable-history] [--sleep-time SLEEP_TIME]

The Abacus-Account daemon is responsible for updating account usages. It checks if there are new entries in the UpdatedAccountCounter table and updates the account counters in the AccountCounter table by adding or substrating the amount and size of files and recalculating the quotas.

optional arguments:
-h, --help show this help message and exit
--run-once One iteration only
--threads THREADS Concurrency control: total number of threads on this
process
--enable-history Record account usage into history table every hour.
--sleep-time SLEEP_TIME
Concurrency control: thread sleep time after each
chunk of work

Upload a file::

$ rucio upload --rse MOCK --scope mock filename.txt

Check account usage::

$ rucio list-account-usage username
+-------+---------+---------+--------------+
| RSE | USAGE | LIMIT | QUOTA LEFT |
|-------+---------+---------+--------------|
+-------+---------+---------+--------------+

Run the daemon::

$ rucio-abacus-account --run-once

Check account usage again::

$ rucio list-account-usage username
+-------+------------+---------+--------------+
| RSE | USAGE | LIMIT | QUOTA LEFT |
|-------+------------+---------+--------------|
| MOCK | 211.724 kB | 0.000 B | 0.000 B |
+-------+------------+---------+--------------+