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

AppStateTracerV1Controller.CaptureAndStoreSettingsState #12

Open
aaronhudon opened this issue Oct 30, 2022 · 2 comments
Open

AppStateTracerV1Controller.CaptureAndStoreSettingsState #12

aaronhudon opened this issue Oct 30, 2022 · 2 comments

Comments

@aaronhudon
Copy link

Please advise, I am seeing a large percentage of issues being targeted at AppStateTracerV1Controller

image

@pharring
Copy link
Member

pharring commented Mar 6, 2023

AppStateTracker is part of Change Analysis
It's an extension that runs periodically to capture application changes at the file level (e.g. web.config files).
Short of disabling Change Analysis for your application, I don't think there's anything you can do to fix it.

As far as I recall, the AppStateTracker fires once every 4 hours. It's not supposed to take very long. A few seconds of file scanning. It would, therefore, be a bit unusual (unusually lucky) if it shows up regularly in profiles. It could indicate that it's taking much longer than usual. Does your web site have a lot of .json files, for example?

The Change Analysis team would have to look at ways of improving this code. string.Split is at the top of the stack and that's often a bottleneck.

@pharring
Copy link
Member

pharring commented Mar 6, 2023

@aaronhudon I know it's been many months since you logged this issue, but by any chance are you still seeing it? If so, could you paste the complete stack as text? In the screen shot, the interesting parts of the AppStateTracker stack frames are cut-off.

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

No branches or pull requests

2 participants