#!/bin/sh ulimit -c unlimited #3000..3339 tested without problems for s in `seq 0 32767` do time ./obj/server 8080 "$s" done >>server.log 2>&1