Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: NTILZA on October 04, 2011, 08:21:47 PM

Title: SME Backup Failures - Multiple DAR errors reported
Post by: NTILZA on October 04, 2011, 08:21:47 PM
Greetings, all.

I've been chasing down a problematic SME box where, over time, the backup system has started failing more and more frequently.  The system would reach a certain point during the backup every day (at the same time, say, 7:21pm) and just fail with a DAR error code 2 (hardware error or out of memory), the next day might be an error code 3 (bug code - but system reports an object still in memory), and the following day may report error code 7 (external routine calling bug).  All failures would happen at the same time during these failures, usually within the first hour.  Backup is to a series of USB hard disk drives (a couple formatted to EXT3 for testing, the rest are FAT32).

Some partial error codes from one day only:

Code: [Select]
Lack of memory to achieve the operation, aborting operation
*** No backup allowed or error during backup *** Error while running dar: 2

Code: [Select]
Error while running dar: 2 at /etc/e-smith/events/actions/workstation-backup-dar line 327.
Backup terminated: backup failed - status: 7424

From the following day:

Code: [Select]
INTERNAL ERROR, PLEASE REPORT THE PREVIOUS OUTPUT TO MAINTAINER SANITY CHECK: AT LEAST ONE OBJECT HAS NOT BEEN DESTROYED AND REMAINS IN MEMORY WHILE THE PROGRAM REACHED ITS END
*** No backup allowed or error during backup *** Error while running dar: 3

Code: [Select]
---- exception type = [BUG] ----------
[source]
File compressor.cpp line 367 : it seems to be a bug here [most outside call]
-----------------------------------

Error while running dar: 3 at /etc/e-smith/events/actions/workstation-backup-dar line 327.
Backup terminated: backup failed - status: 7424

A few days later:

Code: [Select]
Cannot read directory contents: /home/e-smith/files/ibays/{tree and filename here} : Error opening directory: /home/e-smith/files/ibays/{tree and filename here}: Cannot allocate memory
Aborting program. An error occurred while calling libdar: No exception allowed from libdar callbacks
*** No backup allowed or error during backup ***
Error while running dar: 7

Code: [Select]
Error while running dar: 7 at /etc/e-smith/events/actions/workstation-backup-dar line 327.
Backup terminated: backup failed - status: 7424


Errors where the backup never has a chance to start (errors at scheduled backup time):

Code: [Select]
FATAL error, aborting operation Badly formatted terminator, cannot extract catalogue location
*** No backup allowed or error during backup *** Error while running dar: 2

Memory on the server was doubled from 4GB to 8GB.

I've monitored a manual backup (after a reboot) that seemed to run fine for longer than usual (past the various repeated times its failed previously) and until the point I decided to leave it, all memory was resources (RAM, buffers, etc.) were nearly exhausted - the system would near its memory limits then drop down suddenly, and build up again.

I don't know if I want to label this is as a bug just yet - looking for some feedback for the moment.

Thoughts??

Thanks in advance.

Title: Re: SME Backup Failures - Multiple DAR errors reported
Post by: Stefano on October 04, 2011, 09:15:25 PM
the only feedback here is to open a bug asap, thank you :-)