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