Giter Site home page Giter Site logo

Comments (7)

rsandell avatar rsandell commented on July 30, 2024

That could be possible, the connection is designed to try to keep the stream flowing as uninterrupted as possible. So if it looses connection somehow it tries to reconnect. If something lingers on on either end it would build up.

from gerrit-events.

vrtareg avatar vrtareg commented on July 30, 2024

Any way to prevent this and close unused connections?

from gerrit-events.

rsandell avatar rsandell commented on July 30, 2024

You would need to find it first :) then it would hopefully be pretty obvious how to fix the leak if you find where it is.

from gerrit-events.

vrtareg avatar vrtareg commented on July 30, 2024

Any recommendations what to monitor and where to put debug output?
I will be glad to do if I know how.

from gerrit-events.

rsandell avatar rsandell commented on July 30, 2024

The connect logic is the last line of the stack trace you provided. The main loop is here https://github.com/sonyxperiadev/gerrit-events/blob/master/src/main/java/com/sonymobile/tools/gerrit/gerritevents/GerritConnection.java#L314

from gerrit-events.

vrtareg avatar vrtareg commented on July 30, 2024

So something is going wrong and new connection is created without closing current one.
This is really killing as Gerrit servers has a limit on incoming connections from clients and on a next round it just denies new connection.
Only way to fix this is to restart Jira instance ...

from gerrit-events.

rsandell avatar rsandell commented on July 30, 2024

Which is strange because if a connection fails to be established there shouldn't be any connection available to close.

from gerrit-events.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.