-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Proxy] Pulsar Handshake was not completed within timeout, Proxy stops working for proxying Broker connections while Admin API proxying keeps working , #14831
Comments
pulsar version: 2.8.1 |
I see the connection count going up all the time in proxy, is it a bug in pulsar2.8.1 ?
|
Thanks for the report @kwenzh . This seems like a similar problem as why I added more logging in #14710 . @kwenzh Would you be able to collect a thread dump (output from |
I also initiated a discussion around enabling TCP/IP keepalive: #14841 |
@lhotari This may not be a problem. Yesterday, I found that some clients kept trying to retry consuming non-existent topics and repeatedly created client connections, resulting in the number of pulsar-proxy connections being full,pulsar -proxy ulimit is 1048576。 and then this exception occurred。In the end, i find there are some go client , in each time consumer , is always to create new client, but do not close .All in all, this should not be a problem that belongs to improper usage |
@kwenzh Can you upgrade to Pulsar 2.8.3 ? It has been recently released. It also includes #13836 which reduces resource consumption significantly when there's a large number of connections. Before that change, 2 threads were created for each connection. It would be interesting to hear if the problem reproduces with Pulsar 2.8.3 . |
fine, I will discuss the upgrade to pulasr 2.8.3 with the team ! i see the latest version is 2.9.1 in https://pulsar.apache.org and the latest tag is 2.9.2 in github tag |
The issue had no activity for 30 days, mark with Stale label. |
The issue had no activity for 30 days, mark with Stale label. |
Describe the bug
Pulsar Proxy can get into a state where it stops proxying Broker connections while Admin API proxying keeps working.
The proxy logs are filled with this type of warnings:
but directly connect pulsar-broker is normally,
and back to normally after restart proxy.
i saw the similar issue:
#14075
#14078
To Reproduce
The steps to reproduce are not known.
The text was updated successfully, but these errors were encountered: