Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 19.11.2005, 17:52   #1
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default 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.
top-gear is offline  
Old 19.11.2005, 18:15   #2
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

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.
Eliot is offline  
Old 19.11.2005, 20:23   #3
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

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?
top-gear is offline  
Old 19.11.2005, 21:31   #4
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

down again in 15 mins with those options applied hyper threading is totally f**ed up and the server is crashing more often
top-gear is offline  
Old 20.11.2005, 11:40   #5
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

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
top-gear is offline  
Old 20.11.2005, 16:04   #6
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

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.
Eliot is offline  
Old 20.11.2005, 20:38   #7
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

"login server stops" -> are you talking about usersocket being very far away from userplaying?
horyfilipe is offline  
Old 21.11.2005, 08:12   #8
avatard
Архивный участник
 
Join Date: Feb 2005
Posts: 100
Default

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
avatard is offline  
Old 21.11.2005, 09:27   #9
srh
Архивный участник
 
Join Date: Aug 2005
Posts: 145
Default

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.
srh is offline  
Old 21.11.2005, 21:19   #10
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

Quote:
Originally Posted by srh
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.
When usersocket problem is happening, even if you close/kill all active sockets on your pc, still l2server will display those dead sockets, they wont lift. I think limiting syn/second may solve, but im still looking for a stateful firewall that can limit syn/second on windows...
horyfilipe is offline  
Old 22.11.2005, 13:13   #11
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

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
top-gear is offline  
Old 22.11.2005, 14:19   #12
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by Eliot
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.
Eliot! You rescue my server!
Now i have stable server with tontor patch... ooh...
HF is offline  
Old 22.11.2005, 14:39   #13
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

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 ?
Mirror is offline  
Old 22.11.2005, 15:06   #14
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by Mirror
hf: this thing eliot says, solved your usersocket problem ?
no fully. My server have too problem: crash with different times (from 30 mins to 3 hour) and socket error.
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 is offline  
Old 22.11.2005, 16:36   #15
srh
Архивный участник
 
Join Date: Aug 2005
Posts: 145
Default

HF
<rus>
может быть имеет смысл поискать сигнатуры конектов волкеров?
и на основании этой сигнатуры сделать IDS что бы при обнаружении трафика на основании этой сигнатуры - резать волкеров и нормально закрывать сокет?
</rus>
srh is offline  
Old 22.11.2005, 18:44   #16
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

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?
Mirror is offline  
Old 22.11.2005, 18:59   #17
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

Hmm mirror it made a lot of sense.. When I use shutdown warning, lot of usersocket is null is spawned(many users disconnecting)..
horyfilipe is offline  
Old 22.11.2005, 19:38   #18
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

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?
Mirror is offline  
Old 22.11.2005, 19:54   #19
tetsunoony
Архивный участник
 
Join Date: Nov 2005
Posts: 26
Default

You can try Microsoft Cluster service.
tetsunoony is offline  
Old 23.11.2005, 13:29   #20
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

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 is offline  
Old 23.11.2005, 17:06   #21
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

top-gear: for your c1 srv which was p4..which w2ksp3 were they? proffesional/server/advanced server ?
Mirror is offline  
Old 24.11.2005, 21:08   #22
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

Server :/
top-gear is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:48.