Mail Archives: cygwin/2007/08/10/09:15:44
* Corinna Vinschen (Fri, 10 Aug 2007 13:30:45 +0200)
> On Aug 9 19:23, Thorsten Kampe wrote:
> > * Corinna Vinschen (Thu, 9 Aug 2007 11:50:39 +0200)
> > > On Aug 7 14:28, Thorsten Kampe wrote:
> > > > actual copying fails (partially?) with something like "skipping
> > > > everything under /foo/bar - too many open files" (which does not
> > > > happen with the 17/7 snapshot and all before that).
> > >
> > > Looks like my new code doesn't close a file handle when it should.
> > >
> > > > If the developers are interested in the thing I'd give a more detailed
> > > > error description.
> > >
> > > An strace snippet which shows the point wehere the actual error is
> > > generated might be helpful.
> >
> > First the rsync error:
> >
> > cygwin/var/run/utmp
> > 2464 100% 2.02kB/s 0:00:01 (xfer#67, to-check=26525/51525)
> > data/install/microsoft/PsTools.zip
> > 1026578 100% 1.55MB/s 0:00:00 (xfer#68, to-check=19463/51525)
> > rsync: recv_generator: failed to stat "/cygdrive/j/thorsten/backup/usb/data/in
> > stall/thebat/imap/IMAP-Einstellungen und Erkl\#344rung der verschiedenen Punkt
> > e/atb_team.gif": Bad address (14)
>
> Erm... you didn't tell about this "Bad address" error.
These are just German Umlauts and in my opinion not connected to the "too many open files" errors.
> > rsync: recv_generator: mkdir "/cygdrive/j/thorsten/backup/usb/data/install/usb
> > 2" failed: Too many open files (24)
>
> Unfortunately there's nothing pointing to any of the above errors in the
> strace output.
Really? I thought these ones...
| 54 683224840 [main] rsync 1396 __set_errno: cygheap_fdget::cygheap_fdget(int, bool, bool):387 val 9
...were the ones you were looking for
> What's the exact command you use?
It's very simple zsh script:
#! /bin/zsh -f
emulate -R zsh
setopt globdots
rsync -rt --links --delete --partial --progress \
/cygdrive/$1/* \
/cygdrive/$2/thorsten/backup/usb
> Also, can you retry with the latest from CVS
CVS? I've never done this.
http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin
seems quite a lot to do. Will this just build cygwin1.dll?
> and perhaps try to run this under GDB to find out more?
Never done this, too. This is all so c-ish, couldn't you port Cygwin to Python?? :-)
Thorsten
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -