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: 1
  • Guests: 402
  • Total: 403
  • @rjen

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

Hi
I think that the shoutbox overload my server, I'm running SMF 1.1.2, PHP 4.4.4, MySQL 4.1.21
the forum stats : 200-300 users online, 30000 members,  450000 messages, ~60000 pages views per day
using a dedicated server Intel Pentium 4 CPU 2.60GHz, 2Go RAM.

when soutbox is enabled Load averages > 10
when shoutbox is disabled Load averages < 1

Any help is appreciated

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



Sakuragi


Sakuragi

when I delete all shouts the Load averages go down to 1, but I have an active board, my members can make 1000 entries per day on the shoutbox

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes




G6Cad

Admin/TinyPortal/Block manager/Shoutbox
Linit posts to, set the value you like in the box :)

bloc

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).

Sakuragi


RoarinRow

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

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

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

This website is proudly hosted on Crocweb Cloud Website Hosting.