[OpenIndiana-discuss] Solaris cp problems

Irek Szczesniak iszczesniak at gmail.com
Mon Sep 24 10:34:47 UTC 2012


On Mon, Sep 24, 2012 at 12:09 PM, Sebastian Gabler <sequoiamobil at gmx.net> wrote:
> Hi,
>
> I am facing problems with the solaris cp command:
>
> $ usr/bin/cp -pr <sourcedir> . is raising the following errors:
>
> "cp: cannot create ./<SubdirOfTargetDir> too many open files"
> "cp: cannot open <SomeFileInSubDirofSourceDir> too many open files"
> "cp: Failed to preserve extended system attributes of directory"
>
> Any idea how to fix that on 5.11 oi_151a i86pc i386 i86pc Solaris?

Sounds like your (bash) shell is leaking file descriptors. What does
pfiles $$ say?

Irek



More information about the OpenIndiana-discuss mailing list