Chat daemon not working

Chat daemon not working

by Arnor Kristjansson -
Number of replies: 2
Hi,

With 60+ users in 4 different chats simultaniously the server comes to a grinding halt often giving users an error that the mysql database couldn't be contacted.
To fix this I set the chat module to run as a server daemon, with the rest on defaults (localhost, 127.0.0.1, port 9111, etc)

When I start the server daemon (using the correct php package) I get the same (non-fatal) error as described in other threads ("socket_getpeername...") and no chat; it doesn't matter if the chat daemon is on or not all chat windows are blank in all browsers.

wait_timeout is nowhere to be found in my.cnf

Any more ideas?
Average of ratings: -
In reply to Arnor Kristjansson

Re: Chat daemon not working

by James Dugal -
Arnor, I had similar problems until I changed the IP address of the chat daemon
to the actual IP address of the machine.  I suspect this lead the daemon to bind
to an external interface instead of the loopback interface, and this makes it all work!
In fact, I suggest that the default be changed from 127.0.0.1 for this reason.