Authentication to VI times out after 30 minutes, you will need to get a new handle if your process takes (or can take) longer than that to complete.
________________________________________ From: [email protected] [[email protected]] On Behalf Of Oeschey, Lars (I/ET-83, extern) [[email protected]] Sent: Tuesday, January 19, 2010 7:11 AM To: [email protected] Subject: fork or thread? Hi, I'm trying to write a script within the VMware vSphere Perl SDK. The script will backup some VMs where those have it defined in Vsphere. Currently I have the problem, that I get a timeout on my authenticated connect, and can't reconnect (I don't know why, and the VMWare forums aren't helpful there). So I thought about authenticating, and then forking or creating a thread that does something in the VSphere to keep the authentication alive. My problem here is that I don't know how to end the forked/threaded process, aber all backups in the parent process are done. This is the first time I have to do forking/threading, I read about both but still am unsure about how to communicate to the child that it should exit it's infinite loop. Is there any best practice or something I should read about and don't know? Lars _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
