I'm back again :(
dbcheck didn't work this time and I'm unable to work out how to continue.
Testing each part of the process as best I could I've worked out:
- We are using an older version of bacula
- Bacula crashes when doing a restore
- Bacula runs the pgsql command, pgsql doesn't crash. Though, it does
return 6.1gb (test by running the query) of data.
- Once the sql statement finishes bacula tries to build the directory
tree and dies
Output of bconsole:
>Building directory tree for JobId(s) 519 ...
++++++++++++++++++++++++++++++++root@chsv01:~#
Output of bacula-directore with d=9 (wasn't sure what # to use)
>root@chsv01:~# bacula-dir -d 9 -dt -f -v
>27-Feb 16:02 chsv01-dir: ABORTING due to ERROR in smartall.c:145
>Out of memory
>Bacula interrupted by signal 11: Segmentation violation
>Kaboom! bacula-dir, chsv01-dir got signal 11 - Segmentation violation.
Attemptin
>g traceback.
>Kaboom! exepath=/root
>Calling: /root/btraceback /root/bacula-dir 10459 /var/lib/bacula
>execv: /root/btraceback failed: ERR=No such file or directory
>It looks like the traceback worked ...
>Dumping: /var/lib/bacula/chsv01-dir.10459.bactrace
>chsv01-dir: lockmgr.c:928 lockmgr disabled
Testing with a smaller backup of 693,645 files works fine.
The host is 32bit
Theres usually around 8gb of memory available and 30gb of swap available.
So my questions are:
6.1gb of data returned by pgsql seems like a lot. There's roughly
9,652,916 rows returned. Sound correct?
The host is a 32bit os. Is the 32bit memory limit being hit? How can I
be sure?
Any ideas?
--
Gino Lisignoli
System Administrator
Opus International Consultants Ltd
Gino.Lisignoli AT opus.co DOT nz
Tel +64 4 471 7209, Mobile +64 21 982 112 Ext 8209
http://www.opus.co.nz
Level 9 Majestic Centre, 100 Willis Street, PO Box 12343, Wellington, New
Zealand
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|