gsuryagandh has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Perl script hangs
by roboticus (Chancellor) on Dec 18, 2013 at 16:40 UTC

    gsuryagandh:

    I'd check that file deletion on the shared drive at line 42. I think another process has it open.

    If it's not that, maybe you have a deadlock where your script took a long time to run, and another instance is working on the same item.

    Those are my guesses.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Re: Perl script hangs
by GotToBTru (Prior) on Dec 18, 2013 at 16:24 UTC

    Without code, all we can do is guess.

Re: Perl script hangs
by zentara (Cardinal) on Dec 18, 2013 at 17:24 UTC
    I am using windows 2k8 machine. When this script hangs, i am not able to get out of it. Ctrl + C does not work, killing task from task manager also does not work.

    .... that is to allow time for the government's secret backend ajax programs to start working copying out your filesystem.... oops, sorry, I'm just a bit pararnoid today. :-)


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh
Re: Perl script hangs
by VincentK (Beadle) on Dec 18, 2013 at 17:08 UTC
    Maybe you have a memory leak somewhere in your code.

    roboticus. I love the answer of 42. Now to find the question.
      What do you get if you multiply six by nine?

        base 13