Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 15.09.2005, 16:23   #1
Enishi
Архивный участник
 
Join Date: Apr 2005
Posts: 354
Default Pending writes

Im running ProjectC3 Beta3 Final and every few hours or so my pending writes get reallly high.
Now its only a test server so theres never more than 10 people online at any one time.

My questions are :
What do pending writes do exactly...and how do I fix this high write count ( if its something that needs to be fixed)

As im posting this my pending writes are stuck on 500+ with no one on even on the server.
Enishi is offline  
Old 15.09.2005, 20:27   #2
gamedeveloper
Архивный участник
 
Join Date: Mar 2005
Posts: 77
Default

We have the same problem. When pending write buffers (the number in scope right to pending wtire butes) went up to IOBufferCount, server fails.
gamedeveloper is offline  
Old 15.10.2005, 17:20   #3
e2x
Архивный участник
 
Join Date: Oct 2005
Posts: 11
Default

any solution for this?
my pending write is 37kk for now. and going up every sec..
iobufferpoolsise 10k in the config.. but in l2server now is 4600..
2:15 hs uptime...
any ideas?
e2x is offline  
Old 15.10.2005, 17:26   #4
DreadWolf
Архивный участник
 
Join Date: Jul 2005
Posts: 45
Default

We used to have this problem and fixed it, I am not sure if I really recall how though...maybe if krapno shares his abnormal status effect fix I can refresh my memory better.
DreadWolf is offline  
Old 15.10.2005, 19:38   #5
e2x
Архивный участник
 
Join Date: Oct 2005
Posts: 11
Default

camon.. I can't leave my server for 3 hs running..
its 30 min now, and the pending write is 4kk,/8 (442)
somehint is wrong.. i know it, but cant figure out what!
e2x is offline  
Old 15.10.2005, 20:46   #6
DreadWolf
Архивный участник
 
Join Date: Jul 2005
Posts: 45
Default

The solution isn't really simple anyway. Pending writes is the amount of data written to the hard disk versus how much is waiting to be written. Server will eventually crash if it runs out of space to store the data pending to be written.

The solution is a series of procedures on your part to lighten the machine's burden. The biggest difference is made if you run the server on a RAID0 stripe. If MSSQL is running on the same box as the server, give it its own hard drive to access seperate from the hard drive the game is running from (when we did this our average 10k p. writes dropped to a 500 average). Best solution is to have the MSSQL server on a physically separate machine if possible. Overall, just make sure the server's hard drive use is almost fully dedicated to the L2Server.

I know this solution is not the magical "set buffer = infinity" but if you keep the L2server machine happy the gameplay will be decent and lagfree, aside from very stable. Our server does not need to be rebooted for about 2 weeks straight thanks to careful resource management (although we reboot almost daily now due to patches).
DreadWolf is offline  
Old 16.10.2005, 16:10   #7
e2x
Архивный участник
 
Join Date: Oct 2005
Posts: 11
Default

I dun undestand really why it happend..
some time ago the server was runing smoth, with 300 players.. now i have this endless problem, becouse i can't upgrade the server.. I'ts all I got, and its xx.xx0 Km away from me, so upgrading it's not an option..
I looking for some missconfiguration.. mssql config.. but i need some directions
e2x is offline  
Old 17.10.2005, 02:20   #8
gamedeveloper
Архивный участник
 
Join Date: Mar 2005
Posts: 77
Default

Quote:
Originally Posted by DreadWolf
The solution isn't really simple anyway. Pending writes is the amount of data written to the hard disk versus how much is waiting to be written. Server will eventually crash if it runs out of space to store the data pending to be written.

The solution is a series of procedures on your part to lighten the machine's burden. The biggest difference is made if you run the server on a RAID0 stripe. If MSSQL is running on the same box as the server, give it its own hard drive to access seperate from the hard drive the game is running from (when we did this our average 10k p. writes dropped to a 500 average). Best solution is to have the MSSQL server on a physically separate machine if possible. Overall, just make sure the server's hard drive use is almost fully dedicated to the L2Server.

I know this solution is not the magical "set buffer = infinity" but if you keep the L2server machine happy the gameplay will be decent and lagfree, aside from very stable. Our server does not need to be rebooted for about 2 weeks straight thanks to careful resource management (although we reboot almost daily now due to patches).
DreadWolf, what is the configuration of your server and how many people online?
gamedeveloper is offline  
Old 18.10.2005, 05:59   #9
DreadWolf
Архивный участник
 
Join Date: Jul 2005
Posts: 45
Default

1. P4 3.2GHz Prescott. 2GB RAM (MSSQL + L2Server + NPC Server) with 2 SATA Raptor 10k RPM HDD (nonRaid 1 runs the server + windows the other runs MSSQL)
2. P4 3.2GHz Prescott. 2GB RAM (CacheD)

About 500 players average. If you don't believe me about this information (the fact that you can control pending writes with proper hardware config) well that's your call. I am just telling you all because it was a rather difficult endeavour to figure out how to solve it when we were first faced with the problem. This config has lasted us over a year now.
DreadWolf 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 17:45.