Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Script slow only when run as scheduled tasks on Windows Server

by marto (Chancellor)
on Nov 30, 2011 at 11:59 UTC ( #940822=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Script slow only when run as scheduled tasks on Windows Server
in thread Script slow only when run as scheduled tasks on Windows Server

In our case we saw what you are seeing, no indication that the resources are being being taxed at all. I suspect our problem was based in the virtualisation setup, not the windows setup. However as you say, if performance is normal when run from the console this isn't your issue. Perhaps it would be wise to profile your program running from both the command line, and as a service. Comparing the output should narrow down where the performance bottle neck is occuring. See Devel::NYTProf. IIRC Windows has an optimisation setting, which allows you to choose 'Programs' or 'Background Services'. This may also be worth investigating. 'System properties' -> 'Advanced'->'Performance'.


Comment on Re^3: Script slow only when run as scheduled tasks on Windows Server

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940822]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-08-21 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (143 votes), past polls