View Issue Details

IDProjectCategoryView StatusLast Update
0000957bareos-corestorage daemonpublic2023-07-17 10:16
Reportermelchers Assigned Tobruno-at-bareos  
PriorityurgentSeveritymajorReproducibilityrandom
Status closedResolutionno change required 
PlatformLinux X86_64OSSLESOS VersionSLES11 SP4
Product Version17.2.4 
Summary0000957: setting of Maximum Block Size makes sd-daemon not working
Descriptionsetting "Maximum Block Size" in the device section of bareos-sd.conf leads to denial of service problems:
A value of 2097152 ( 2 MiB) works for some minutes and tracing bareos-sd shows that the daemon is indeed writing with 2097152 byte blocks. After some time, the daemon aborts with memory pool errors.
A legal value of 262144 (256k) works for some hours but then the sd daemon hangs and does nothing.
The default value is 64k.
The "Maximum Network Buffer Size" seems to be ignored, sd is reading in 16k units from the socket.
Additional Informationmy sd-config:
Device {
  Name = "xxx_File_Device_01"
  Media Type = File
  Maximum Network Buffer Size = 262144
  Maximum Block Size = 256k
  Archive Device = /xx-cache/bareos
  Maximum Concurrent Jobs = 1
  Label Media = yes
  Random Access = yes
  Automatic Mount = yes
  Removable Media = no
  Always Open = no
}
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2023-07-04 15:37

manager   ~0005133

Is this still an issue with recent version like 22.1.0 ?

Note that by default now we increase to 1MB block size see https://github.com/bareos/bareos/pull/1396
bruno-at-bareos

bruno-at-bareos

2023-07-17 10:16

manager   ~0005191

Please test supported OS and Bareos version.

Issue History

Date Modified Username Field Change
2018-06-01 14:34 melchers New Issue
2023-07-04 15:37 bruno-at-bareos Assigned To => bruno-at-bareos
2023-07-04 15:37 bruno-at-bareos Status new => feedback
2023-07-04 15:37 bruno-at-bareos Note Added: 0005133
2023-07-17 10:16 bruno-at-bareos Status feedback => closed
2023-07-17 10:16 bruno-at-bareos Resolution open => no change required
2023-07-17 10:16 bruno-at-bareos Note Added: 0005191