[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#255935: marked as done (IOError: [Errno 24] Too many open files:)



Your message dated Mon, 16 Aug 2004 17:37:09 -0400
with message-id <20040816213709.GC24693@thened.net>
and subject line Housekeeping
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Jun 2004 21:39:19 +0000
>From change@nas.com Wed Jun 23 14:39:18 2004
Return-path: <change@nas.com>
Received: from edoras.nas.com [66.114.32.34] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BdFSg-0000RZ-00; Wed, 23 Jun 2004 14:39:18 -0700
Received: from localhost (localhost [127.0.0.1])
	by edoras.nas.com (Postfix) with ESMTP
	id 15F0CEB905; Wed, 23 Jun 2004 14:41:23 -0700 (PDT)
Received: from edoras.nas.com ([127.0.0.1])
 by localhost (edoras.nas.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 24132-07; Wed, 23 Jun 2004 14:41:22 -0700 (PDT)
Received: from debian1.loaner.com (dsl-47-131.nas.com [66.114.47.131])
	by edoras.nas.com (Postfix) with ESMTP
	id 5886EEB8AD; Wed, 23 Jun 2004 14:41:22 -0700 (PDT)
Received: from kingsley by debian1.loaner.com with local (Exim 3.36 #1 (Debian))
	id 1BdFSg-0004p3-00; Wed, 23 Jun 2004 14:39:18 -0700
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Kingsley G. Morse Jr." <change@nas.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: IOError: [Errno 24] Too many open files:
X-Mailer: reportbug 2.43
Date: Wed, 23 Jun 2004 14:39:18 -0700
Message-Id: <E1BdFSg-0004p3-00@debian1.loaner.com>
Sender: "Kingsley G. Morse Jr." <kingsley@debian1.loaner.com>
X-Virus-Scanned: by amavisd-new at nas.com
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: rdiff-backup
Version: 0.13.4-1
Severity: normal
Tags: sid

First of all, thanks for maintaining Debian's rdiff-backup package.

I like it an use it.

It seems that rdiff-backup can open too many files under some
circumstances with this command:

    rdiff-backup -v3 \
    --exclude /c \
    --exclude /mnt/dos \
    --exclude /mnt/dos_backup \
    --exclude /mnt/backup \
    --exclude /tmp \
    --exclude /proc \
    --exclude /home/kingsley/tmp \
    / \
    /mnt/backup

It returns this error message after about an hour:

      File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 265, in Backup
      File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 51, in Mirror_and_increment
      File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 226, in patch_and_increment
      File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 279, in __call__
      File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 607, in fast_process
      File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 593, in inc_with_checking
      File "/usr/lib/python2.3/site-packages/rdiff_backup/increment.py", line 44, in Increment
      File "/usr/lib/python2.3/site-packages/rdiff_backup/increment.py", line 73, in makesnapshot
      File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 213, in copy_with_attribs
      File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 96, in copy
      File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 118, in copy_reg_file
      File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 213, in copy_with_attribs
      File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 96, in copy
      File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 118, in copy_reg_file
      File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 933, in write_from_fileobj
      File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 912, in open
      File "/usr/lib/python2.3/gzip.py", line 94, in __init__
    IOError: [Errno 24] Too many open files: '/mnt/backup/rdiff-backup-data/increments/var/spool/news/message.id/961/<Xouuc.17431$be.12915@newsread2.news.pas.earthlink.net>.2004-06-16T01:20:39-07:00.snapshot.gz'
    Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/mnt/backup/rdiff-backup-data/file_statistics.2004-06-23T01:21:16-07:00.data.gz', mode 'wb' at 0x1578b8e0 0x15a260ac>> ignored
    Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/mnt/backup/rdiff-backup-data/error_log.2004-06-23T01:21:16-07:00.data.gz', mode 'wb' at 0x157a9f60 0x15a24eec>> ignored
    Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/mnt/backup/rdiff-backup-data/mirror_metadata.2004-06-23T01:21:16-07:00.snapshot.gz', mode 'wb' at 0x157b3ae0 0x15a2608c>> ignored

A similar error message was returned by version 0.13.3.jgoerzen-3 of
rdiff-backup.

I seem to have worked around the problem by executing

    ulimit -S -n 4096

before running rdiff-backup.

Thanks,
Kingsley
    

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.19-aa1
Locale: LANG=C, LC_CTYPE=C

Versions of packages rdiff-backup depends on:
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  librsync1                   0.9.6-8      Binary diff library based on the r
ii  python2.3                   2.3.1-2      An interactive high-level object-o
ii  rdiff                       0.9.5-2      Binary diff tool for signature-bas

-- no debconf information



---------------------------------------
Received: (at 255935-done) by bugs.debian.org; 16 Aug 2004 21:38:03 +0000
>From alec@thened.net Mon Aug 16 14:38:03 2004
Return-path: <alec@thened.net>
Received: from mail.bowdoin.edu [139.140.14.83] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BwpB1-00089U-00; Mon, 16 Aug 2004 14:38:03 -0700
Received: from splinter (rocksteady.bowdoin.edu [139.140.34.45])
 by mail.bowdoin.edu
 (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with ESMTP id <0I2K00HF36QCDY@mail.bowdoin.edu> for
 255935-done@bugs.debian.org; Mon, 16 Aug 2004 17:37:24 -0400 (EDT)
Received: by splinter (Postfix, from userid 1000)	id 7DA686D3; Mon,
 16 Aug 2004 17:37:09 -0400 (EDT)
Date: Mon, 16 Aug 2004 17:37:09 -0400
From: Alec Berryman <alec@thened.net>
Subject: Housekeeping
To: 255935-done@bugs.debian.org
Message-id: <20040816213709.GC24693@thened.net>
MIME-version: 1.0
Content-type: multipart/signed; boundary=KN5l+BnMqAQyZLvT;
 protocol="application/pgp-signature"; micalg=pgp-sha1
Content-disposition: inline
User-Agent: Mutt/1.5.6+20040722i
X-Ned-Wuz-Here: Yes
X-Operating-System: Debian GNU/Linux 3.1 with kernel 2.6.7-1-686
X-GPG-Fingerprint: 3DB5 8785 53D9 8BF4 5049 B6B9 02E7 7FD9 881C 85C4
X-GPG-Key: http://www.thened.net/~alec/static/alec.asc
Delivered-To: 255935-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--KN5l+BnMqAQyZLvT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Calling this one closed as there has been no activity and it has not
been reproduced.

--KN5l+BnMqAQyZLvT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBISkFAud/2YgchcQRAs2fAKDLzH5mKtutu6sNJb9w4zk0c/lnIACfbDxa
7WZzEh3P9MuPtSvwNktBLh8=
=TAfN
-----END PGP SIGNATURE-----

--KN5l+BnMqAQyZLvT--



Reply to: