m3047 / rear_view_rpz

Turn your recursive DNS (BIND) server into a network investigation enabler with DnsTap and RPZ. Make PTR recs great again!
Apache License 2.0
12 stars 2 forks source link

Memory Leak (Fixed) #7

Closed m3047 closed 1 year ago

m3047 commented 1 year ago

There was a memory leak in shodohflo.fstrm which was fixed at https://github.com/m3047/shodohflo/commit/86834a4828339b20207890fa791b1608d5f45938

This can be detected in the console with proc: Processors should always be 1 and Tasks should almost always be 0. If you're seeing Tasks steadily increasing, you're seeing the leak.

Upgrade shodohflo to fix this.

Here is the expected output of coro and proc from an RVR which is not under load:

# coro
210 batch_update_monitor   1
212 handle_requests        1
212 listen_asyncio         1
212 process_data           1
212 queue_processor        2
212 statistics_report      1
# proc
200 Processors: 1   Tasks: 0