Re: scp_put failing when there are too many files

2015-12-11 Thread Shawn H Corey
On Fri, 11 Dec 2015 19:55:15 +0200 Shlomi Fish wrote: > Of note here is Rob Pike's note about the argument list being limited > in size on UNIX-systems here: Yeah but usually it's a high number like 32767. :) -- Don't stop where the ink does. Shawn -- To unsubscribe, e-mail: beginne

Re: scp_put failing when there are too many files

2015-12-11 Thread Shlomi Fish
Hi all, On Fri, 11 Dec 2015 11:07:54 -0500 Shawn H Corey wrote: > On Fri, 11 Dec 2015 16:28:39 +0100 > Ori Raz wrote: > > > Hi, > > Did anyone encounter the scenario where scp_put is failing (too many > > arguments) when the directory contains too many files? > > We have 36K files in the direc

Re: scp_put failing when there are too many files

2015-12-11 Thread Shawn H Corey
On Fri, 11 Dec 2015 16:28:39 +0100 Ori Raz wrote: > Hi, > Did anyone encounter the scenario where scp_put is failing (too many > arguments) when the directory contains too many files? > We have 36K files in the directory and it is failing... (with lower > amount it works fine) > > This is how we

scp_put failing when there are too many files

2015-12-11 Thread Ori Raz
Hi, Did anyone encounter the scenario where scp_put is failing (too many arguments) when the directory contains too many files? We have 36K files in the directory and it is failing... (with lower amount it works fine) This is how we use it: $dr_node->scp_put( { recursive => 1, glob => 1, copy_user