> I'm fairly sure that fork work fail (cleanly) for 'lack of physical > memory' or 'lack of KVA', at least not without the world exploding > at the same time. So I'd guess you are just hitting the 'ulimit -p' > soft limit on the number of processes.
FYI: fork() hangs if there is not enough KVA, in particular if KVA is so fragmented that a 256KiB allocation isn't possible. (HI TAYLOR :-) .mrg.
