Skip to content

Commit 7bb9c87

Browse files
committed
Add filesystem layout and disk space tips
1 parent a9246e6 commit 7bb9c87

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

testing/new-buildbot-worker.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,23 @@ The recommended ``buildbot.tac`` settings are:
273273
* ``delete_leftover_dirs = 1`` -- automatically cleans up build directories
274274
that the master no longer needs.
275275

276+
.. tip::
277+
278+
If your system has most of its disk space on ``/home`` rather than on the
279+
root partition, create the worker data under ``/home`` and symlink it so
280+
the packaged systemd unit still works::
281+
282+
mkdir -p /home/buildbot-worker/worker
283+
ln -s /home/buildbot-worker/worker /var/lib/buildbot/worker
284+
285+
Adjust ownership and paths to match your distro's conventions.
286+
287+
.. tip::
288+
289+
Build directories and ``twistd.log`` rotations can accumulate over time.
290+
Monitor free disk space on the partition that holds the worker directory,
291+
even with ``delete_leftover_dirs`` enabled.
292+
276293
Service management
277294
~~~~~~~~~~~~~~~~~~
278295

0 commit comments

Comments
 (0)