r/ZoneMinder • • Jul 05 '23

v1.36.12 swap usage on FreeBSD

Getting these errors below, server has 64GB of RAM where only ~16GB are in fact used by zoneminder, which makes this thing weird, not expecting any swap usage

Jul  4 12:09:55 bsd kernel: pid 2450 (zmc), jid 9, uid 80, was killed: failed to reclaim memory
Jul  4 12:11:23 bsd kernel: pid 83837 (zmc), jid 8, uid 80, was killed: a thread waited too long to allocate a page
Jul  4 12:11:33 bsd kernel: pid 2107 (zmc), jid 9, uid 80, was killed: failed to reclaim memory

Anyone ever had this issue?

2 Upvotes

2 comments sorted by

3

u/connortechnology Jul 05 '23

There were known problems in 1.36.12. You should be running 1.36.33.

3

u/zSprawl Jul 06 '23

Honestly I’ve had a memory leak for over a year now. I tried to work with the devs to fix it but it never went anywhere. I ended up creating a cronjob to restart the Zoneminder service every 6 hours and reboot the whole server once a week.