As you use the mysql - container, you may want to avoid the NFS Locking
problem.
If your data_private_path is located within NFS you still have the same
problem, as the src/proxies/log.class.php tries to log any send, notify and me command to
that log.
This patch avoids the problem, by returning if you use the mysql container,
beforethe attempt of logging takes place.
This turns off logging of the mentioned commands.
[root@mserver epl-trunk]# svn diff phpfreechat/phpfreechat/src/proxies/log.class.php
Index: phpfreechat/phpfreechat/src/proxies/log.class.php
===================================================================
--- phpfreechat/phpfreechat/src/proxies/log.class.php (Revision 1263)
+++ phpfreechat/phpfreechat/src/proxies/log.class.php (Arbeitskopie)
@@ -41,6 +41,8 @@
$recipient = $p["recipient"];
$recipientid = $p["recipientid"];
$c =& pfcGlobalConfig::Instance();
+ // check if the container is mysql. If it is, get out of here, as the reason may be the NFS problem.
+ if ($c->container_type == 'mysql') return $this->next->run($xml_reponse, $p);
$u =& pfcUserConfig::Instance();
$logpath = ($c->proxies_cfg[$this->proxyname]["path"] == "" ? $c->data_private_path."/logs" :
@@ -69,4 +71,4 @@
}
}
-?>
No newline at end of file
+?>