From 56bf8467e6c49ecf8575af7cf2cecb89c6a81c04 Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 2 Mar 2025 13:11:59 -0500 Subject: [PATCH] oops ulimit (again) --- constellation/readme.md | 1 + cozy-setup (move to another repo).md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/constellation/readme.md b/constellation/readme.md index f318f03..6bb292d 100644 --- a/constellation/readme.md +++ b/constellation/readme.md @@ -156,6 +156,7 @@ some todos - [x] backups! - [x] manual backup on startup - [x] background task to create backups on an interval +- [ ] add a low-ulimit check on startup? cache - [ ] set api response headers diff --git a/cozy-setup (move to another repo).md b/cozy-setup (move to another repo).md index ced725e..26df81b 100644 --- a/cozy-setup (move to another repo).md +++ b/cozy-setup (move to another repo).md @@ -327,9 +327,11 @@ scrape_configs: etc - follow above `- raspi node_exporter` - configure victoriametrics to scrape the new pi +- configure ulimit before starting! `ulimit -n 16384` - `RUST_BACKTRACE=full cargo run --release -- --backend rocks --data /mnt/constellation-index/ --jetstream us-east-2 --backup /home/pi/backup/constellation-index --backup-interval 6 --max-old-backups 20` - add server to nginx gateway upstream: ` server 100.123.79.12:6789; # bootes` - stop backups from running on the older instance! `RUST_BACKTRACE=full cargo run --release -- --backend rocks --data /mnt/links-2.rocks/ --jetstream us-east-1` +- stop upstreaming requests to older instance in nginx - todo: overlayfs? would need to figure out builds/updates still, also i guess logs are currently written to sd? (oof) -- 2.51.2