[openib-general] Re: opensm and SIGINT

Fab Tillier ftillier at silverstorm.com
Wed Sep 21 21:31:08 PDT 2005


> From: Hal Rosenstock [mailto:halr at voltaire.com]
> Sent: Wednesday, September 21, 2005 6:01 PM
> 
> Hi Viswa,
> 
> On Wed, 2005-09-21 at 20:23, Viswanath Krishnamurthy wrote:
> > Currently opensm traps SIGINT. There was some discussion to remove it.
> > I have currently running some tests on opensm
> > by killing (SIGKILL) and restarting opensm. So far I ahve not found
> > any resource leak issues. Is ther a plan to remove that
> > signal handler. Ideally it should not exist.
> 
> Eitan stated that this was historical in nature for gen1 drivers which
> had resource tracking problems: "if OpenSM left without cleaning up all
> used resources (like MAD buffers and UD-AVs), the driver oops'ed."
> 
> I think that (eliminating the handler for SIGINT) can at least be done
> for OSM_VENDOR_INTF_OPENIB and leave it there for the other vendor
> layers for starters. I will experiment with gen2 and let you know.

I'd like to see elimination of signal handling removed from the Windows version
too.  If there's a bug in the transport due to resource leaks, that needs to be
fixed, not masked by handling signals.

- Fab




More information about the general mailing list