I notice that you are opening and closing your log file all the time, but there is no need to do so (as long as each line is less than about 2kB). The file buffer handles that, and allows multiple processes to append to the same open filehandle.
hth
Clint
In reply to Re: multiple connections
by clinton
in thread multiple connections
by xarex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |