in reply to Pinging server using multithreading concept

You are (almost certainly) running out of stack. See threads   use threads ( 'stack_size' => 64*4096 };

Beyond that, using 500 threads where each does so little work every 60 seconds is a very memory intensive way to do things. Consider using the asynchronous 'syn' protocol of Net::Ping to efficiently ping your 500 hosts with minimal memory usage.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP PCW It is as I've been saying!(Audio until 20090817)