Author |
Topic  |
|
sikandar
Junior Member
 
Pakistan
135 Posts |
Posted - 26 January 2013 : 08:55:47
|
Hi, I am trying to run Update Forum Counts but it is getting timeout due to long list of topics. Inside the asp file I had also increased the timeout from 600 to large number but still not able to get it completed. tks |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 28 January 2013 : 10:08:09
|
Sounds like it may be time to archive some of your older material. If there's enough that it's timing out on the counts, then I would recommend archiving in small chunks to prevent timeouts and other odd errors resulting from a timeout in the middle of the process. |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 28 January 2013 : 13:15:36
|
There are scripts that were posted before to do this from the database side of things, if you are running on MySQL or SQL Server. If you are running on Access, well, maybe you should consider upgrading. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
sikandar
Junior Member
 
Pakistan
135 Posts |
Posted - 01 February 2013 : 03:55:39
|
Hi, Thanks AnonJr for the suggestion and sure will consider the archiving option.
Ruirib I am using MYSQL so from where I can get those scripts?
tks |
 |
|
sikandar
Junior Member
 
Pakistan
135 Posts |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 01 February 2013 : 05:45:57
|
Yep, that is the one. You need to execute it on a MySQL client or maybe even phpMyAdmin. You can also create a stored proc based on this (I can provide additional code) and just execute the stored procedure. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
sikandar
Junior Member
 
Pakistan
135 Posts |
Posted - 01 February 2013 : 07:44:41
|
"(I can provide additional code) and just execute the stored procedure."
Please provide the additional code as will be appreciated. tks |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
sikandar
Junior Member
 
Pakistan
135 Posts |
Posted - 04 March 2013 : 21:57:24
|
Hi Ruirib, I have created and executed the procedure but seems not much lucky as current counts are as it is and if I am reading one topic once and refreshing the page it is showing jump of 10 addition in the read counter. Any tip please. tks |
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 05 March 2013 : 01:55:22
|
the read counter is not changed by updating forum counts. A jump in the read counter like that could mean that someone has the topic tagged somewhere, it happened here with a few topics some weeks ago |
MVC .net dev/test site | MVC .net running on Raspberry Pi |
 |
|
sikandar
Junior Member
 
Pakistan
135 Posts |
Posted - 05 March 2013 : 02:06:02
|
I am surprised as topics READS are going to thousands which was not happening before. From where and how I can check tagging and also kindly let me know then what is this forum count suppose to do? tks |
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 05 March 2013 : 02:48:39
|
the update ccounts, updates all the topic and reply counts so they match what is actually in the database as occasionaly they get out of sync.
The only way to check why your read counts are going up so high is to look in your IIS log files, you will then see the same ip address connecting to the same topic over and over again. There is very little you can do about it |
MVC .net dev/test site | MVC .net running on Raspberry Pi |
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
|
Carefree
Advanced Member
    
Philippines
4217 Posts |
|
Carefree
Advanced Member
    
Philippines
4217 Posts |
Posted - 05 March 2013 : 05:21:39
|
quote: Originally posted by HuwR
the update ccounts, updates all the topic and reply counts so they match what is actually in the database as occasionaly they get out of sync.
The only way to check why your read counts are going up so high is to look in your IIS log files, you will then see the same ip address connecting to the same topic over and over again. There is very little you can do about it
Well, you could ban the IP and/or IP range that's constantly connecting. |
 |
|
|
Topic  |
|