|
Problems due to Shoutbox?
|
Posts: 26
Group: Registered
Joined: Jan 2008
Status:
Offline
Reputation: 0
|
RE: Problems due to Shoutbox?
How's the load when you set it to 30 seconds? And you never mentioned how many pages/shouts do you have in your database?
I have tried it again the last 4 hours (refresh=30sec.) with about 20 people in the forum: The first 2 hours all was OK and load average was about 0.2 and 2, depending on how many people where online. After this 2 hours, the load average increased slowly but steadily. I deactivated the shoutbox at a load average of 25.00. About 2 minutes later the load average went down to a number lower then 2. At his time there where about 400 shouts in the database. Before deactivating the shoutbox I deleted the database, but this didn't have any impact.
08-14-2008 07:53 PM
|
|
|
 |
Posts: 222
Group: Administrators
Joined: May 2006
Status:
Offline
Reputation: 1
|
RE: Problems due to Shoutbox?
The load went to 25 with only 20 people on the forum? What are the server specifications? This shoutbox has been used on forums where there have been more than 100 of users present at the same time so I don't think it can cause such a load with so less requests.
Sudden traffic spikes or flood/DOS attacks might be occurring, so I would advice to install mod_evasive and check closely if it's the shoutbox that's the problem. Is it your own server? Have you enabled the shoutbox globally (all over the forum?).
08-15-2008 10:08 AM
|
|
|
 |
Posts: 26
Group: Registered
Joined: Jan 2008
Status:
Offline
Reputation: 0
|
RE: Problems due to Shoutbox?
Hello Pacifier,
what would you need in detail about the server specification? Regarding mod_evasive I have to check if it is already installed or not. The server is a V-Server (virtual), not a Root-server.
The shoutbox is enabled only on the main page of the forum.
By the way, I have just made another test. There was no user online and the load average was at 0.01. I activated the shoutbox and made about 50 shouts in a minute or two. The load average raised up to 1.7. After deactivating the plugin in went down to 0.01 again. 
What I am doing wrong?
08-17-2008 12:56 AM
This post was last modified: 08-17-2008 01:07 AM by Jockl.
|
|
|
 |
Posts: 222
Group: Administrators
Joined: May 2006
Status:
Offline
Reputation: 1
|
RE: Problems due to Shoutbox?
It would be helpful to know your server specifications such as available RAM, CPU, disk usage, any limits on the concurrent connections etc.
08-17-2008 10:58 AM
|
|
|
 |
Posts: 26
Group: Registered
Joined: Jan 2008
Status:
Offline
Reputation: 0
|
RE: Problems due to Shoutbox?
I hope, following information is what you asked for. If I missed something, please tell me. ;)
top - 22:27:03 up 11 days, 14:50, 1 user, load average: 0.07, 0.27, 0.50
Tasks: 39 total, 1 running, 38 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3% us, 0.3% sy, 0.0% ni, 99.3% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 1549708k total, 1511528k used, 38180k free, 81588k buffers
Swap: 3068392k total, 31548k used, 3036844k free, 641792k cached
Timeout 50
KeepAlive On
MaxKeepAliveRequests 10
KeepAliveTimeout 4
# prefork MPM
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 3
ServerLimit 30
MaxClients 30
MaxRequestsPerChild 0
</IfModule>
# worker MPM
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
08-17-2008 10:29 PM
|
|
|
 |
Posts: 26
Group: Registered
Joined: Jan 2008
Status:
Offline
Reputation: 0
|
RE: Problems due to Shoutbox?
Hi Pacifier,
do you have any comments on my last post? I would really like to use your shoutbox again.
Do you think that using the new Shoutbox version could help also at MyBB 1.2?
08-23-2008 11:32 AM
|
|
|
 |
Posts: 222
Group: Administrators
Joined: May 2006
Status:
Offline
Reputation: 1
|
RE: Problems due to Shoutbox?
Hi Pacifier,
do you have any comments on my last post? I would really like to use your shoutbox again.
Do you think that using the new Shoutbox version could help also at MyBB 1.2?
No the new shoutbox will not work on MyBB 1.2. It seems like you have a 1.5gb of ram. What about the CPU and hard disk configurations? I still don't see how this could cause a trouble though as it has been used on big forums without problems.
08-24-2008 05:08 PM
|
|
|
 |
Posts: 26
Group: Registered
Joined: Jan 2008
Status:
Offline
Reputation: 0
|
RE: Problems due to Shoutbox?
Sorry for the delay in answering. ;)
Few days ago I talked to my provider. He told me, that "top" do not give real values due to the shared server. CPU load is not my own load but the load of all 10 users sharing the V-server. The only real information for my part of the server can be seen in the user_beancounters. With vzfree I get following data:
VPS Speichernutzung:
Momentan genutzt: 259,887 MB
Maximal genutzt: 284,195 MB
Zugesichert: 843,992 MB
Maximal nutzbar: 1128 MB
I recognize that after activating the shoutbox my forum will slow down a little bit. However, as mentioned above, if we have about 5 users with a discussion in the shoutbox, I can count the minutes till the forum will be almost dead. After deactivating it takes about 30 minutes till the forum is running under normal conditions. This lasts until shoutbox will be activated again.
I also deactivated the link for the full_shoutbox to avoid additional mysql-requests but this did not have a positive impact on the forum-performance.
I still don't see how this could cause a trouble though as it has been used on big forums without problems.
It is strange and I am a frustrated about this situation as I love this shoutbox and my users also. I do not know what I can do to improve the performance.
08-28-2008 09:18 PM
|
|
|
 |
Posts: 13
Group: Registered
Joined: Nov 2008
Status:
Offline
Reputation: 0
|
RE: Problems due to Shoutbox?
11-19-2008 08:50 PM
This post was last modified: 11-19-2008 08:57 PM by technoman.
|
|
|
 |
Posts: 1
Group: Registered
Joined: Jul 2009
Status:
Offline
Reputation: 0
|
RE: Problems due to Shoutbox?
am making this thread active again just to help you with coding 
have a look please
07-25-2009 08:09 PM
|
|
|
 |
|
|