|
[
Permalink
| « Hide
]
Dmitry Yemanov added a comment - 27/Mar/12 08:45 AM
FILE_FLAG_RANDOM_ACCESS was removed. The default value for FileSystemCacheSize config option was set to zero (limit is disabled).
Is this tested in a real enviroment? Has been tested the prior situation?
I have a windows 2008 server standard that has this problem, but setting by os max cache memory did solve it. The test i did were for a day with a 32 Gb database, not several days working. Do you want that I test it? Your testing would be much appreciated. The fix will be available in the tomorrow's snapshot builds.
Also, read here for more info: http://dyemanov.blogspot.com/2012/03/firebird-vs-windows-file-system-caching.html I have tested it with one 20Gb database and windows 2008 R2 64 enterprise with 4 Gb RAM. Of course I have read before your link, and after read it I suppouse that my test was not neccesary, but i have done it.
Before update Firebird 2.5.2 to the latest snapshot, doing a simple bacukp, the server freeze after 3 Gb backup. Once updated firebird to latest snapshot, the backup has been done without problem, and no more of 3 Gb RAM used during the process. Thanks for your testing, it does confirm the other results we have.
is it not better to simply delete this old option FileSystemCacheSize ? what the purpose to keep it ?
Stephane,
The source of the problem is actually the way that MS implemented cache logic for files opened with FILE_FLAG_RANDOM_ACCESS attribute. The fix was rather simple, remove attribute from the file open operations. |
|||||||||||||||||||||||||||||||||||||||||||||||||||