Bacula-users

Re: [Bacula-users] btape Orphaned buffer

2013-09-12 09:02:28
Subject: Re: [Bacula-users] btape Orphaned buffer
From: Kern Sibbald <kern AT sibbald DOT com>
To: Brian Debelius <bdebelius AT intelesyscorp DOT com>
Date: Thu, 12 Sep 2013 14:58:26 +0200
Yes, this is a small issue, and you can safely ignore it, especially
because one does not run btape very long.

Best regards,
Kern

On 09/11/2013 08:32 PM, Brian Debelius wrote:
On 09/11/2013 02:11 PM, John Drescher wrote:



On Wed, Sep 11, 2013 at 1:58 PM, Yamil Chamut <yamilchamut AT gmail DOT com> wrote:

Hello,

I'm having an issue with btape, every time that I issue the 'quit' comand, I get an 'btape: smartall.c:404 Orphaned buffer: btape 280 bytes at d2e278 from jcr.c:362' (the d2e278 changes on every execution):


root@bacula2mt:~# btape -v -c /etc/bacula/bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:290 Using device: "/dev/nst0" for writing.
11-Sep 14:04 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
11-Sep 14:04 btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 1.
btape: btape.c:477 open device "Drive-1" (/dev/nst0): OK
*rewind
btape: btape.c:579 Rewound "Drive-1" (/dev/nst0)
*weof
btape: btape.c:609 Wrote 1 EOF to "Drive-1" (/dev/nst0)
*quit
btape: smartall.c:404 Orphaned buffer: btape 280 bytes at d2e278 from jcr.c:362

root@bacula2mt:~# btape -v -c /etc/bacula/bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:290 Using device: "/dev/nst0" for writing.
11-Sep 14:57 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
11-Sep 14:57 btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 1.
btape: btape.c:477 open device "Drive-1" (/dev/nst0): OK
*quit
btape: smartall.c:404 Orphaned buffer: btape 280 bytes at 22d4278 from jcr.c:362


It's a Debian Wheezy install with bacula 5.2.6. I first saw this after installing 5.2.6, previously I was running 5.0.3 (built from sources) with no problems at all. All bacula tests and backup jobs finishes without errors.

Any clues? What are those orphaned buffers exactly? Will it slowly leak system's memory over time? Can I safely ignore them?


I believe this is a small memory leak. I would try installing the latest release bacula-5.2.13 to see if this problem was already fixed.

John
Hi,

I have this also.  CentOS 6.4 x86-64 Bacula-5.2.13

*rewind
btape: btape.c:579-0 Rewound "Tape" (/dev/nst0)
*quit
btape: smartall.c:404-0 Orphaned buffer: btape 280 bytes at 15bc988 from jcr.c:362

Brian



------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk


_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
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>