Amanda-Users

Re: error redirecting stderr to fd 51

2006-05-03 15:55:57
Subject: Re: error redirecting stderr to fd 51
From: Kevin Till <kevin.till AT zmanda DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 03 May 2006 12:54:00 -0700
McGraw, Robert P. wrote:

I still seem to be having a problem getting a good backup. Seems something
always pops up.



planner: build: VERSION="Amanda-2.5.0p1"
planner:        BUILT_DATE="Sat Apr 29 15:42:05 EDT 2006"
planner:        BUILT_MACH="SunOS zorn.math.purdue.edu 5.10
Generic_118833-03 sun4u sparc SUNW,Sun-Fire-280R"

I noticed that that the four "dumping" jobs seemed to hang.

zorn->[309] > amstatus --config daily --date
Using /var/amanda/daily/amdump from Tue May  2 14:30:35 EDT 2006

20060502 bers:/                      0     4444m finished (14:42:59)
20060502 bessel:/                    0     4592m finished (14:47:27)
20060502 zorn:/export/csw            0     1322m dumping        0m
(14:34:14)
20060502 zorn:/export/users-aar      0        0m finished (14:35:43)
20060502 zorn:/export/users-aduchkov 0      448m finished (14:37:09)
20060502 zorn:/export/users-aedquist 0       59m dumping        0m
(14:33:43)
20060502 zorn:/export/users-aendicot 0       18m finished (14:31:46)
20060502 zorn:/export/users-agabriel 0      777m dumping        0m
(14:34:29)
20060502 zorn:/export/users-nlucier  0     8931m finished (15:10:54)
20060502 zorn:/export/users-rmcgraw  0     1430m dumping        0m
(14:33:59)

I went to /tmp/amanda and ran

##R##-zorn->[351] ##> grep -i error *
sendbackup.20060502143344.debug:sendbackup: time 0.000: error redirecting
stderr to fd 51: Bad file number
sendbackup.20060502143359.debug:sendbackup: time 0.000: error redirecting
stderr to fd 51: Bad file number
sendbackup.20060502143414.debug:sendbackup: time 0.000: error redirecting
stderr to fd 51: Bad file number
sendbackup.20060502143429.debug:sendbackup: time 0.000: error redirecting
stderr to fd 51: Bad file number

I cat'ed on of the debug files

##R##-zorn->[360] ##> cat sendbackup.20060502143359.debug
sendbackup: debug 1 pid 23380 ruid 30002 euid 30002: start at Tue May  2
14:33:59 2006
sendbackup: version 2.5.0p1
  parsed request as: program `GNUTAR'
                     disk `/export/users-rmcgraw'
                     device `/export/fssnap/users'
                     level 0
                     since 1970:1:1:0:0:0
                     options `|;auth=BSD;index;include-file=./rmcgraw;'
sendbackup: time 0.000: error redirecting stderr to fd 51: Bad file number
sendbackup: time 0.000: pid 23380 finish time Tue May  2 14:33:59 2006

1) Can anybody tell me what the "error redirecting stderr to fd 51: Bad file
number" means? I googled the message but found nothing.

Could it be that Amanda on Solaris is hitting the 256 open file descriptors 
limit?
(it's 1024 on most Linux system)

run /usr/bin/ulimit to see what it reports. I believe root user can change the 
limit.

--
Thank you!
Kevin Till

Amanda documentation: http://wiki.zmanda.com
Amanda forums:        http://forums.zmanda.com

<Prev in Thread] Current Thread [Next in Thread>