Skip to content
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

Not releasing sockets #5

Open
romoore opened this issue Mar 3, 2013 · 0 comments
Open

Not releasing sockets #5

romoore opened this issue Mar 3, 2013 · 0 comments
Assignees
Labels

Comments

@romoore
Copy link
Member

romoore commented Mar 3, 2013

The world model appears to be holding on to sockets. At some point, it also fails to send any more data. The log entries below loop indefinitely.

Socket temporarily not available handling stream request, 100 microseconds seconds.
Trying to get available packet
Message id is 4
Received a solver data message.
Inserting 1258 transient entries for the standing query.
Inserting 1258 transient entries for the standing query.
Inserting 1258 transient entries for the standing query.
Inserting 1258 transient entries for the standing query.
Inserting 1258 transient entries for the standing query.
Inserting 1258 transient entries for the standing query.
Inserting 1258 transient entries for the standing query.
Socket temporarily not available handling stream request, 100 microseconds seconds.
Trying to get available packet
Message id is 4
Received a solver data message.
Inserting 1250 transient entries for the standing query.
Inserting 1250 transient entries for the standing query.
Inserting 1250 transient entries for the standing query.
Inserting 1250 transient entries for the standing query.
Inserting 1250 transient entries for the standing query.
Inserting 1250 transient entries for the standing query.
Inserting 1250 transient entries for the standing query

Netstat reports that several sockets are hanging around while others are still open. Server is listening locally on "A.B.C.D" below.

tcp        0      0 127.0.0.1:8010          127.0.0.1:32786         ESTABLISHED 3954/sqlite3_world_
tcp        1      0 127.0.0.1:8010          127.0.0.1:32807         CLOSE_WAIT  -               
tcp        0      0 A.B.C.D:8010     REMOTEIP:54049      ESTABLISHED 3954/sqlite3_world_
tcp       52      0 A.B.C.D:8010     A.B.C.D:60291    ESTABLISHED -               
tcp        0      0 A.B.C.D:8010     REMOTEIP:37554     CLOSE_WAIT  3954/sqlite3_world_
tcp6       0      0 127.0.0.1:32786         127.0.0.1:8010          ESTABLISHED 2000/java       
tcp6       0      0 A.B.C.D:60291    A.B.C.D:8010     ESTABLISHED -     

Killing the world model process results in some sockets remaining:

tcp        0      0 127.0.0.1:8010          127.0.0.1:32786         TIME_WAIT   -               
tcp        0      1 A.B.C.D:8010     REMOTEIP:37554     LAST_ACK    -  
@ghost ghost assigned bfirner Mar 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants