-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Descriptor Leak in PingSource #8188
Comments
I cannot reproduce the problem with "normally" behaving functions. Trying it with the current Fission 1.20.4 , and eventing 1.11 installed from the Serverless Operator 1.32.2 on OpenShift Creating a hello-js from the fission examples
and having several PingSources like
shows only a stable number of open TCP connections. I can reproduce the problem, kind of, if I add very long timeouts to the function
and adding a fntimeout to the fission function to override the default 60s
making the functions to never return does show that the pingsource does not have any timeouts on its own and the number of open TCP connections would be steadily rising if the sink would keep the connections open indefinitely and never return an HTTP response. Can you see the number of open files rising on the fission side as well? (I'd expect the similar number of open files on the fission router) |
@maschmid Currently, I have deployed about 4 or 5 functions, all with a timeout set to 60 seconds. The trigger interval is set to once per minute. I haven't observed any long-running executions or cases where an HTTP response is not returned. However, quite a few functions returned a 504 due to execution timeouts. Could this situation be causing the file descriptors to continuously increase? Here is the
|
@maschmid |
I am not aware of any mechanism there, AFAICT there is no timeout on the context that sends the events |
Problem Description:
I followed the documentation https://knative.dev/docs/eventing/sources/ping-source/ to deploy and create several PingSources to trigger my functions. After running for a few days, all triggers stopped working. The logs from
pingsource-mt-adapter
are as follows:Monitoring Information:
Environment:
Expected Behavior:
The
pingsource-mt-adapter
should run normally, and there should be no leaks.The text was updated successfully, but these errors were encountered: