Page 1 of 2
Really slow start/restart of my server
Posted: Sun Jan 09, 2011 1:55 am
by kube
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision
Number:
L2JDP Revision
Number:
This are the characteristics of my dedicated server:
* Procesador: AMD Dual-Core 2 x 2,0 GHz
* RAM: 1 GB RAM DDR2
* Space: 2 x 160 GB (RAID 1 SW)
I think that this server can run L2J, what is the mystake? some configuration perharps?
Thanks for ur time and sorry for my bad english.
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 2:12 am
by Sleek
You need more ram . Minimum recommended is 2gb at least. But I would recommend around 4.
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 8:48 am
by kube
In older versions of L2J i remember that we can use 512 MB of RAM (in C4-C5 versions), seriously now is needed 2 GB or more?
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 8:50 am
by lion
4-5 year ago we have cpu with ~1.2 GHz and ram 256 mb, and we really now need 8 gb on home pc and cpu with 4 core?

Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 9:14 am
by RiZe
But 4 - 5 years ago we didn't have operating systems like Windows Vista consuming all the available resources

. Back to the topic.
1 GB of RAM is not really much. Operating system needs some memory, processes like database engine or web server needs some memory and whatever you are using on your machine needs some memory. Then you are trying to start the server with few MBs of available RAM and system starts swapping whatever it doesn't need at the moment to your hard drive to get some physical RAM needed for the L2j bootup and it costs some time so the bootup is pretty long and you are lucky man if you don't get "Java out of memory" during the bootup or runtime.
Well, now I hope it is clear. You need more RAM, at least 2 GB but better get 4 GB for the operating system and other applications running on that machine.
I've been using Windows Vista from the Release Candidate to first available Windows 7 Beta and had no problems but now I have to admit that even Vista was good, 7 is great on the same machine.
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 9:16 am
by lion
now l2j have much more future done, that's why need more ram
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 10:03 am
by kube
Thanks for ur time.
I tested my server in virtual machine (using Virtual Box), this is the specifications of my virtual machine:
* Processor: 1 core of AMD Phenom II X2 550 Processor (3,2 GHz)
* RAM: 989 RAM DDR3
* Space: 8 GB (SATA)
In my virtual machine i can start two times the server while in the dedicated start only one time, and when the VM finish his second start (after kill process, etc..) the dedicated is not finished!!
My VM is best than the dedicated server? DDR3 is really so fastest than DDR2? 1 core 3,2 is more fast than 2 cores at 2 GHz?
Virtual Machine used Ubuntu 9.04 - 32 bts (jaunty)
Dedicated Server used Ubuntu 10.04. 1 LTS - 64 bits (lucid)
If i change the version of Ubuntu i will apreciate best performance? perharps?
Regards.
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 11:01 am
by _DS_
Startup time depend on database size.
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 11:39 am
by kube
Database is clean in two pc's (really is the same DDBB).
It's possible that my website (in the same host that the L2JServer) reduced the performance?
Regards.
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 3:42 pm
by _DS_
Startup time absolutely non-interesting. Game performance is a key.
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 3:57 pm
by momo61
Dont you need 1.5gb ram for an l2j server? let me show you why:
REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
maybe you can run the server by lowering the ram there. in teh startgameserver.bat launcher tool
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 4:35 pm
by kube
Thanks 4 ur time.
_DS_ if the server work fine, the restart will be fine also. Imagine play in one server that his restarts are 30 minutes (was 30 minutes...) u play it?
momo61 i'm using ubuntu (sh script) and this is the line:
java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp [...]
1gb? is a good config?
I change the SO from 64 to 32 bits and the performance is better now (WTF).
Regards.
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 5:30 pm
by MELERIX
kube wrote:I change the SO from 64 to 32 bits and the performance is better now (WTF).
ofc because in 32 bits less ram is used.
but if you have 4gb or more ram amount in server, better is use 64 bits OS
because 32 bits OS can't handle more than 4gb ram
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 6:25 pm
by _DS_
kube wrote:_DS_ if the server work fine, the restart will be fine also. Imagine play in one server that his restarts are 30 minutes (was 30 minutes...) u play it?
My live startup:
Server Loaded in 98 seconds
If your server with 2 players started 30 min - you obviously did smth wrong.
Re: Really slow start/restart of my server
Posted: Sun Jan 09, 2011 8:34 pm
by pinkcore
You need to configure your my.ini first. Just increase your caches and others settings according to your HW. There are lots of topics with this theme.
On my personal notebook with 4GB RAM and Intel Pentium (2x2,1GHz) I can run server in 60 seconds and I have x64 Windows 7 so this is totally unacceptable hardware
On my server machines (first for DB and seconds for gameserver / loginserver) I can run it about 40 seconds with lots of player's information.
You are using RAID 1 for MySQL and other files backup? ...