Perl causing scheduler to hang

  • Thread starter Thread starter Cosmic Cruizer
  • Start date Start date
C

Cosmic Cruizer

I'm using the Windows 2000 Server scheduler to execute a few Perl scripts.
Unfortunately, several of the scripts appear to be causing the Windows
scheduler to hang. I'm using Perl, v5.6.1 built for MSWin32-x86-multi-
thread, binary build 631 provided by ActiveState.

This is the only server I'm using this version of Perl and it's the only
server having problems where Perl appears to be causing the scheduler to
hang. Has anybody else experienced problems with Perl causing the Windows
2000 scheduler to hang? If so, did you find a way to resolve the problem?

Thanks
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Cosmic Cruizer said:
I'm using the Windows 2000 Server scheduler to execute a few Perl scripts.
Unfortunately, several of the scripts appear to be causing the Windows
scheduler to hang. I'm using Perl, v5.6.1 built for MSWin32-x86-multi-
thread, binary build 631 provided by ActiveState.

This is the only server I'm using this version of Perl and it's the only
server having problems where Perl appears to be causing the scheduler to
hang. Has anybody else experienced problems with Perl causing the Windows
2000 scheduler to hang? If so, did you find a way to resolve the problem?

Thanks

If you are accessing files in a remote share, it pays to pre-fire a BAT
connection script to refresh your connections:

net use //myserver/myshare

If the share isn't connected when your script runs it will hang!

Without exception, Perl is a winner for network programming in Windows.

hth,
msp
AIM:yahoo:tlviewer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)

iD8DBQFAOWAW6ol16hqWbsURAt7zAKCf7QviE0wlX3MxJIKybzpNtEy9rACeJmm5
NbXaQ1PPsJjMNtwIl4JDpmg=
=O7Z0
-----END PGP SIGNATURE-----
 
Mark_Pryor said:
If you are accessing files in a remote share, it pays to pre-fire a BAT
connection script to refresh your connections:

net use //myserver/myshare

If the share isn't connected when your script runs it will hang!

Without exception, Perl is a winner for network programming in Windows.

hth,
msp

Mark, thanks for the heads-up on the shares issue. But in my case, both the
scripts and the files being prcoessed are all on the same local drive in
unshard directories.
 
At the risk of stating the obvious, can you move to a version of perl that
you are using on one of the servers where perl runs without causing the
scheduler to hang?
 
At the risk of stating the obvious, can you move to a version of perl that
you are using on one of the servers where perl runs without causing the
scheduler to hang?

Doing a swap is probably what I will end up doing. Since this is a
production server, I was hoping to find some kind of other solution. Even
so, doing an uninstall and reinstalling Perl is probably going to be my only
solution. Either that, or I am also entertaining the idea of trying AutoTask
since I have an extra license.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top