Ivan Folgueira Bande
53718bccfe
store node enable store-sync protocol
...
Signed-off-by: Ivan Folgueira Bande <ivansete@status.im>
2024-08-29 10:02:21 +02:00
Ivan Folgueira Bande
d8d4d5d890
store: debug log level for all stages
...
Having the log level in trace severely damaged the node's performance
and disk usage. It wasn't a great idea.
Signed-off-by: Ivan Folgueira Bande <ivansete@status.im>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-08-29 09:17:46 +02:00
Alexis Pentori
6a730e7d4d
logrotate: update frequency
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-08-28 09:47:36 +02:00
Ivan Folgueira Bande
96ec175dd6
store staging: set nim_waku_log_level to trace
2024-08-26 15:32:51 +02:00
Ivan Folgueira Bande
46146c87b0
store-db: update db settings to new hardware 16GB RAM and 8 CPUs
2024-08-16 17:30:02 +02:00
Ivan Folgueira Bande
87d2fc1605
store-db: disable autovacuum by default
...
The bigger table, messages, is a partitioned one where only INSERTS
happens. Furthermore, there are no dead tuples there because we
directly drop old partitions
We may need to manually perform vacuum on other tables
2024-08-16 17:29:37 +02:00
Jakub Sokołowski
f32d99fb06
store-db: increase consul alert tresholds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-08-11 15:24:26 +02:00
Jakub Sokołowski
491b6d37b6
boot: increase consul check interval, warning threshold
...
To match settings for `store` nodes.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-08-11 15:00:14 +02:00
Alexis Pentori
af9162fc2e
store-db: applying postgres system setting based on the stage
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-08-08 12:23:43 +02:00
Ivan Folgueira Bande
f85fc71b50
store-db add more appropriate db settings for current db hw
...
Signed-off-by: Ivan Folgueira Bande <ivansete@status.im>
2024-08-07 13:27:29 +02:00
stubbsta
e6b39e4b8f
store-db: add SSH access for tanya@status.im
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-08-02 09:12:59 +02:00
Hanno Cornelius
91117c823c
store-db: add SSH access for hanno@status.im
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-26 09:08:33 +02:00
Jakub Sokołowski
eb8045326c
boot,store: fix ENRTree DNS entry for status.prod
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-25 09:14:40 +02:00
Jakub Sokołowski
7df38c149d
rename the shards.test fleet to status.prod
...
https://github.com/status-im/infra-shards/issues/33
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-24 12:13:50 +02:00
Jakub Sokołowski
55b31f42f5
all: do not send trace level logs to logstash
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-23 12:12:54 +02:00
Jakub Sokołowski
5591327ea3
store: lower staging retention to 75 GB to avoid alerts
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-17 09:26:42 +02:00
Jakub Sokołowski
770dad967e
store,boot: fix name of Docker tag name
...
We are in the middle of renaming fleets and this will make it more
robust.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-16 16:55:32 +02:00
Jakub Sokołowski
749c281209
store-db: fix variable name for Postgres Alter System
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-16 13:42:51 +02:00
Jakub Sokołowski
f554fe7185
store-db: set autovacuum_work_mem to 10% of memory
...
We have seen host crashes caused by PostgreSQL using up all memory by
trying to run `autovacuum` workers.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-16 13:42:50 +02:00
Jakub Sokołowski
97544ad634
store: set retention policy using size instead of time
...
Using time causes the DB to be filled quickly.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-09 11:16:38 +02:00
Jakub Sokołowski
040b9d4949
rename shards fleet to status fleet
...
While also retaining the old domain names.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-03 22:00:29 +02:00
Jakub Sokołowski
b1da421448
boot: uncomment setting for boot node key
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-03 01:19:08 +02:00
Ivan Folgueira Bande
062cb6d51a
set max_locks_per_transaction to 2160
...
We are using partitions in our postgres DBs. And we have one
partition per hour (24 partitions per day.)
The default max_locks_per_transaction value (64) can cause
"our of memory" and block issues in the DB because we use to
have more than 64 partitions.
With 2160 we aim to avoid that issue for 90 days (2160 == 90*24.)
if we consider a time retention policy of 90 days. Nevertheless,
we usually have time retention policy of 30 days in our Status fleets,
but we are just adding some extra margin.
2024-06-26 13:15:24 +02:00
Alexis Pentori
7178fc4d83
store: set logrotate frequency to hourly
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-06-10 10:31:15 +02:00
Ivan Folgueira Bande
dc9b6f5a81
boot: set max msg size to 1024KiB to fit store nodes
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-03 10:21:08 +02:00
Jakub Sokołowski
e1b4be4a24
store: un-command nim_waku_node_key variable
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-23 18:10:15 +02:00
Jakub Sokołowski
aa3e653a53
store: lower sensitivity of consul healthchecks
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-12 10:30:30 +02:00
Anton Iakimov
f39afef54d
boot: logrotate hourly due to lots of DBG logs
2024-04-24 16:01:04 +02:00
Jakub Sokołowski
883893f547
deploy new shards.staging fleet
...
https://github.com/status-im/infra-shards/issues/29
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-18 20:48:58 +01:00
Jakub Sokołowski
3c60a6dcde
boot,store: go back to using proper deploy branches
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-15 14:27:38 +01:00
Jakub Sokołowski
74be1115c6
boot,store: use both new and old domain names
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-15 14:27:37 +01:00
Jakub Sokołowski
717b37aa0c
node: expose config.toml using Nginx server
...
This can then be linked from the new https://fleets.waku.org/ .
https://github.com/status-im/infra-misc/issues/229
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-07 12:44:09 +01:00
Jakub Sokołowski
bde743c656
boot,store: add /waku/2/rs/16/1 topic
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-04 22:09:38 +01:00
Jakub Sokołowski
1e025a18ff
boot,store: temporarily lock image at v0.24.0
...
Attempt to upgrade to 0.25.0 caused major connectivity issues.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-29 20:11:22 +01:00
Jakub Sokołowski
6004610d63
boot,store: add cluster ID required for 0.25.0
...
16 is the value "reserved" for status fleets with static sharding
https://rfc.vac.dev/spec/51/#static-sharding
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-29 12:34:10 +01:00
Jakub Sokołowski
1813cf46ca
store: set max-msg-size to 1024KiB
...
https://github.com/waku-org/nwaku/issues/2305
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-01 13:41:18 +01:00
Anton Iakimov
abe3642480
nim-waku: add --ip-colocation-limit flag
...
https://github.com/status-im/infra-shards/issues/27
2024-01-24 15:25:34 +01:00
Jakub Sokołowski
8a94903ad0
store-db: disable database backups
...
We don't need them currently.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-09 14:53:23 +01:00
Jakub Sokołowski
32662b3bd8
store-db: add Write Ahead Log size limits
...
Related to:
https://github.com/status-im/infra-role-postgres-ha/issues/3
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-09 14:05:26 +01:00
Jakub Sokołowski
6b5b7046af
boot,store: drop stopping non-existent websockify
...
It causes certbot timer to fail at startup.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-08 13:43:26 +01:00
Jakub Sokołowski
9345291a26
store-db: disable db dump timer
...
Not necessary for now, failes due to timeouts.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-02 13:38:44 +01:00
Alexis Pentori
85894a4713
shards: enable native websocket port
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2023-12-14 14:25:34 +01:00
Jakub Sokołowski
1cb58b2c23
boot: disable trace logs, switch to debug
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-23 11:31:50 +01:00
Jakub Sokołowski
710444384b
node-db: disable replication explicitly
...
https://github.com/status-im/infra-role-postgres-ha/commit/97f525e9
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-22 13:30:26 +01:00
Richard Ramos
40b64f883c
nim-waku: add pubsub topic (32)
2023-10-13 13:44:50 -04:00
Anton Iakimov
8228675ead
nim-waku: add pubsub topic
2023-10-04 13:08:16 +02:00
Anton Iakimov
3d0eb07857
bootstrap: provide SSH access to ivansete
2023-10-04 12:41:41 +02:00
Anton Iakimov
5d78944b7b
boot: turn trace logs for boot-01 nodes
...
> Configuration for status.sharding.bootstrap
> 1 node in this fleet should preferably be set up with trace-level message logs, in order
> to facilitate future end-to-end message tracing and debugging
https://github.com/status-im/infra-shards/issues/2
2023-09-29 16:54:39 +02:00
Anton Iakimov
6d0c2c49e5
nim-waku: same mappings for dns discovery URL as other fleets
2023-09-29 13:04:33 +02:00
Anton Iakimov
9546c26da4
nim-waku: cleanup p2p UDP port configuration, not used
2023-09-29 12:30:32 +02:00