Bacula-users

Re: [Bacula-users] Why it takes so much to "Building directory tree"

2015-07-03 06:00:17
Subject: Re: [Bacula-users] Why it takes so much to "Building directory tree"
From: Radosław Korzeniewski <radoslaw AT korzeniewski DOT net>
To: f-otake <f-otake AT kinryokai DOT net>
Date: Fri, 3 Jul 2015 11:54:54 +0200
Hello,

2015-07-03 7:11 GMT+02:00 f-otake <f-otake AT kinryokai DOT net>:
I am bigginer of bacula, and I had tried restore on following condition.
+-------+-------+----------+---------------+---------------------+------------+
| JobId | Level | JobFiles | JobBytes      | StartTime           | VolumeName|
+-------+-------+----------+---------------+---------------------+------------+
|     4 | F     |  258,441 | 2,262,481,683 | 2015-07-02 14:32:50 | Vol-0004   |
|    14 | I     |      158 |    79,623,411 | 2015-07-03 04:32:49 | Vol-0014   |
+-------+-------+----------+---------------+---------------------+------------+
 You have selected the following JobIds: 4,14
 Building directory tree for JobId(s) 4,14 ... 
It takes more then 5hours 20min for just to builde directory tree.
Is it normal to take such long time or my setting may be wrong?
Your catalog database has a terribly bad performance. You should tune its configuration or upgrade your hardware.
BTW, I had a better results on i486/300MHz/128MB Ram and single 120GB HDD.
Since bacula-dir.conf is very big thus may not good to write here.
It is not required. 
For your information OS is CentOS Ver 6.6 on KVM and cpu assigned only one to this host.
CPU is AMD Athlon 5350。4core、TDP25W、2GHz(DB is mysql ver 5.1.73)
Appliciate your kind help.
Check your utilization first - cpu, i/o, memory. Next do the db tuning.

best regards
--
Radosław Korzeniewski
radoslaw AT korzeniewski DOT net
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users