[...]
> When I check the vmstat while getting errors from the netcat script I get
> this.
>
> -->vmstat -z | grep -i sock                           2005/05/13 13:33:20
> socket:          224,    16424,  16438,      0,  1150867

Limit ---------------------^^^^^
Current ---------------------------^^^^^

> Here is my vmstat -z in a "normal" state.
>
> ITEM            SIZE     LIMIT    USED    FREE  REQUESTS
[...]
> socket:          224,    16424,   3621,  12817,  1167053

[...]
> And during the failures..
>
> ITEM            SIZE     LIMIT    USED    FREE  REQUESTS
[...]
> socket:          224,    16424,  16430,      8,  1201620

[...]
> Am I pretty much just looking at a tuning issue at this point I assume?

1) Use a persistent connection if possible.

2)

/etc/sysctl.conf:
        net.inet.tcp.msl="5000"
        net.inet.ip.portrange.last="50000"

perhaps

/boot/loader.conf:
        kern.ipc.maxsockets="32768"

-- 
Maxim Konovalov
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to