Is System V.4 fork reliable?

Keith Gabryelski ag at cbmvax.commodore.com
Wed Aug 1 03:26:52 AEST 1990


In article <ZOY4ZO4 at xds13.ferranti.com> peter at ficc.ferranti.com (Peter da
Silva) writes:
>In article <573 at oglvee.UUCP> jr at oglvee.UUCP (Jim Rosenberg) writes:
>>The larger question is *why can't the kernel sleep* when it needs
>>more memory for a fork???
>
>Even if it can't do it right then, it could check right before leaving
>kernel mode. Or if that's politically incorrect, change fork.o in libc.a
>to implement the check for EAGAIN and do an exponential backoff (or
>whatever).

Or fix the application program.

Pax, Keith



More information about the Comp.unix.wizards mailing list