Backup issues
Jerry Feldman
gaf at blu.org
Mon Nov 10 10:46:13 EST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 10 Nov 2003 09:51:27 -0500
Dan Barrett <nullpointer at pobox.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Monday 10 November 2003 09:37, Jerry Feldman wrote:
> > Too many open files in system
>
>
> I think this is the Linux kernel -- what does ulimit tell you? What
> about the value in /proc/sys/fs/file-max? On my desktop here at work,
> that's set to 52313; at idle it's got 3,389 filehandles already, so I
> can see a big messy Windows drive causing problems I guess.
ulimit says 1024 (which is what I specified originally) and file-max is
26212. My issue is not so much with the Linux file limit (I have mucked
with that in the past). Yes, the Windows drive does have a lot of files.
The issue is not so much increasing the number of available file
handles, but getting rsync to work within the existing limits. This
particular thing only started to occur a week or so ago. Looking at the
patch logs rsync has not changed since I installed SuSE 8.2, but Samba
was updated in September.
One solution is to write my own sync command. This would not be too much
work since I have code already that does recursive directory searches.
(I actually wrote a version of the Unix find command for MS-DOS years
ago before there were any good utilities available for Windows). Or,
simply use the cp command recursively (which will copy a lot of junk).
Another possibility is to change my backup strategy, and possibly
initiate it from Cygwin on my wife's system.
- --
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQE/r7LF+wA+1cUGHqkRAuNYAJ9X5zm7cg7Kk4oyejfMrHTrC2k+0QCfdWZL
RDQlSifsEb94Du1J861dw2A=
=+BM3
-----END PGP SIGNATURE-----
More information about the Discuss
mailing list