Added configration for maxfd and automatically use the  numer of cpus for GOMAXPROCS per default.