Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Mar 2019 02:51 PM by  Walter Boyd
Windows\Temp filling up
 10 Replies
Sort:
You are not authorized to post a reply.
Page 2 of 3 << < 123 > >>
Author Messages


New Member


Posts:36
New Member


--
13 Dec 2018 03:30 AM

All the code code is static, it doesn't change. I have about 10 active tasks, but most run daily or weekly - only one runs every few minutes. It makes more sense that only one temp folder would appear, the script shouldn't need to be recompiled every time. Do you know what triggers the module to recompile?

0


Basic Member


Posts:394
Basic Member


--
13 Dec 2018 03:40 AM

Exactly, it should only create one folder to prevent recompilation. I found some discussions here here here where some folks notice the files get locked by the process (in your case that would be the IIS web process) and couldn't delete the files. If you run it slower like every 10 minutes, does it still create the folders? Have you tried restarting IIS?

0


New Member


Posts:36
New Member


--
13 Dec 2018 03:56 AM

I found those posts as well, not sure it's related. In your test was the folder getting deleted and rebuilt each time? Or was the same DLL being reused each time the script ran? Something is causing my system to recompile the code each time.

0


Basic Member


Posts:394
Basic Member


--
13 Dec 2018 04:01 AM

The code explicitly checks to see if a precompiled cached version exists and won't compile again. On my system, it doesn't create multiple folders on subsequent scheduled runs of the same code.

0


New Member


Posts:58
New Member


--
08 Mar 2019 07:01 AM

FYI - Just had a look in my temp folder and there seems to be a new razor folder roughly every day. Among the files inside is always a cs file that appears to be from the Revindex task scheduler as it contains the code from the task that I have on the server for Xero updates. I have that running once per day, so that fits.

Each of the folders has it's own unique name e..g. RazorEngine_5k3op2gq.icw

So yes, I can confirm I'm also seeing folders there, and if the task ran more frequently or on more portals, then there'd also be more folders.

It's certainly not cleaning up after itself.
Rob

0
You are not authorized to post a reply.
Page 2 of 3 << < 123 > >>