![]() |
Separate Gameserver from NPCServer
I have a huge problem and this could be the only way to solve it the gameserver is dual xeon with 8gm rab but it seems that it cannot manage the memory correctly so after 2-3 hours,login server stops ppl from logging in I thought of two solutions: to use a ram cleaner application or to move the npc server in a different computer but 1-2 ram cleaners I found, cannot manage more than 2 gb of ram.
|
l2server cannot address more than 3gb of phisical memory due to win32 limitations. So, Your l2server and l2npc use different memory clusters, where both of them are allocating max 3gb of physical memory. If You set affinity for l2server and l2npc to different processors, and put them to different hard drives, You will have two separate servers on single machine.
|
They are already in seperate hard drives. Maybe I will have to set affinity to different proccessors. thanks for the advice ;) So you think that 8gb of ram is useless for a lineage server? Will it work the same with 4gb for example?
|
down again in 15 mins with those options applied :( hyper threading is totally f**ed up and the server is crashing more often
|
I think that c1 server cannot handle so many npcs and users together. I need to find a solution to increase the limit of the ram that the server application uses
|
It's not a matter of RAM, it's a problem with the software. Our software wasn't supposed to handle many users, since it's not production release of L2server, it's just a test server for developers. And it wasn't meant for 1000 players online.
Production release servers are splitted into 7 machines. And Yes 8gb ram with PAE enabled, will work exacly as 4gb with PAE enabled. The only difference will be if You run several other applications on this machine. |
"login server stops" -> are you talking about usersocket being very far away from userplaying?
|
can't resist hijacking the thread. the usersocket far far greater than amount of users playing has happened quite often to my server as well. would have been great if anyone had a quick dirty solution to this one :)
|
try to see netstat -na command with local 7777 port. i think this problem in server, because many socets in ESTABLISHED state. so, l2server "think" that they assigned to players.
i think there is only one sollution - fix windows tcp/ip stack with smth like of firewall or any 3 party software, that really checks that socket working and if not - close it. |
Quote:
|
I think that the problem is in some windows patch from MS. The amount of users is not a problem, as in C1 server they were even more users and that problem didnt exist. I will try with 2000 sp3
|
Quote:
Now i have stable server with tontor patch... ooh... |
top-gear : what windows and what service pack were you using for c1? :) is your hardware the same ?
hf: this thing eliot says, solved your usersocket problem ? :) |
Quote:
I has stronger policy setting on my server for solved socket problem. It is help me but no always. Now work 5-10 hour without problem. Socket error - bot walker problem. Need fix it another way. |
HF
<rus> может быть имеет смысл поискать сигнатуры конектов волкеров? и на основании этой сигнатуры сделать IDS что бы при обнаружении трафика на основании этой сигнатуры - резать волкеров и нормально закрывать сокет? </rus> |
since the usersocket prob didn't exist in c1..and many ppl have the same hardware+OS configuration for their srv, it may be an issue caused by the new client ( c3 )..not closing sockets client-side correctly..not sending the correct RST packet maybe?
|
Hmm mirror it made a lot of sense.. When I use shutdown warning, lot of usersocket is null is spawned(many users disconnecting)..
|
yep this is the cause i think..client side...i don't know..can we hex the client so it can send a correct RST packet? :)
|
You can try Microsoft Cluster service.
|
I don't have the same hardware, I had a p4 and authd,cached,l2server and npcserver in one single computer running on W2Ksp3+3gb ram. Now I have dual xeon with 6gb ram for authd+cached, and another dual xeon with 8 gb ram for l2server and npc server. Both running on w2k3 server edition. I think that there is one of ms's patches that makes that problem (also appears in w2ksp4). I'll try sp3 or sp2 when I find a copy.
|
top-gear: for your c1 srv which was p4..which w2ksp3 were they? proffesional/server/advanced server ?
|
Server :/
|
| All times are GMT. The time now is 16:06. |