Mike,

    Look at the MAN pages for tcpserver there is a FLAH -c for connection
the Default is set at 40..

Sean
----- Original Message -----
From: Mike <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 31, 2000 5:22 PM
Subject: too many smtp connections still open


> I am running some tests on qmail and I have a perl script which sends
> email  via SMTP to another server.  I noticed that my script crashes
> after sending about 40 or 50 emails whe trying to select a socket.  On
> doing a netstat -a  on the server where qmail is running there are many
>
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2707
> TIME_WAIT
> tcp        0      0 mailtest:1258           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:1257           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:1256           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2704
> TIME_WAIT
> tcp        0      0 mailtest:1255           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2703
> TIME_WAIT
> tcp        0      0 mailtest:1254           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2702
> TIME_WAIT
> tcp        0      0 mailtest:1253           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2701
> TIME_WAIT
> tcp        0      0 mailtest:1252           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2700
> TIME_WAIT
> tcp        0      0 mailtest:1251           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2699
> TIME_WAIT
> tcp        0      0 mailtest:1250           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2698
> TIME_WAIT
> tcp        0      0 mailtest:1249           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:1248           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2696
> TIME_WAIT
> tcp        0      0 mailtest:1247           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:1246           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2694
> TIME_WAIT
> tcp        0      0 mailtest:1245           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2693
> TIME_WAIT
> tcp        0      0 mailtest:1244           dev.tanjian.com:auth
> TIME_WAIT
> tcp        0      0 mailtest:smtp           dev.tanjian.com:2692
> TIME_WAIT
> tcp        0      0 mailtest:1243           dev.tanjian.com:auth
> TIME_WAIT
>
> if I throttle my script and sleep long enough for these to close it
> seems to work.. UNfortunatelt I'm trying to do some timings on resouce
> requirements on qmail-local and it does not provide enough of a "real"
> scenario to work.  I would appreciate any suggestions to resolving this
> problem.
>
> Thanks
>
> Mike
>
>

Reply via email to