You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the --keep-sensors-on-exit, then when you use tetra tp disable <policy-name>, you trigger .Unload() on the program which is expecting mostly to be called on exit it seems since we don't unpin the progs if option.Config.KeepSensorsOnExit is here.
I think I bumped into an unexpected thing while fixing the memory use of disabled policies.
If you use the
--keep-sensors-on-exit
, then when you usetetra tp disable <policy-name>
, you trigger.Unload()
on the program which is expecting mostly to be called on exit it seems since we don't unpin the progs ifoption.Config.KeepSensorsOnExit
is here.tetragon/pkg/sensors/unloader/unloader.go
Lines 59 to 65 in 61b575c
Thus you didn't disable the policy, so
--keep-sensors-on-exit
doesn't work currently with the enable/disable feature.cc @olsajiri
The text was updated successfully, but these errors were encountered: