invoke a python multiprocessing script from an asmx service erratic behaviour

Sotirios Triantos 1 Reputation point

I use a python script to perfom a very demanding job with the use of multiprocessing. If i call the script through a windows form everything works ok. But if i try to invoke it from an asmx service it doesnt load all the job and it stucks (the workers stay idle). if i choose a small part of the job the service works ok. Is it a memory issue or an iis limitation? windows 10, amd threadripper, 32 gb ram.

Internet Information Services
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce ( 59,546 Reputation points

    when you call a script from a asmx service, it is running with out a user profile and under the app pool account.

    you probably have configuration issues.