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
We run log_proxy running for several hosts and services (1000+ services). I think we have just one host with unusual memory usage for a small number of log_proxy instances:
When the machine runs out of memory log_proxy will start eating memory and cpu and I don't think it can be released without a restart of log_proxy so I'm not sure this should be closed. I recompiled with this change to stop this from happening:
diff --git a/src/log_proxy.c b/src/log_proxy.c
index 9e01bba..c742dec 100644
--- a/src/log_proxy.c
+++ b/src/log_proxy.c
@@ -263,7 +263,7 @@ int main(int argc, char *argv[])
if (write_status == FALSE) {
g_warning("error during write on: %s", log_file);
init_or_reinit_output_channel(log_file, use_locks);
- continue;
+ break;
}
break;
}
We run log_proxy running for several hosts and services (1000+ services). I think we have just one host with unusual memory usage for a small number of log_proxy instances:
It's the same log_proxy binary on all hosts. Any idea on what would cause this or how to debug?
The text was updated successfully, but these errors were encountered: