Really slow start/restart of my server

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
kube
Posts: 15
Joined: Thu Jan 06, 2011 5:19 pm

Really slow start/restart of my server

Post 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.
Sleek
Posts: 112
Joined: Tue Dec 28, 2010 1:11 pm

Re: Really slow start/restart of my server

Post by Sleek »

You need more ram . Minimum recommended is 2gb at least. But I would recommend around 4.
kube
Posts: 15
Joined: Thu Jan 06, 2011 5:19 pm

Re: Really slow start/restart of my server

Post 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?
lion
L2j Veteran
L2j Veteran
Posts: 967
Joined: Sun Mar 11, 2007 7:49 pm
Location: Ukraine

Re: Really slow start/restart of my server

Post 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? :D
User avatar
RiZe
Posts: 122
Joined: Mon Mar 24, 2008 12:44 am
Location: Czech Republic
Contact:

Re: Really slow start/restart of my server

Post by RiZe »

But 4 - 5 years ago we didn't have operating systems like Windows Vista consuming all the available resources :D. 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.
lion
L2j Veteran
L2j Veteran
Posts: 967
Joined: Sun Mar 11, 2007 7:49 pm
Location: Ukraine

Re: Really slow start/restart of my server

Post by lion »

now l2j have much more future done, that's why need more ram
kube
Posts: 15
Joined: Thu Jan 06, 2011 5:19 pm

Re: Really slow start/restart of my server

Post 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.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Really slow start/restart of my server

Post by _DS_ »

Startup time depend on database size.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
kube
Posts: 15
Joined: Thu Jan 06, 2011 5:19 pm

Re: Really slow start/restart of my server

Post 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.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Really slow start/restart of my server

Post by _DS_ »

Startup time absolutely non-interesting. Game performance is a key.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
momo61
Posts: 1648
Joined: Fri Jun 06, 2008 2:05 pm
Location: Europe

Re: Really slow start/restart of my server

Post 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
kube
Posts: 15
Joined: Thu Jan 06, 2011 5:19 pm

Re: Really slow start/restart of my server

Post 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.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Really slow start/restart of my server

Post 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
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Really slow start/restart of my server

Post 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.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
pinkcore
Posts: 247
Joined: Fri Jul 24, 2009 3:04 am
Location: Czech Republic

Re: Really slow start/restart of my server

Post 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? ...
I'm not here only for food!
Post Reply