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
The EtcdRangeWatcher does not have a way to exit the go-routine: there is no break out of the "main" refresh_loop.
The next question is if the number of watches should be increasing. I'm looking at how these are created now.
The watchers are created in refreshWatches
Which is called from UpdateWatchedService
which has if checks in both cases that it calls refreshWatches:
if etcdSecretName != mes.secretName
else if serviceName != nw.watchedServiceName
The second check with serviceName might be the problem (the etcd secret shouldn't be changing much). It looks like the nw objects are created without a watchedServiceName being set:
nw = &namespaceWatch{}
REF
So nw.watchedServiceName might always be an empty string 🤔
Screenshots
Environment (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Additional context
TODO
The text was updated successfully, but these errors were encountered:
Stop goroutines when the label `modelmesh-enabled` is
removed from a namespace or the namespace is deleted.
If the request namespace does not exist, do not retry to
get the information again.
Closes#385
---------
Signed-off-by: jooho <jlee@redhat.com>
Describe the bug
Memory leak in go routine that unmarshalls secrets. Repprted by @Jooho after a load test with 1000 simulated users.
https://github.com/kserve/modelmesh-serving/blob/main/pkg/mmesh/etcdrangewatcher.go#L97-L196
Analysis
From @tjohnson31415:
Screenshots
Environment (please complete the following information):
Additional context
TODO
The text was updated successfully, but these errors were encountered: