|Syntactic Confectionery Delight|
Re: Mysterious script crash in win2k and ActivePerlby gmpassos (Priest)
|on Dec 14, 2002 at 00:38 UTC||Need Help??|
Well, very mysterious!
First, what is your Perl version?
If you are usign Perl 5.8.0, disable the signal ALARM:
I saw that you uses sockets. Don't forget to close a socket after use it, or at least lose the $variable with the socket. Because the system, specially on Win32, has a limit for sockets to be opned.
You have to monitore the memory used by the process too! Maybe it wasn't coleting the garbage of unused variables and objects!
If you don't need the prompt window, run your script using the wperl.exe! This way doesn't open a console (pipe) for the process, and was 1 thing less to create problems!
Good luck! ;-P
Graciliano M. P.