diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-01-09 22:24:26 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-01-09 22:24:26 +0000 |
commit | aeb3ad3d8cac8f1f085725711d2d8739b722b61b (patch) | |
tree | 2225c0b37c1a19161383c67bdb9043006e8b4fe0 /doc/s6-instance-create.html | |
parent | 724fc63f4736d620173e733a3b35c003a0d82ff8 (diff) | |
download | s6-aeb3ad3d8cac8f1f085725711d2d8739b722b61b.tar.gz s6-aeb3ad3d8cac8f1f085725711d2d8739b722b61b.tar.xz s6-aeb3ad3d8cac8f1f085725711d2d8739b722b61b.zip |
Next batch of fixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/s6-instance-create.html')
-rw-r--r-- | doc/s6-instance-create.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/s6-instance-create.html b/doc/s6-instance-create.html index c81dfe4..1aa0d4c 100644 --- a/doc/s6-instance-create.html +++ b/doc/s6-instance-create.html @@ -86,6 +86,15 @@ s6-instance-create adds a service directory to that tree and ensures it gets supervised. </li> <li> If the template for the service is logged, then s6-instance-create will wait until supervisors have been spawned for both the instance and its logger. </li> + <li> s6-instance-create and <a href="s6-instance-delete.html">s6-instance-delete</a> +are relatively expensive operations, because they have to recursively copy or +delete directories and use the <a href="libs6/ftrigr.html">synchronization mechanism</a> +with the instance supervisor, compared to +<a href="s6-instance-control.html">s6-instance-control</a> which only has to send +commands to already existing supervisors. If you are going to turn instances on and +off on a regular basis, it is more efficient to keep the instance existing and control +it with <a href="s6-instance-control.html">s6-instance-control</a> than it is to +repeatedly create and delete it. </li> </ul> </body> |