YAFLogo

squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
13 years ago
We just upgraded a large active forum to 1.9.6 Beta (compiled with all changesets as of 1/11/2012) and have it running. The performance issues experienced in the released 1.9.6 Beta seem to have been fixed. The code is running quite well compared to 1.9.5.5 and the 1.9.6 'released' Beta.

The only issue we have run into is that the Guest user is shown every 'forum' twice in the category list, as in when the guest loads the forum and the 'root' page is displayed, all the forums are 'duplicated' in the list. This behavior is not exhibited when a user is logged in.


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
Sponsor
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
13 years ago
I can't see anything like this as a Guest on your forum. The situation like this can happen in very rare cases. It's related to access records duplication when MS SQL Server locking mechanism fails. It was a perfomance trade-off, but it should not happen often. If not let me know.
Thoa
  • Thoa
  • 50.2% (Neutral)
  • YAF Camper
12 years ago
I have the same issue. Guest users see every 'forum' twice in the category list. I am using YAF Release version 1.9.6.1. This behavior does not happen when a user is logged in.

squirrel
  • squirrel
  • 100% (Exalted)
  • YAF Leader Topic Starter
12 years ago

I have the same issue. Guest users see every 'forum' twice in the category list. I am using YAF Release version 1.9.6.1. This behavior does not happen when a user is logged in.

Originally Posted by: Thoa 

You could try logging in as your YAF 'Host' administrator account and re-indexing your tables in the database. I believe we did this back then and it resolved the duplicate topics and forums for the guest user. As bbobb said, it's very very rare that it would happen. Since that one time, after we re-indexed, we have yet to see it again.


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
Thoa
  • Thoa
  • 50.2% (Neutral)
  • YAF Camper
12 years ago
Thank you for your reply, squirrel.

I ran the following re-index command for all tables.

DBCC DBREINDEX ('yaf_WatchTopic', ' ', 80)

But the issue still exist. Any recommandation?

Thanks,

Thoa

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
12 years ago
Simply flush ActiveAccess table. The problem is related to guest records duplicating in the table.

I already was writing about the problem 100500+ times. Unfortunately, I don't have more time because I'm forced to do with my data layers independently.

Thoa
  • Thoa
  • 50.2% (Neutral)
  • YAF Camper
12 years ago
Thank you. Deleting all records in the yaf_ActiveAccess table solved the duplicate issue. I am so worry about using the YAF forum now. This is the first time I use it. My forum is not even put in use yet. Only 8 records in the yaf_ActiveAccess table and it already causing this issue. Once I start using the forum, it may cause a lot of problems since there will be a lot of Guess users.

Is there anything I can do to prevent this issue in the future?

Thanks,

Thoa

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
12 years ago

I am so worry about using the YAF forum now. This is the first time I use it. My forum is not even put in use yet. Only 8 records in the yaf_ActiveAccess table and it already causing this issue. Once I start using the forum, it may cause a lot of problems since there will be a lot of Guess users.

Originally Posted by: Thoa 

There will be no a lot of guest users. The situation is very rare and therefore was not fixed. The fix implies steady perfomance downgrade in a very busy sql script. The reason of this is MS SQL Server unreliable transaction locking. Logic works fine.

Thoa
  • Thoa
  • 50.2% (Neutral)
  • YAF Camper
12 years ago
Hi,

I am now experience a performance issue. My forum runs very slow. Since it's a new forum, the database has a very small amount of data. We do not have a lot of users at this point. But it runs very slow.

I have an old forum in ASP which located in the same host but it runs very fast with a large SQL Server database. I afraid to bring those data over to this new YAF forum. It already runs very slow without any data.

Any suggestion?

Thanks