YAFLogo

BWG
  • BWG
  • 100% (Exalted)
  • YAF Lover Topic Starter
7 months ago
Hi,

I'm periodically seeing the IIS Worker Process spiking to the extent that I've had to throttle it. It's assigned exclusively to YAF.

I created a dump file from the process and noticed something like this in it:

AA001 Thread pool thread or asynchronous task blocked on a synchronous call

5 threads are performing asynchronous work in method 'System.Web.UI.Page.ProcessRequestMainAsync(bool, bool)' but are waiting on a synchronous call to method.

Based on information from Claude I've tried adding asyncTimeout="100" to the pages section in the web.config to see if it helps.

Any ideas? V3.2.6

Thanks

Brian

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
7 months ago
The only process would be the search indexer, but this only runs one time a day.
BWG
  • BWG
  • 100% (Exalted)
  • YAF Lover Topic Starter
7 months ago
Can I disable Search Indexer from the Admin interface? If not, how can I disable it in code?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
7 months ago

Can I disable Search Indexer from the Admin interface? If not, how can I disable it in code?

Originally Posted by: BWG 

No, it cant be disabled. But i remember the indexer crawls the entire forum posts every time This issue was fixed in 3.2.7

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
7 months ago

Can I disable Search Indexer from the Admin interface? If not, how can I disable it in code?

Originally Posted by: BWG 

No, it cant be disabled. But i remember the indexer crawls the entire forum posts every time This issue was fixed in 3.2.7

BWG
  • BWG
  • 100% (Exalted)
  • YAF Lover Topic Starter
7 months ago

Can I disable Search Indexer from the Admin interface? If not, how can I disable it in code?

Originally Posted by: tha_watcha 

No, it cant be disabled. But i remember the indexer crawls the entire forum posts every time This issue was fixed in 3.2.7

Originally Posted by: BWG 

I've just upgraded to 3.2.7 so will monitor CPU usage.

PS: I noticed the move topic doesn't appear to be working in 3.2.7, so I assume those commits (linked in the other thread) need to be applied. 

Edit: I'm still seeing the IIS worker process spiking intermittently after upgrading to 3.2.7. It usually normalises after a relatively short period of time, perhaps a minute or two. I'll investigate further. The main forum has 666 pages of threads which go back about 10 years.

BWG
  • BWG
  • 100% (Exalted)
  • YAF Lover Topic Starter
6 months ago
I thought I should provide an update on this. Since tightening bot access at the CDN level the spiking issue appears to have more or less gone away. Therefore, it looks like the issue only occurs when automated bots are very active.