Web Hosting Talk







View Full Version : Digichat 4.0 Hang/Error


Deemurray
10-07-2004, 03:07 PM
Hey,
I've tried emailing my server support and digichat support, neither can tell me how to solve my problem.

I was reading a few digichat related topics on here and noticed a few people have came across the same problem i am having although no one had replied to their post.

Basically the problem i am having is with my Digichat 4.0 Server which i currently host on my dedicated linux fedora box.

Once my digichat server reaches 200-250 users it hangs and fires errors at users when they try to enter the digichat chat. When i check the processes running on my server it still shows that Digichat 4.0 server and java are both running even though the chat has hung and isn't functioning. I have to kill both processes and restart them before it works, loosing all my users while restarting.

I spoke to digichat support and they told me how to setup a error log feature. I checked the error log and found the following error...

java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at com.diginet.digichat.server.a1.run([DashoPro-V1.3BETA-091199])

I run ensim basic on my box, i increased the userlimit on there to max which is 2048, i also ran the command ulimit -n 9999 to increase the max users on my server. Neither seems to have sorted the problem, its got the the stage where i don't know what to do next and would GREATLY appreciate any suggestions of feedback!

mikaelhg
10-07-2004, 08:36 PM
What does "ulimit -a" say?

Deemurray
10-08-2004, 08:10 AM
Hey,
Cheers for replying to my post, much appreciated...

Ulimit -a gives....

ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 4082
virtual memory (kbytes, -v) unlimited

mikaelhg
10-08-2004, 03:28 PM
Raise the open files soft and hard limits.

Deemurray
10-08-2004, 04:36 PM
I'm not exactly sure of the exact commands to increase those limits. Can you please post the commands to use and i will give them a go.