Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Pending writes (https://postpacific.loc-online.com/showthread.php?t=1819)

Enishi 15.09.2005 16:23

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.

gamedeveloper 15.09.2005 20:27

We have the same problem. When pending write buffers (the number in scope right to pending wtire butes) went up to IOBufferCount, server fails.

e2x 15.10.2005 17:20

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?

DreadWolf 15.10.2005 17:26

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.

e2x 15.10.2005 19:38

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!

DreadWolf 15.10.2005 20:46

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).

e2x 16.10.2005 16:10

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 :(

gamedeveloper 17.10.2005 02:20

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?

DreadWolf 18.10.2005 05:59

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.


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