This should probably work its way into the manual, but a warning for anyone who tries to move to significantly larger Maximum Network Buffer Size numbers:
At least in bacula-1.38, Maximum Network Buffer Size _must_ be less than 500001, or restores will crash the storage daemon. I was playing with Maximum Network Buffer Size and Maximum Block Size recently, and hit this problem. I naively assumed it would be beneficial to have 2 Maximum Block Size bytes of data buffered, and was trying to see if increasing the Maximum Block size helped my storage daemon throughput. Some testing with btape suggested that there was a performance benefit with larger block sizes (although since that isn't 'real' data it might not be correct). Anyway, I happily configured my bacula installation for 262144 maximum block size and 524288 maximum network buffer size (256K and 512K). Backups seemed to be fine, but when I tried to restore, the storage daemon kept crashing--I tracked it down to an ASSERT in src/stored/record.c (about line 494), which presumably exists to prevent a malformed block from chewing up too much memory. I've now changed my maximum network buffer size to less than 500001, but now I'm uncertain what value for network buffer size leads to the best performance--it may be that it is best if it is a precise multiple of (Maximum Block Size - block overhead). At any rate, without a source change, restores won't work if it is more than 500001--and, it may be that any performance gains from using a larger than default block size are not worth the trouble--at least now I have a work-around if I need to restore my most recent set of backups. -se ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users