Java arguments while ./sfs

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
cpdavidd
Posts: 31
Joined: 25 Feb 2010, 08:03

Java arguments while ./sfs

Post by cpdavidd »

Hello,

We are using SFS for Linux on VPS with cca. 256 MB. There's a small problem, which we are needed to run java like this:

java -Xmx16m -Xms12m [the file]

So we need to run SFS with these arguments? Is it possible? Or there's another way?

(We installed SFS using the command above. Now there is no way to use this.
Also, SFS is closed after staring.)

Thanks
David
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

Smartfox's forum is my daily newspaper.
cpdavidd
Posts: 31
Joined: 25 Feb 2010, 08:03

Post by cpdavidd »

I got this after changing the /conf/wrapper.conf

jvm 1 | --- [ Server Starting ] ---------------------------------
jvm 1 |
jvm 1 | Server address: All
jvm 1 | Server port : 9339
jvm 1 |
jvm 1 | 20:26:43.567 - [ INFO ] > [TaskScheduler] ... started ::
jvm 1 | 20:26:43.567 - [ INFO ] > [BlueBoxHandler]... started ::
jvm 1 | 20:26:43.568 - [ INFO ] > [EventWriter] ..... started :: 1 thread(s)
jvm 1 | 20:26:43.568 - [ INFO ] > [SystemHandler] ... started :: 1 thread(s)
jvm 1 | 20:26:43.568 - [ INFO ] > [ExtensionHandler]. started :: 1 thread(s)
jvm 1 | 20:26:43.569 - [ INFO ] > [DeadChannelsPolicy: strict]
jvm 1 | 20:26:43.569 - [ INFO ] > Server is up and running!
jvm 1 | [dbExtension.as]: Event received: serverReady
jvm 1 | [simpleExt.as]: Event received: serverReady
jvm 1 | 20:26:43.577 - [ INFO ] > [RedBox] Internal event received: serverReady
jvm 1 | 20:26:43.578 - [ INFO ] > [RedBox] Internal event received: serverReady
jvm 1 | 20:26:43.579 - [ INFO ] > [RedBox] Internal event received: serverReady
wrapper | INT trapped. Shutting down.
jvm 1 |
jvm 1 |
jvm 1 | Shutting down server...
jvm 1 |
wrapper | <-- Wrapper Stopped
Anyone have a fix here?

EDIT: It seems thats now running ok...
Post Reply