Thursday, October 05, 2006

How to fork/exec in an efficient way

I've just found good article on developers.sun.com about "Minimizing Memory Usage for creating Application Subprocesses" - it explains why posix_spawn() interface introduced in Solaris 10 is better than fork/exec approach many developers still use. There's also good section on Memory Overcommiting.

1 comment:

Anonymous said...

Posix_spawn is broken in Solaris 10 and should not be used until CR#6488832 is backported to Solaris 10