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

SCTP socket lingers in CLOSE state for RHEL/CentOS #6

Open
GoogleCodeExporter opened this issue Aug 3, 2015 · 1 comment
Open

SCTP socket lingers in CLOSE state for RHEL/CentOS #6

GoogleCodeExporter opened this issue Aug 3, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

When the SCTP socket was closed via management "m3ua asp stop XXX" and then 
started again "m3ua asp start XXX" the SCTP socket was not created and "netstat 
-pan | grep sctp" will show something like

sctp 3368 602439 X.X.X.X:2905 X.X.X.X:2905 CLOSE

Little more investigation and it turns out to be OS issue :( 
https://access.redhat.com/knowledge/solutions/56433.

There was issue with RHEL OS kernel version before kernel-2.6.32-220.el6.

The other option is set SO_LINGER in Sctp Socket 
http://docs.oracle.com/javase/7/docs/jre/api/nio/sctp/spec/com/sun/nio/sctp/Sctp
StandardSocketOptions.html#SO_LINGER

But from that link, it says its for socket configured for blocking mode only, 
while ours is non-blocking mode. 

Original issue reported on code.google.com by [email protected] on 13 Mar 2013 at 7:12

@vetss
Copy link
Contributor

vetss commented Apr 5, 2016

The workaround (configurable SO_LINGER option) will be covered for issue:
#14

@vetss vetss added this to the 1.7.0 milestone Apr 5, 2016
@vetss vetss self-assigned this Apr 5, 2016
@vetss vetss modified the milestones: 2.2.0, 2.0.0 May 13, 2016
@vetss vetss removed their assignment May 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants