Skip to content

Commit 4967ff0

Browse files
authored
Merge pull request #1419 from input-output-hk/damien/fix-signer-service-recommended-configuration
Fix signer service recommended configuration
2 parents 48b993d + 5a3545e commit 4967ff0

File tree

3 files changed

+43
-2
lines changed

3 files changed

+43
-2
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Mithril signer node service recommended configuration is updated
3+
authors:
4+
- name: Mithril Team
5+
tags: [spo, mithril signer, production]
6+
---
7+
8+
### The Mithril signer node service recommended configuration is updated
9+
10+
**PR**: `Fix signer service recommended configuration` [#1419](https://github.com/input-output-hk/mithril/pull/1419)
11+
12+
**Issue**: `Fix signer node service setup` [#1404](https://github.com/input-output-hk/mithril/issues/1404)
13+
14+
The previous recommended configuration proposed a service restart frequency which was too high. When the service was restarted, and if the Cardano node was not ready yet, the service tried to restart too many times in a short period: thus the service just failed and the service had to be started manually after the Cardano node is up and ready. This lead to some SPOs skipping registrations for some epochs.
15+
16+
The duration before restarting the service is increased to 60s: `RestartSec=60`.
17+
18+
Below is the new recommended configuration:
19+
20+
```
21+
[Unit]
22+
Description=Mithril signer service
23+
StartLimitIntervalSec=0
24+
25+
[Service]
26+
Type=simple
27+
Restart=always
28+
RestartSec=60
29+
User=cardano
30+
EnvironmentFile=/opt/mithril/mithril-signer.env
31+
ExecStart=/opt/mithril/mithril-signer -vvv
32+
33+
[Install]
34+
WantedBy=multi-user.target
35+
EOF'
36+
```
37+
38+
We highly recommend to update your existing configuration file (`/etc/systemd/system/mithril-signer.service`) with the values specified in the [guide](https://mithril.network/doc/next/manual/getting-started/run-signer-node/#installing-the-service)
39+
40+
41+
Feel free to reach out to us on the [Discord channel](https://discord.gg/5kaErDKDRq) for questions and/or help.

docs/website/root/manual/getting-started/run-signer-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ StartLimitIntervalSec=0
352352
[Service]
353353
Type=simple
354354
Restart=always
355-
RestartSec=1
355+
RestartSec=60
356356
User=cardano
357357
EnvironmentFile=/opt/mithril/mithril-signer.env
358358
ExecStart=/opt/mithril/mithril-signer -vvv

docs/website/versioned_docs/version-maintained/manual/getting-started/run-signer-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ StartLimitIntervalSec=0
352352
[Service]
353353
Type=simple
354354
Restart=always
355-
RestartSec=1
355+
RestartSec=60
356356
User=cardano
357357
EnvironmentFile=/opt/mithril/mithril-signer.env
358358
ExecStart=/opt/mithril/mithril-signer -vvv

0 commit comments

Comments
 (0)