I wrote a threaded script to verify the address in my database. At first this was not a threaded script. But it was taking to long to process the addresses. So I added threads to speed up the process. But now my script seems to die at some random point after validating a random number of addresses. Each thread that is started calls Mail::VRFY and then the address is stored in a shared array based on the return value of Mail::VRFY.
I'm not sure if its Mail::VRFY that isn't thread safe and dies. The only clue I have at this point is on a Solaris 8 and Solaris 10 box is "Broken Pipe" that is printed to STDERR. The debian box prints nothing.
Any help would be great. Where should I be looking for why its breaking? Has anyone else used Mail::VRFY in a threaded script?
(0)
]
