[openfabrics-ewg] [openib-general] OFED 1.1 RC7 fork() issue.

glebn at voltaire.com glebn at voltaire.com
Tue Oct 17 01:19:31 PDT 2006


On Tue, Oct 17, 2006 at 09:52:44AM +0200, Tziporet Koren wrote:
> glebn at voltaire.com wrote:
> >On Tue, Oct 17, 2006 at 09:21:12AM +0200, Or Gerlitz wrote:
> >Tang, Changqing wrote:
> >  
> >>We tested RC7, but fork() does not work:
> >>
> >>1. system() causes IB to fail.
> >>2. fork(), child calling exit(0) immediately also causes IB to fail. 
> >>
> >>Anyone has tested fork() related issue ?
> >>
> >>    
> >What kernel are you testing? system() should work (in non threaded apps at
> >least) with modern kernel.
> >
> >--
> >			Gleb.
> >
> >_______________________________________________
> >  
> 
> 
> From the OFED release notes:
> 
> 3. Fork support from kernel 2.6.12 and above is available provided that
>   applications do not use threads. Only system() or fork() and immediate
>   exec() are supported.
> 
system() works because parent calls wait(). fork() and immediate exec()
may very well fail. I propose to fix the release notes.

--
			Gleb.




More information about the ewg mailing list