Developer forum

Forum » CMS - Standard features » Index failing frequently

Index failing frequently

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

We have a customer where the rebuild of the index if failing frequently. I may have uncovered something (also may be the root cause of what was reported in https://doc.dynamicweb.com/forum/dynamicweb-9-0-upgrade-issues/9-13-3-upgrade-causes-slow-loading-of-users-page?PID=1605&ShowLast=1give but thought it was best to start a new thread.

 

  • The site (Biolegend) is running on 9.10.12 and the index is taking about 2min to run - so far so good
  • Looking at the logs the of why it fails it's always the same reason
    2022-10-03 22:01:25.526: Product index builder experienced a fatal error.. System.IO.IOException: The process cannot access the file ' (...) \Status.xml' because it is being used by another process (...)
  • I tried to look into Dynamicweb's source code for usages of "Status.xml". Way easier said than done...
    • It's used only in the Status class
    • It appears to only be used in Load()
    • The Load method is only used in GetStatusHistory() which traverses all directories

 

Am I accurate? And could the frequent looping through of the Status.xml files cause the error reported when rebuilding the index?

 

Best Regards,

Nuno Aguiar


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi Nuno,

I've discussed the issue with DW expert and the code seems not to be cause of the issue. Please, confirm the issue is reproduced on last DW admin version as well. I've checked my test environment has 10M users and Diagnostic folder has >50K folders inside Products (including example received by Scott) and was not able to catch the issue. Since it's specific issue of some customer, so pls submit new case to support to have full info to investigate it well (if it's still reproduced on last DW admin). Thanks.

BR, Oleg QA 

 

You must be logged in to post in the forum