View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000957 | bareos-core | storage daemon | public | 2018-06-01 14:34 | 2023-07-17 10:16 |
Reporter | melchers | Assigned To | bruno-at-bareos | ||
Priority | urgent | Severity | major | Reproducibility | random |
Status | closed | Resolution | no change required | ||
Platform | Linux X86_64 | OS | SLES | OS Version | SLES11 SP4 |
Product Version | 17.2.4 | ||||
Summary | 0000957: setting of Maximum Block Size makes sd-daemon not working | ||||
Description | setting "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 Information | my 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 } | ||||
Tags | No tags attached. | ||||
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 |
|
Please test supported OS and Bareos version. | |
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 |