Hi
I have a WCF windows service on a windows server 2008 R2 whose job is simply to act as a remote exe launcher from clients. There is 1 exe which takes some parameters and does some background work, basically some bulk copies from sql and generating some txts.The exe by itself if run locally, works perfectly good, no problem at all, the deal breaker comes when it launches from the wcf service which creates a System.Diagnostics.Process with the parameters and then calls the .Start() on a new Thread so it can process multiple requests concurrently.
So the problem is an isolated weird behaviour where the exe will be killed without notice, no advice, no error message, it just gets halfway or less and dies, but only sometimes, not always.
The question here is, what could be a possible cause? the service is running under the SYSTEM account so it has privileges, I was guessing that maybe it has something to do with the memory or cpu usage since the exe grabs a lot of cpu and since it runs many functions on sql, the sql service holds almost half the memory available, but that's just a wild guess. Any thoughts??? Thanks a lot to anyone who can take time to reply.