|
Please contact me if there is any more information I could provide, or if you would like me to do further/additional testing. I want this issue resolved.
Ok, I've confirmed that the chatd.php daemon stops responding to requests while it is still in the process list. I tested it from home last night with Firefox 2.0.0.2 on Windows. My testing to this point was only on Firefox 1.5.0.9 on Linux. The time I find chat not responding I'll test with Internet Explorer as well.
I'm pretty sure the Firefox crashing issue is strictly related to the XGL Linux interface. It only crashes when I have rotated to another cube face, and then back to the cube face that the Firefox moodle chat window is on. (1.7.2) Please please help with this. Our chat daemon stops after 20 min at the moment, manually go over to normal method. 18 Users in one chat seems to collapse as well. Under pressure from management to get to a problem free chat scenario.
Will upgrading to 1.8.x help???? pienaara.rd@mail.uovs.ac.za We seem to have isolated the chat problem Martin. See below:
Every 2.0s: netstat -tap Tue Jun 12 12:45:59 2007 Active Internet connections (servers and established) for each post to the chat it opens a port and never closes that port again. This will obviously cause high utilisation and also cause the chat to slow down. This is a programatic problem. We have also tested the chat_revamped version, but found it extremely buggy. Dongsheng did you have any progress on this?
Not yet, I will research this in the next few days.
My Environment:
Moodle 1.7.1+ Apache with MySQL with PHP 5.1.6. my chat deamon stops working after a few hours, and we found an error. we losted ddbb conection: this the lines we added: while(true) { //---------------------------------- //implementem el timeout // See error_reporting(0); // Hide errors if (!isset($CFG->dbpersist) or !empty($CFG->dbpersist)) { // Use persistent connection (default)
$dbconnected = $db->PConnect($CFG->dbhost,$CFG->dbuser,$CFG->dbpass,$CFG->dbname,true);
} else { // Use single connection
$dbconnected = $db->Connect($CFG->dbhost,$CFG->dbuser,$CFG->dbpass,$CFG->dbname,true);
} /// Forcing ASSOC mode for ADOdb (some DBs default to FETCH_BOTH) // First of all, let's see if any of our UFOs has identified itself |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Apache/2.2.3
mysql Ver 14.12 Distrib 5.0.18, for suse-linux (i686) using readline 5.1
PHP 5.1.2 (cli) (built: Nov 7 2006 14:30:25) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
Moodle chat daemon v1.0 on PHP 5.1.2 ($Id: chatd.php,v 1.31 2007/01/03 14:44:45 moodler Exp $)
Moodle 1.7.x
client: SuSE Linux Enterprise Desktop
Firefox 1.5.0.9
Server setup:
cront tab: @reboot /srv/www/htdocs/moodle/mod/chat/mdl-chat-daemon.sh
#! /bin/bash
cd /srv/www/htdocs/moodle/mod/chat/
php5 chatd.php --start >/var/log/moodlechat.log &
I am experiencing two loss of function scenarios:
1. The process, "php5 chatd.php" exits without logging an error to std_out. As you can see from my (albeit very basic) start script that I'm redirecting std_out to a file instead of using the chatd.php start script logging option.
2. The process, "php5 chatd.php -
start" as listed with ps -ef, is still running, and I can establish a telnet connection to port 9111, but the chat window within the remote Firefox broswer has stopped functioning, and more times that not, when this occurrs, Firefox hard crashes, and exits. I've never seen Firefox crash before-ever. If no one else is experiencing the Firefox crashes, or the chat window not working even though the server daemon is still accepting incoming connections, then this may be due to the XGL 3D desktop. Look at the "window open ()" function for the chat pop up window. I'm not certain, but it seems the Firefox crash usually occurs when I rotate the desktop. The Firefox crash only occurs when I have Moodle chat open. I have not tested this scenario with other browsers, or Firefox on my system with xgl disabled, so I don't know if this issue is client or server. I will do further client side testing and report back.I may file a separate bug report on #2 depending on the results of my testing.