phalethI'm trying to figure out how to pass args to postgres
phalethlooks like yet another limitation of the API
phalethmore work for podman exec
phalethpodman service taking 677M of memory is too much
bluethe postgres one?
phalethnope, the podman TCP service
blueoh, each one of them consumes 677M?
phaleththe other one did, it just went down after a day
bluewait, why did it go down, we need it
phalethheh, I mean down in terms of lower memory usage
blue● podman-api-containernetwork.service - Podman API Service
blue Loaded: loaded (/etc/systemd/system/podman-api-containernetwork.service; enabled; preset: disabled)
blue Active: active (running) since Sun 2026-06-28 17:07:47 CEST; 1 day 1h ago
blueoh
phalethI think we should try to deploy on freebsd
bluebtw, I was gonna ask you, we need repopack to configure systemd jobs for the containers, so they're auto-restarted on reboot? or can we just have podman do it
bluebecause I'd hate configuring a systemd job for every container, that's gonna turn into hell very quickly
blueyeah, I don't mind getting another vps for freebsd
phaleththere is a service called podman-restart.service, the unit files is written by podman people for the most part, but for some reason it sometimes fails to start all containers
bluedamn
phalethalso btw, the problem yesterday with certs not being renewed was cause of systemd-networkd
phalethI think systemd has problems
blueyeah
bluean alternative to the podman-restart service, is repopack gradually putting containers online
blueso I told you, I'm aiming for full redundancy of all systems
blueso that we can update every vps at any time
phalethyeah, if repopack can bring it up, but what can bring up repopack
bluethat'd be pid1
bluebut then pid1 would only need to start the repopack containers
phalethrepopack will need to run on freebsd machine that'd never need to reboot or so heh
bluenever need to reboot isn't a good plan
bluesometimes needs to reboot, and how we solve that, is a better plan
blueredundancy is key here, but it's a bit complicated to achieve
blueif something doesn't require a db, like primate website, it's straightforward
phalethback in old days of no bots poking around I had debian VPS running for two years without an update all exposed to the interwebz
blueyeah but updates are expected in software, it's just part of it. if you get a kernel vulnerability, you have to update
bluewe have to work around that
blueI'd prefer a "we do it as if we constantly need to update" mindset
blueeven if we don't end up constantly updating/rebooting, it's good to have the infrastructure gracefully take that
bluethe only problem is how to switch over the containers
phalethswitch over the containers?
blueyes
phalethlike to another server?
blueyou have vps1 and vps2, now you wanna update vps1, so you switch all running containers to vps2. you start them on vps2, and point your dns resolver or whatever resolves stuff to vps2
bluethen you finish updating vps1, you move back to it, then you update vps2
bluethe only choke point becomes the dns resolver
phalethI think in the end there should be one haproxy VPS doing all the load balancing
phalethand behind it two repopacks switching
blueya
bluebut even that should be load-balanced/provided with redundancy
phalethand then a bunch of cheap VPSes with containers being constantaly brought up and down however repopack sees fit
blueya
phalethconstantly*
bluetechnically you can enter several ips for one dns
phalethtoo complicated and DNS takes a moment to update
blueand if you have an api for your dns server, then you use that
phalethhaproxy is a good single point of failure
phalethbut anyway, end of next month should be good to start messing around with freebsd