Bacula-users

[Bacula-users] smartall.c:145 Out of memory

2012-02-08 15:39:14
Subject: [Bacula-users] smartall.c:145 Out of memory
From: Gino Lisignoli <gino.lisignoli AT opus.co DOT nz>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 09 Feb 2012 09:18:31 +1300
Hello!

I seem to be having an issue restoring backups from one of my servers. Whenever I try to do a restore from it bacula-dir crashes and returns me to the prompt

[root@server:/root] bconsole
Connecting to Director localhost:9101
1000 OK: server-dir Version: 5.0.3 (04 August 2010)
Enter a period to cancel a command.
*restore
Automatically selected Catalog: LocalCatalog
Using Catalog "LocalCatalog"

First you select one or more JobIds that contain files
to be restored. You will be presented several methods
of specifying the JobIds. Then you will be allowed to
select which files from those JobIds are to be restored.

To select the JobIds, you have the following choices:
     1: List last 20 Jobs run
     2: List Jobs where a given File is saved
     3: Enter list of comma separated JobIds to select
     4: Enter SQL list command
     5: Select the most recent backup for a client
     6: Select backup for a client before a specified time
     7: Enter a list of files to restore
     8: Enter a list of files to restore before a specified time
     9: Find the JobIds of the most recent backup for a client
    10: Find the JobIds for a backup for a client before a specified time
    11: Enter a list of directories to restore for found JobIds
    12: Select full restore to a specified Job date
    13: Cancel
Select item:  (1-13): 6
The restored files will the most current backup
BEFORE the date you specify below.

Enter date as YYYY-MM-DD HH:MM:SS :2012-02-06 12:00:00
Automatically selected Client: server
The defined FileSet resources are:
     1: server
     2: server-open
Select FileSet resource (1-2): 1
+-------+-------+-----------+-------------------+---------------------+------------+
| jobid | level | jobfiles  | jobbytes          | starttime           | volumename |
+-------+-------+-----------+-------------------+---------------------+------------+
|   488 | F     | 8,989,782 | 2,768,148,878,795 | 2012-02-04 17:01:56 | 000045L5   |
|   488 | F     | 8,989,782 | 2,768,148,878,795 | 2012-02-04 17:01:56 | 000065L5   |
+-------+-------+-----------+-------------------+---------------------+------------+
You have selected the following JobId: 488

Building directory tree for JobId(s) 488 ...  +++++++++++++++++++++++++++++++++++++++[root@server:/root]

From the log file all I can find is:

09-Feb 09:01 chsv01-dir: ABORTING due to ERROR in smartall.c:145 Out of memory


Nothing shows up in kern.log, syslog or messages.

uname -a: Linux chsv01 2.6.31.9 #1 SMP Tue Mar 9 15:50:13 NZDT 2010 i686 GNU/Linux


32Bit Linux, On average 10GB of free ram. I have noticed that the bacula-dir process does jump to around 2.6Gb of memory usage after it finishes fetching from the postgres database. Though I don't think it's hitting the 32bit memory limit as I should have seen something in kern.log or syslog right?

Any ideas?









------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
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>