PDA

View Full Version : Lag? How to improve it?


Xoleum
28.06.2006, 15:44
Recently we have been having a lot of lag on our server. Like for example every 15 minutes there is a few secs of lag. Is there any mantainance or something we should do to improve this? Any ideas? We don't have SUCH a big server but we do have 500+ players online.

Help is GREATLY appriciated.

Thanks & Regards.

DeKoth
28.06.2006, 18:59
Run the log destroyer logd =P

or maybe

Run cached on a different server

or maybe..

DukeGr
28.06.2006, 23:49
run server on 2 pc's if u got lots of players.

Ciberblackjam
28.06.2006, 23:50
that hardware has?

Xoleum
29.06.2006, 00:26
Dual Xeon 3.0 GHz
4 GB DDRII 400 RAM.

FidoW
29.06.2006, 01:23
My server is -> AMD Athlon 64 3000+ (Venice) with 4 GB RAM... and works very good with 1300 players online at nights... cpu never work more than 40-50% of his capacity... my only problem is.... sockets problem with login... every 10 o 12 hours need restart because login dont let players connect to game server...i need at least 2 restarts every day for this reason... since server begins (1 month now)... random crashes sometimes... i think... i have 3 o 4 crashes in this month without apparent reason, the rest of restart is due to login issues.

With this.. i want to say...your server is best than my server... and u have less players... so your problem must be in other place or... maybe hardware issues... i dont do nothing especial with config...

PD: Anybody have a solution for my problem ? :D

SlayerX
29.06.2006, 02:27
Recently we have been having a lot of lag on our server. Like for example every 15 minutes there is a few secs of lag. Is there any mantainance or something we should do to improve this? Any ideas? We don't have SUCH a big server but we do have 500+ players online.
You should check your database transaction logs, if they are growing too large and eating disc performance then truncate them also run some of the db cleaning stored procedures like lin_CleanUpGhostData etc. I used to have the same problem with lag every 5-10 minutes and it is all tied to SQL/HDD performance. If you can get dual SCSI hard drives then definitely do it, if you can split the l2server and db on a different server then that's even better but you have to at least alleviate the stress on the SQL server by using it on a separate hard drive than your l2 exe's.

PD: Anybody have a solution for my problem ? :D
I'm still having this issue, my server never crashes but login dies after about 5-10 hours

Xoleum
29.06.2006, 05:04
lin2world_Log.LDF is 107GB, do I just stop SQL and delete this file and let it remake?

SlayerX
29.06.2006, 05:41
NO! do NOT delete your log file >___<
truncate it...

Backup log lin2world with truncate_only
Go

Use lin2world
DBCC Shrinkfile (lin2world_log, 1)
Go

Backup log lin2db with truncate_only
Go

Use lin2db
DBCC Shrinkfile (lin2db_log, 1)
Go