TusharK has asked for the wisdom of the Perl Monks concerning the following question:
My application runs in multiprocessing and I am using "Net::OpenSSH" module to connect to the Cisco routers via SSH.This module is running for a single router successfully.
But when I am executing the process (with the 16 child processes) for around 20 thousand devices, the processes are getting killed randomly. When I reviewed the application log file I found the following exception: "packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe". Could someone please suggest what I am doing wrong here and how to resolve this issue?