Submit

Back to the channels

#primate

  1. blue hi phaleth
  2. bot <discord:phaleth> hi blue
  3. phaleth I'm trying to figure out how to pass args to postgres
  4. phaleth looks like yet another limitation of the API
  5. phaleth more work for podman exec
  6. phaleth podman service taking 677M of memory is too much
  7. blue the postgres one?
  8. phaleth nope, the podman TCP service
  9. blue oh, each one of them consumes 677M?
  10. phaleth the other one did, it just went down after a day
  11. blue wait, why did it go down, we need it
  12. phaleth heh, I mean down in terms of lower memory usage
  13. blue ● podman-api-containernetwork.service - Podman API Service
  14. blue Loaded: loaded (/etc/systemd/system/podman-api-containernetwork.service; enabled; preset: disabled)
  15. blue Active: active (running) since Sun 2026-06-28 17:07:47 CEST; 1 day 1h ago
  16. blue oh
  17. phaleth I think we should try to deploy on freebsd
  18. blue btw, 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
  19. blue because I'd hate configuring a systemd job for every container, that's gonna turn into hell very quickly
  20. blue yeah, I don't mind getting another vps for freebsd
  21. phaleth there 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
  22. blue damn
  23. phaleth also btw, the problem yesterday with certs not being renewed was cause of systemd-networkd
  24. phaleth I think systemd has problems
  25. blue yeah
  26. blue an alternative to the podman-restart service, is repopack gradually putting containers online
  27. blue so I told you, I'm aiming for full redundancy of all systems
  28. blue so that we can update every vps at any time
  29. phaleth yeah, if repopack can bring it up, but what can bring up repopack
  30. blue that'd be pid1
  31. blue but then pid1 would only need to start the repopack containers
  32. phaleth repopack will need to run on freebsd machine that'd never need to reboot or so heh
  33. blue never need to reboot isn't a good plan
  34. blue sometimes needs to reboot, and how we solve that, is a better plan
  35. blue redundancy is key here, but it's a bit complicated to achieve
  36. blue if something doesn't require a db, like primate website, it's straightforward
  37. phaleth back in old days of no bots poking around I had debian VPS running for two years without an update all exposed to the interwebz
  38. blue yeah but updates are expected in software, it's just part of it. if you get a kernel vulnerability, you have to update
  39. blue we have to work around that
  40. blue I'd prefer a "we do it as if we constantly need to update" mindset
  41. blue even if we don't end up constantly updating/rebooting, it's good to have the infrastructure gracefully take that
  42. blue the only problem is how to switch over the containers
  43. phaleth switch over the containers?
  44. blue yes
  45. phaleth like to another server?
  46. blue you 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
  47. blue then you finish updating vps1, you move back to it, then you update vps2
  48. blue the only choke point becomes the dns resolver
  49. phaleth I think in the end there should be one haproxy VPS doing all the load balancing
  50. phaleth and behind it two repopacks switching
  51. blue ya
  52. blue but even that should be load-balanced/provided with redundancy
  53. phaleth and then a bunch of cheap VPSes with containers being constantaly brought up and down however repopack sees fit
  54. blue ya
  55. phaleth constantly*
  56. blue technically you can enter several ips for one dns
  57. phaleth too complicated and DNS takes a moment to update
  58. blue and if you have an api for your dns server, then you use that
  59. phaleth haproxy is a good single point of failure
  60. phaleth but anyway, end of next month should be good to start messing around with freebsd
  61. blue there's no good single point of failure
  62. blue ya
  63. blue can we run our own dns server?
  64. phaleth not sure, how do dns servers get to list like this https://public-dns.info/nameserver/de.html
  65. nevet DNS servers in Germany
  66. phaleth lot of contabo ones there
  67. blue good q
  68. blue dreamreal: don't you think nevet should at least say like: "Title: %s" or smth?
  69. blue right now he doesn't come off as a bot, but as a rambler :P3~
  70. dreamreal sure, why not
  71. dreamreal I'll file an issue
  72. blue thx

Search posts