invoke a python multiprocessing script from an asmx service erratic behaviour

Sotirios Triantos 1 Reputation point
2022-04-04T20:35:20.107+00:00

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 (SqlWork.com) 61,731 Reputation points
    2022-04-04T21:27:25.247+00:00

    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.