13
submitted 3 months ago by Miaou@jlai.lu to c/rust@programming.dev

Hi friends, Not sure whether this little tool could be of use to anyone here, but I thought it might be interesting to share.

I was running into problems on my VPS due to high-memory usage, which led to my email server going down with all the consequences that come with it. I tried using Grafana Agent to monitor the server's state, but with 2GB memory, the tool's footprint was creating more problems than anything else, so I reinvented my own, square, low-memory footprint, wheels.

Cheers everyone.

you are viewing a single comment's thread
view the rest of the comments
[-] BB_C@programming.dev 4 points 3 months ago

opt-level = 'z' # Optimize for size.

๐Ÿ™„ ๐Ÿ˜ 

[-] Miaou@jlai.lu 1 points 3 months ago

Ahah yes I remember your answer to one other post few days ago. Tbf disk usage was a problem for me so I had my reasons to throw that in there. That plus this process sleeps 99% of the time

this post was submitted on 19 Jul 2024
13 points (100.0% liked)

Rust

5981 readers
51 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS