Bacula-users

Re: [Bacula-users] Dir inserting Attributes

2015-01-05 10:27:06
Subject: Re: [Bacula-users] Dir inserting Attributes
From: Luc Van der Veken <lucvdv AT wimionline DOT com>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 5 Jan 2015 15:23:47 +0000

It sounds like the ‘Name’ index on the Filename table doesn’t fit in RAM anymore in its entirety.

Have you tried increasing your MySQL buffers?

 

 

From: Leandro César [mailto:leandro.cesar.dias AT gmail DOT com]
Sent: 05 January 2015 14:52
To: bacula-users AT lists.sourceforge DOT net
Subject: [Bacula-users] Dir inserting Attributes

 

Hello everyone

​!​

 

 

I'm having trouble resolving a slowdown after the end of a job.

 

So I check the status of the client, have the following return:

 

*status client=xxxxx.com.br

Connecting to Client xxxxxx.com.br at xxxx.bkp:9102

 

xxxxx.com.br Version: 5.0.3 (04 August 2010)  x86_64-slackware-linux-gnu slackware Slackware 13.37.0

Daemon started 21-Dec-14 06:54. Jobs: run=20 running=0.

 Heap: heap=270,336 smbytes=88,939 max_bytes=250,626 bufs=76 max_bufs=774

 Sizeof: boffset_t=8 size_t=8 debug=0 trace=0

 

Running Jobs:

Director connected at: 05-Jan-15 11:26

No Jobs running.

====

 

Terminated Jobs:

 JobId  Level    Files      Bytes   Status   Finished        Name

======================================================================

  48948  Full    121,675    9.750 G  OK       05-Jan-15 10:56 xxxxx_backup

 

 

But I see the following status to the Director:

 

Running Jobs:

Console connected at 05-Jan-15 11:23

 JobId Level   Name                       Status

======================================================================

 48948 Full    xxxxxx_backup.2015-01-05_10.27.58_03 Dir inserting Attributes

 

 

 

When checking in the 

​Database

 (mysql), I view the query below running for a long time: (30 minutes)

 

 

​show processlist;

+----+--------+-----------+--------+---------+------+--------------+------------------------------------------------------------------------------------------------------+

| Id | User   | Host      | db     | Command | Time | State        | Info                                                                                                 |

+----+--------+-----------+--------+---------+------+--------------+------------------------------------------------------------------------------------------------------+

|  3 | bacula | localhost | bacula | Sleep   |  523 |              | NULL                                                                                                 |

|  4 | bacula | localhost | bacula | Query   | 1843 | Sending data | INSERT INTO Filename (Name) SELECT a.Name FROM (SELECT DISTINCT Name FROM batch) AS a WHERE NOT EXIS |

|  7 | root   | localhost | NULL   | Query   |    0 | NULL         | show processlist                                                                                     |

+----+--------+-----------+--------+---------+------+--------------+------------------------------------------------------------------------------------------------------+

3 rows in set (0.00 sec)​

 

 

For information, this client is an email server with many files. But to perform the test put to make the Backup only in a specific directory (Approx 10Gb).

​​

Performing the backup of all this Server (1.1TB). the message ​Dir inserting Attributes  

​​

is on

​ Director ​

appears on for more than 30 hours

​.​

 

 

​T​

hank you all..

 

--

--
Att,
Leandro César

 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>