|
|||
|
Seems odd, but the Java Server crash or stop working. This have happen a couple of times. I have to ./fcserver restart I am not completely sure but I have my doubts.
Anyone knows how to put a cron job so the java server is 'restarted' daily or something like that.? TIA |
|
|||
|
what's your server OS ?
If your server is freebsd, some jdk 1.4 on freebsd isn't stable enough. Our chat server installed on linux, and it runs the chat server for a couple of months, and runs well. anyway, if you want to add a crontab job, you can create a shell script under the <123 flash chat server installed dir>, for example, named "restartchat.sh" Code:
cd <123 flash chat server installed dir> ./fcserver.sh restart chmod a+x restartchat.sh crontab -e add one row in the end 0 0 * * * <123 flash chat server installed dir>/restartchat.sh one more thing, sometime if the free memory on your server has almost been cost by others application , the chat server will stop working. if that, please increase your server memory to resolve it or move the other applications which cost most memory to other servers. you can check the free memory by this command: free |
|
|||
|
Quote:
btw, I don't recommend the chat server runs in FreeBSD, there isn't a stable jdk 1.4.x version works for the java new io(NIO) system so far(123flashchat server use the java.nio package which have a great performance) . our demo chat server works for 2 months since last upgrade, runs in redhat linux 9, P4 2.2G, 1G memory |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|