View Issue Details

IDProjectCategoryView StatusLast Update
0001004bareos-core[All Projects] storage daemonpublic2019-07-31 16:00
ReporterhostedpowerAssigned To 
Status acknowledgedResolutionopen 
PlatformLinuxOSDebianOS Version9
Product Version17.2.7 
Target VersionFixed in Version 
Summary0001004: Very high cpu usage on Debian stretch
DescriptionEach time on consolidation we se a load of up to 18-20 (on a 6 cores machines).

There are about 20 backup clients on this machine in total. This is a backup server with sd only, the director is somewhere else.

This seems to have started pretty recently, there are 3 possible causes I can think of:

- Bug in newer bareos version
- Bug because of kernel update (less likely I would think)
- Extra backup clients, but it has grown pretty slowly and I don't think we saw such high usage before

Steps To ReproduceUse consolidation for about 20 clients on single SD, please see screenshot with perf top.

htop shows load of about 18-20 and high cpu usage on a couple of bareos-sd processes.
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action




2018-09-03 09:22


high-cpu-bareos.png (65,852 bytes)
high-cpu-bareos.png (65,852 bytes)


2019-07-31 15:55

developer   ~0003543

I just had a look: it is in fact CRC32 that is that slow.
There are faster implementations available and we will consider integrating one of them.


2019-07-31 16:00

reporter   ~0003545

Wow that would be terrific, we really suffer on that server, even more than before since we've grown a bit in the meanwhile :)

Issue History

Date Modified Username Field Change
2018-09-03 09:22 hostedpower New Issue
2018-09-03 09:22 hostedpower File Added: high-cpu-bareos.png
2019-07-31 15:55 arogge Status new => acknowledged
2019-07-31 15:55 arogge Note Added: 0003543
2019-07-31 16:00 hostedpower Note Added: 0003545