Post B5la0NmdJAo7wmmcgy by kirby@fsebugoutzone.org
(DIR) More posts by kirby@fsebugoutzone.org
(DIR) Post #B5lY1iCAhdsrdQEcWO by kirby@freerobuxextremist.com
0 likes, 0 repeats
why is the server using 6.7 gb of ram
(DIR) Post #B5lYDyhf9WeWJAoV7Y by wertimer@clubcyberia.co
1 likes, 0 repeats
@kirby known network
(DIR) Post #B5lZMt9JGunHdvYeX2 by phnt@fluffytail.org
0 likes, 0 repeats
@kirby BEAM moment.
(DIR) Post #B5lZMtTW3mxOeb0n1k by kirby@fsebugoutzone.org
0 likes, 0 repeats
@phnt @kirby even with pleroma off it still uses 5.9 gigs of ram, i think i know the reason why the box is using so much ram[privoxy sometimes spawns a million processes as well]image.pngimage.png
(DIR) Post #B5lZMtgdH1RtJH9GTI by phnt@fluffytail.org
0 likes, 0 repeats
@kirby @kirby I have Pleroma, Gitea, Tor, Privoxy and Squid all running on the same system and it fits into ~3GB. Could also be bad Postgres tuning, if you increased work_mem too much.
(DIR) Post #B5lZMtsgYD5duemtG4 by phnt@fluffytail.org
0 likes, 0 repeats
@kirby @kirby >increased work_mem too much.work_mem is per connection so if you both have high max_connections and high work_mem, it goes through memory quickly.
(DIR) Post #B5lZMu3ftLseSjvfO4 by dj@parcero.casa
0 likes, 0 repeats
@phnt @kirby @kirby Glussy was giving bad advice when he was still around and telling people to use 150 connections in PG tune. That doesn't help at all.
(DIR) Post #B5lZjLljXqdCmCEzgG by phnt@fluffytail.org
1 likes, 0 repeats
@dj @kirby @kirby Yeah, the Pleroma default is 10 connections used max. If you are running Poast, then having that many connections could make sense, but in a normal deployment it makes no sense. It only eats through memory while being not utilized.
(DIR) Post #B5la0NmdJAo7wmmcgy by kirby@fsebugoutzone.org
0 likes, 0 repeats
@phnt @kirby well the tuning website gave me the first option and the 2nd is just what the pleroma docs recommended, crazy how that.. leaked so fastimage.pngimage.png
(DIR) Post #B5la0Nz2Z2jSZGaX20 by phnt@fluffytail.org
1 likes, 0 repeats
@kirby @kirby 250MB x 10 connections (the Pleroma default) is 2.5GB after all. Postgres might actually pre-allocate that memory to max_connections which would be your 5GBs.
(DIR) Post #B5la8oqGaZTIBVVPSy by kirby@freerobuxextremist.com
0 likes, 0 repeats
@phnt @kirby okay well I've decreased max_connections to 10, guess I'll just have to keep an eye on htop to see how much memory is eventually used up over the next few days, hopefully it does not exceed 4 gigs
(DIR) Post #B5lbOFqGaN8qDnQhVo by phnt@fluffytail.org
0 likes, 0 repeats
@kirby @kirby Why does that matter when you have lots of free memory?
(DIR) Post #B5lbOG2fqF4AqHEbqq by kirby@freerobuxextremist.com
0 likes, 0 repeats
@phnt @kirby i have a comfort zone