View Issue Details

IDProjectCategoryView StatusLast Update
0001137bareos-coreGeneralpublic2023-07-18 16:06
Reporterembareossed Assigned Tobruno-at-bareos  
Status closedResolutionno change required 
PlatformLinuxOSDebianOS Version9
Product Version17.2.4 
Summary0001137: Maximum Network Buffer Size must be set for network operations
DescriptionIn attempting to copy a job from the the source bareos system 1 (with its own director, storage, and file daemons) to the target bareos system 2 (also with its own director, storage, and file daemons), the job initially failed with an error which appeared in the syslog as:

bareos-sd: bsock_tcp.c:591 Packet size too big from client:192.168.xx.xx:9103

The documentation at says default is 65536. However, running bareos-sd -xc reveals:

MaximumNetworkBufferSize = 0
(repeated for each storage and device resource, of course)

Setting this value to a larger number, such as the supposed default value of 65536, permits the copy job to proceed.

Steps To ReproduceSet MaximumNetworkBufferSize to zero, or omit the setting entirely in the Storage and Device resources of both the source and target systems involved in the network operation (copy, migrate, or maybe a distributed configuration?).

Attempt the network operation. A simple test could be running bconsole and requesting status on the remote storage daemon.
Additional InformationThe source system is running bareos 16.2, whereas the target system is running 17.2.

The documentation needs to be updated to instruct the administrator to set these values appropriately for network operations, or else the defaults in the code itself need to be set to the default values indicated in the current documentation.
TagsNo tags attached.




2019-11-12 00:26

reporter   ~0003626

Incidentally, both the Storage Resource and the Device Resource of the storage daemon both support the MaximumNetworkBufferSize option. However, only the Device Resource has detailed information on the option. It might be a good idea to either reference the documentation of the Device Resource for more on this option, or add the same information there.


2019-11-12 00:31

reporter   ~0003627

The link I included in the description is actually the wrong one; it should be However, the information there is the same as for Storage and Device resources.


2023-07-18 16:06

manager   ~0005215

--xs show the default value of 0 meaning it use a default not a zero.
The default will be increased in 23, and the described problem can't be reproduced on 22.1.0

Issue History

Date Modified Username Field Change
2019-11-12 00:22 embareossed New Issue
2019-11-12 00:26 embareossed Note Added: 0003626
2019-11-12 00:31 embareossed Note Added: 0003627
2023-07-18 16:06 bruno-at-bareos Assigned To => bruno-at-bareos
2023-07-18 16:06 bruno-at-bareos Status new => closed
2023-07-18 16:06 bruno-at-bareos Resolution open => no change required
2023-07-18 16:06 bruno-at-bareos Note Added: 0005215