First up, nice project @d-Rickyy-b .
I'm running the certstream server on a Ubuntu machine. When I start the server it uses 22% cpu and 5% ram.
However after 5 hours the server becomes unresponsive. Looking at /var/log/syslog I can see lack of ram is the issue.
2025-03-23T21:13:36.826353+00:00 kernel: message repeated 33 times: [ systemd-journald[125]: Under memory pressure, flushing caches.]
2025-03-23T21:13:38.899212+00:00 kernel: workqueue: blk_mq_run_work_fn hogged CPU for >10000us 32 times, consider switching to WQ_UNBOUND
2025-03-23T21:13:53.376192+00:00 kernel: systemd-journald[125]: Under memory pressure, flushing caches.
2025-03-23T21:14:20.417348+00:00 systemd-resolved[335]: Under memory pressure, flushing caches.
2025-03-23T21:14:57.938065+00:00 systemd-resolved[335]: Flushed all caches.
2025-03-23T21:15:44.420003+00:00 systemd-resolved[335]: Under memory pressure, flushing caches.
2025-03-23T21:16:02.739872+00:00 systemd-resolved[335]: Flushed all caches.
2025-03-23T21:16:24.500542+00:00 CRON[10049]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
2025-03-23T21:16:28.899051+00:00 systemd-resolved[335]: Under memory pressure, flushing caches.
2025-03-23T21:16:42.899204+00:00 systemd-resolved[335]: Flushed all caches.
2025-03-23T21:16:56.656740+00:00 systemd-resolved[335]: Under memory pressure, flushing caches.
2025-03-23T21:17:43.299021+00:00 systemd-resolved[335]: Flushed all caches.
2025-03-23T21:18:10.825737+00:00 systemd-resolved[335]: Under memory pressure, flushing caches.
2025-03-23T21:18:53.855181+00:00 CRON[10055]: (root) CMD (cd / && run-parts --report /etc/cron.hourly)
2025-03-23T21:23:02.574768+00:00 systemd-resolved[335]: Flushed all caches.
2025-03-23T21:28:53.300028+00:00 systemd-resolved[335]: Under memory pressure, flushing caches.
2025-03-23T21:30:14.734081+00:00 kernel: message repeated 33 times: [ systemd-journald[125]: Under memory pressure, flushing caches.]
2025-03-23T21:30:35.858257+00:00 kernel: workqueue: psi_avgs_work hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND
2025-03-23T21:30:54.740025+00:00 kernel: systemd-journald[125]: Under memory pressure, flushing caches.
This happens every time I run the cert stream server. Is there a memory leak? Is the code sending too much data to ram without removing unnecessary data?
First up, nice project @d-Rickyy-b .
I'm running the certstream server on a Ubuntu machine. When I start the server it uses 22% cpu and 5% ram.
However after 5 hours the server becomes unresponsive. Looking at /var/log/syslog I can see lack of ram is the issue.
This happens every time I run the cert stream server. Is there a memory leak? Is the code sending too much data to ram without removing unnecessary data?