You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/XrdApps/XrdClJournalCachePlugin/README.md
+25-8Lines changed: 25 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -276,13 +276,26 @@ or via the environment variable XRD_JOURNALCACHE_SIZE=1000000000
276
276
277
277
The minimum cleaner size is 1GB, otherwise it is ignored. The cleaner thread by default runs every minutes and when the given size is exceeded (high water mark), it cleans the cache directory to 90% starting with the oldest files by access time. Setting the size to 0 disables the cleaning (default behaviour).
278
278
279
-
In more complex environments the cleaner can be run as a daemon using a standalone application:
279
+
In more complex environments the cleaner runs as **`xjccleand`**, configured via **`$journal/.xjc/cleaner.conf`** (edit with **`xjc cleaner`**, hot-reloaded on mtime change):
`xjcd init` seeds `cleaner.conf`, generates `xjccleand.service` / `xjccleand.env`, and `--install-systemd` enables both `xjcd.service` and `xjccleand.service`.
298
+
286
299
# 7 HTTP cache integration
287
300
288
301
JournalCache can behave as an HTTP-aware read cache when used behind **XrdHttp** or when applications pass cache metadata as CGI parameters on `root://` file URLs.
With `--install-systemd`, init installs `$journal/.xjc/etc/xjcd.service` into `/etc/systemd/system/`, runs `systemctl daemon-reload`, and `systemctl enable --now xjcd.service` (requires root). Use `--systemd-unit NAME`for a non-default unit name when running multiple journals on one host.
606
+
With `--install-systemd`, init installs `$journal/.xjc/etc/xjcd.service`and `xjccleand.service`into `/etc/systemd/system/`, runs `systemctl daemon-reload`, and `systemctl enable --now xjcd.service xjccleand.service` (requires root). Use `--systemd-unit NAME`/ `--systemd-cleaner-unit NAME` for non-default unit names when running multiple journals on one host.
0 commit comments