Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File is being used by another process (COLI-1216) #22

Open
domonkosgabor opened this issue Sep 28, 2023 · 1 comment
Open

File is being used by another process (COLI-1216) #22

domonkosgabor opened this issue Sep 28, 2023 · 1 comment
Assignees

Comments

@domonkosgabor
Copy link
Member

I have some entries in the log files:

2023-09-27 13:23:12,833 [101] Piedone.Combinator.CombinedResourceManager - Default - Error when combining Style files [https://mysite/controller?somethingId=6865]
System.IO.IOException: The process cannot access the file 'D:\Sites\mysite\Media\Default_PiedoneModules\Combinator\Styles\662943427-1.css' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileInfo.Delete()
at Piedone.Combinator.Services.CacheFileService.Save(String fingerprint, CombinatorResource resource, ICombinatorSettings settings)
at Piedone.Combinator.Services.CombinatorService.<>c__DisplayClass15_0.b__0(CombinatorResource combinedResource, List1 containedResources) at Piedone.Combinator.Services.CombinatorService.Combine(IList1 resources, String fingerprint, ResourceType resourceType, ICombinatorSettings settings, Boolean saveOnlySharedResources)
at Piedone.Combinator.Services.CombinatorService.CombineStylesheets(IList`1 resources, ICombinatorSettings settings)
at Piedone.Combinator.CombinedResourceManager.BuildRequiredResources(String stringResourceType)

As you can see it's a CSS file but the same applies to JS files too. I'm not sure what's the root cause of this issue and I haven't found any correlation with clearing the combinator cache so far. This needs further investigation but this log entry happens from time to time.

@domonkosgabor domonkosgabor changed the title File is being used by another process File is being used by another process (COLI-1216) Sep 28, 2023
@Piedone
Copy link
Member

Piedone commented Dec 13, 2023

Related? #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants