Opened 3 years ago

Closed 3 years ago

#2492 closed defect (fixed)

Reclaim dangling sockets on mgserver restart

Reported by: jng Owned by: jng
Priority: low Milestone: 3.0
Component: Server Version: 2.6.0
Severity: trivial Keywords:
Cc: External ID:

Description

When the mgserver process dies on Linux by segfault, it cannot restart immediately due to the system reporting that the dangling sockets still being in use.

This can be resolved, by specifying reuse_addr = 1 when we open up the ACE socket acceptor on initialization of the MgClientAcceptor?, which will cause these dangling sockets to be reclaimed.

Attachments (1)

ClientAcceptor.cpp.patch (1.0 KB) - added by jng 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by jng

Attachment: ClientAcceptor.cpp.patch added

comment:1 Changed 3 years ago by jng

Resolution: fixed
Status: newclosed

Fixed trunk (r8392) and 2.6 (r8393)

Note: See TracTickets for help on using tickets.