TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 639
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 254
  • Total: 254

Shoutbox overloading my server's CPU

Started by Sakuragi, March 04, 2007, 03:50:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sakuragi


Shane84

Quote from: Bloc on March 05, 2007, 12:55:02 AM
1000 entries a day? I see that it can be a problem then. It means the number of Page views increases rapidly since members get the page refreshed just to see the new shouts - or post a new one.

I am not sure how you can limit that..the shoutbox doesn't limit shouts per day, the setting is only for how many shouts to collect each time and will have no effect unless you set it to a high number, for example 100-200++.

Of course the page views goes down when shoutbox is off - then everyone is reading pages as normal.

It might be a feature to add though: limit shouts made per day. But it won't stop people from reloading the page just to see the shouts. I am thinking you should seriously consider using a chat software instead of the shoutbox when its generating that much traffic. The shoutbox is not actually meant to be sued as a chat - or used by so many at once(which in itself makes it hard to follow the entries).

aye, problem found.  Someone set up a macro scheduler and flooded my shoutbox for two hours on Monday night.  Server loads hit up to 11 and even though there are about 10 other sites on the server, loads rarely even reach 1 (usually during backups) let alone 11.  Unfortunately I was at work and there was not another admin online at the time of the event.  This is actually minor for me because these same people posted pornography and hate messages as well as threats, all using proxies so I've been very busy doing traces all over trying to get the evidence.  This hasn't been my highest priority and I am sorry for not reporting it more quickly.

My apologies for going into too much detail but I thought you'd like to know.

FYI, I am still using 0.9.7 but I have seen 0.9.8 and did not see a flood limit control so I'm going to assume either version would have the same problem, if not, disregard this.

knat

Quote from: RoarinRow on March 05, 2007, 05:53:52 PM
Quote from: Sakuragi on March 05, 2007, 01:27:20 PM
Ok thanks I'll use a chat software

Thanks for this link .. very cool

I replaced my TP Shoutbox, with this one from ShoutMix.com.  It's like a shoutbox and chat in one

http://www.shoutmix.com/main/index.php

akulion

this is a common problem with all sites runing a shoutbox, when they get large with many users it is highly recommended NOT to have shoutboxes, because they cause problems - esp AJAX type shoutboxes are a big nono for bigger sites

Shane84

Quote from: Gobo on April 07, 2007, 12:48:09 PM
this is a common problem with all sites runing a shoutbox, when they get large with many users it is highly recommended NOT to have shoutboxes, because they cause problems - esp AJAX type shoutboxes are a big nono for bigger sites

I can see your point for the original post, definitely.  I just wanted to post to make sure what happened to my site is seen.  A flood limit would be great if possible.

Crip

This is a php 'tagboard'/shoutbox (script) and does have flood control -- i used it long ago but it has been updated many time since:
http://www.phptagboard.com/
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



This website is proudly hosted on Crocweb Cloud Website Hosting.