Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > 123 Flash Chat Server Software > 123 Flash Chat Support

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-27-2004, 06:51 PM
Junior Member
 
Join Date: Nov 2004
Posts: 2
Default chat server errors in error.log

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,
  #2 (permalink)  
Old 11-29-2004, 02:19 AM
Senior Member
 
Join Date: Jan 2001
Posts: 413
Default Re:chat server errors in error.log

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,

Closed Thread

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:53 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.