|
|||
|
I am running an installation of this chat server with approx. 200 users online at any given time. Last nite, the chat server crashed (just the process, not the whole computer) without any explanation in the logs.
However, I am getting various Java errors in error.log. These errors keep occuring while the server stays running, but I'm beginnign to wonder if the server eventually crashes from too many of these? Joy - we've been in contact through email before, and I'm going to send you a file error.tgz which is a copy of our error logs. I will also send you the URL for our chat server, and some information about it to help you debug. Please get back to me soon, b/c the quality of service for my users will suffer if chat is not available. Thanks in advance, |
|
|||
|
I checked your error.log
it cause by the error: "java.io.IOException: Too many open files" As I know, in the linux system, the default open files number is 1024 , you can check with the command : $ ulimit -a you have to increase this number because your chat server have a lot of online users and a lot of chat rooms. Please follow this way: if you use non-root account to start the chat server, you should login as root first, for example, you run the chat server with the username "yourname" $ su - # ulimit -n 65535 # su - yourname $ cd <123flashchat installed dir> $ ./fcserver.sh restart if you use root to start the chat server, you can just do the below commands: $ su - # ulimit -n 65535 # cd <123flashchat installed dir> # ./fcserver.sh restart it will fix your problem, ![]() |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|