Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 active.asp Response Buffer Limit Exceeded
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

spreadpoems
New Member

52 Posts

Posted - 24 September 2009 :  18:26:11  Show Profile
Hi

I log all 500 errors on my forum. I've been seeing this error about once or twice a week for the past few months.
The page is /active.asp

Response Buffer Limit Exceeded

Execution of the ASP page caused the Response Buffer to exceed its configured limit.

I'd appreciate some help.
Thanks

Podge
Support Moderator

Ireland
3776 Posts

Posted - 24 September 2009 :  19:18:46  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
I think the default limit is 4mb. Is it a particularly large forum with a lot of active topics ?

Do you have a link to the forum ?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

spreadpoems
New Member

52 Posts

Posted - 25 September 2009 :  11:01:00  Show Profile
Also the errors tend to occur at the same time when I receive alerts that the CPU Load on my server is extremely high (over 90%)

I link to the Active Topics page from my website so the page does receive lots of visitors who are not members of the forum. Having said that, most of the errors I have caught have occurred with members.

I'd prefer to limit the output of the page over any solutions which would involve allowing more then 4mb

What is the default behavior for the Active Topics page for first time visitors. How many topics does it show?
It seems to go back 10 days, Is there a way to change that? Or maybe I could limit the options from the drop down menu to only allow viewing active topics from the past week.

What do you suggest?

Thanks







Edited by - spreadpoems on 26 September 2009 21:49:34
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 September 2009 :  13:29:06  Show Profile  Send ruirib a Yahoo! Message
You could try and add a Response.Flush every x posts to avoid that. Probably the best compromise you can get.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 27 September 2009 :  11:28:25  Show Profile  Visit AnonJr's Homepage
spreadpoems, instead of just editing your last reply - which makes it harder to follow the thread - post your clarification. If I hadn't have seen the original text I wouldn't have known that the "I'd prefer to limit the output of the page over any solutions which would involve allowing more then 4mb" part was after rui gave you a valid solution to the original question.

As to the default behaviour, a clean Active Topics goes back to the last time you were logged into the site. If I haven't visited in a long while, and/or there is a lot of activity, I'll likely see a big list of topics.
Go to Top of Page

spreadpoems
New Member

52 Posts

Posted - 27 September 2009 :  14:33:21  Show Profile
quote:
instead of just editing your last reply - which makes it harder to follow the thread - post your clarification

sorry.. my bad...
quote:
You could try and add a Response.Flush every x posts to avoid that

I guess I will try this. Thanks

perhaps, in combination with taking out the option to display more then a weeks worth of topics. I'm still not sure what the default display is for non members.

I need to take a better look at the code
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 27 September 2009 :  16:51:06  Show Profile  Send ruirib a Yahoo! Message
Response.Flush will allow you to not lose any functionality at all.

For example, to flush every 50 posts, you can just add this statement:


      If (RowCount > 0) and (RowCount mod 50 = 0) Then Response.Flush


Add this before the line that has the statement

next


which in 3.4.06 is around line# 580. This statement will flush the buffer every 50 posts and surely will solve your problem without requiring any other code changes.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

spreadpoems
New Member

52 Posts

Posted - 29 September 2009 :  11:04:20  Show Profile
ruirib, Thanks for the code. I have implemented it and hopefully no more errors :)
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 September 2009 :  12:01:35  Show Profile  Send ruirib a Yahoo! Message
No problem, let me know how it goes .


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

spreadpoems
New Member

52 Posts

Posted - 09 November 2009 :  10:41:14  Show Profile
Just an update. It's been about 5 weeks since I Implemented the above suggestion and no more errors.
Thanks!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 09 November 2009 :  11:36:57  Show Profile  Send ruirib a Yahoo! Message
Glad to know it worked :).


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 10 November 2009 :  08:47:06  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Have you noticed much of an increase in bandwidth used by the forum?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07