Multiple Conversations Slows Page Loading

LPH

Well-known member
I was having my students register on a site today. They were to register, send me a conversation so that I could assign them to the "student" user group. After the first 10 or so students registered, several found out that they could send "conversations" to each other. Two students in particular kept sending messages. As this happened - loading pages became a crawl. Other students were paused to send messages. The site started tossing random errors when kids would try to load a page. As soon as the two kids stopped sending their conversations then the site went back to loading fine.

This particular site I'm describing, btw, is generally very fast.

What tweaks should be done to allow multiple conversations to happen without slowing down the site?
 
Never heard of this. I don't see any reason why conversations would cause exceptional load on the server. Have you confirmed this in your own testing or is it just a theory?

Next time the server slows down try running the "top" command in the shell to see what the resources and processes look like.
 
This is a true story. It happened Monday in the school computer lab. I was at the teacher's computer and physically watching the two kids - who were across the room from each other while 43 other kids in the room were also trying to register or waiting for my reply to their conversation that they had proper permissions.*

We will be in the lab again today but I'm not sure I'll be able to run the top command because the school network is filtered and monitored.

* Yes - there are 45 high school kids enrolled in my class that period. :)
 
It is possible your (small?) server is overloaded because of a too large number of queries your users too often refresh.
I do not think there is a problem with conversations themselves.
 
It is possible your (small?) server is overloaded because of a too large number of queries your users too often refresh.
I do not think there is a problem with conversations themselves.

Once they stopped the conversations then the XF portion of the site loaded fine.

I should have stated that while this was happening I opened up other domains (In WordPress) on the network which are on the same server and they loaded just fine.
 
But is it reproducible?

For some problems I can come up with guesses and solutions based on observation. But I see no reason for this problem so I first want to confirm that it's happening. It could have been coincidence or a temporary problem.
 
Update from today:

Period 5 (9th graders, do not use conversations): 36 students. No slowdown.
Period 6 (10th graders, using conversations): 45 kids. Massive slowdown. Pages would not load in XF. I could easily load WP blogs. Looks like if I tried to post reply in an XF conversation at the same time an alert was coming in then the error would be shown.

No conversation essential add-on is installed.

I appreciate everyone's input.

These are the phpinfo() values that might be useful.

PHP 5.3.17
Enabled FastCGI
eAccelerator
memory_limit 149M
post_max_size 100M
 
Have you tried disabling all addons?

Conversations can also send emails. You can force all emails turned off by adding this to your library/config.php file:

Code:
$config['enableMail'] = 0;
 
Top Bottom