set maxsockets