Set max open FDs to 8129, and reorg. code in serve.js.