bash - POSIX smallest allowable upper limit on argument length (all systems) -


i know has been posted multiple times couldnt find answer anywhere hence posting again.

my current system limits are:--

root@vm-test-001:~/mongosearch# xargs --show-limits environment variables take 1925 bytes posix upper limit on argument length (this system): 2093179 posix smallest allowable upper limit on argument length (all systems): 4096 maximum length of command use: 2091254 size of command buffer using: 131072 maximum parallelism (--max-procs must no greater): 2147483647 

now, when running mongo command bash shell , fails due posix smallest allowable upper limit on argument length (all systems): 4096 limitation number of argument length huge.

i tried using stty -icanon , ulimit -s 32768 nothing helped. below command failing .

mongo host:port/db_name -u db_user -p password < count.js >> count.txt  

so, how run external command larger argument list ? read there options available running internal commands

regards


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -