I have a perl daemon script which gets data from DB and for each row forks a child process which will make a web service request. My script ensures that the number of forks will never be greater than 5.
Both the parent and child processes uses Rose:: DB:: Object connection to access and update mysql db.
During the execution, the parent process database connection is getting reset.
process_webservice stopped get_objects() - DBD::mysql::st execute failed: Lost connection to MySQL server during query at /home/perl/5.8/Rose/DB/Object/Manager.pm