My machine has 8 gigs of ram and 4 hyperthreaded codes (8 CPU as far as the OS is concerned) so I build with scons -j8 to peg them all and get the fastest build output. When I need to do something cpu I use -j7 so my system remains responsive.
Full buildlog attached, and I will be doing some further investigation. At the risk of sounding like a broken record I'm new to python so I stumble over stupid stuff a lot.
Theories I have to resolve this problem:
1. Use a phony SideEffect() on everything that invokes lib.exe and linker.exe with mongo.pdb so they don't build in parallel
2. All symbols for all exevcutables seem to be going to one symbol database: env.Append( CPPFLAGS=' /Fd"mongod.pdb" ' )
This should be changes to one pdb per assembly
3.Stop using the PDB construction variable and embed debug symbols directly in the executable.