Re: [CentOS] Pipes (fifos) not working in concurrently

2011-11-26 Thread Timothy Madden
On 26.11.2011 07:41, Bart Schaefer wrote: > On Fri, Nov 25, 2011 at 6:34 PM, Bart Schaefer > wrote: >> >> Next you create wget #2, which (because it was forked from the parent >> shell) shares all the file descriptors that the shell had open to wget >> #1, e.g., including the input to the fifo.

Re: [CentOS] Pipes (fifos) not working in concurrently

2011-11-25 Thread Bart Schaefer
On Fri, Nov 25, 2011 at 6:34 PM, Bart Schaefer wrote: > > Next you create wget #2, which (because it was forked from the parent > shell) shares all the file descriptors that the shell had open to wget > #1, e.g., including the input to the fifo.  Repeat for all the rest of > the wget.  By the time

Re: [CentOS] Pipes (fifos) not working in concurrently

2011-11-25 Thread Bart Schaefer
This really belongs on a shell list rather than the centos list, but: On Fri, Nov 25, 2011 at 1:05 PM, Timothy Madden wrote: > > So I create 20 pipes in my script with `mkfifo´ and connect the read end of > each one to a new wget process for that fifo. The write end of each pipe is > then connect

[CentOS] Pipes (fifos) not working in concurrently

2011-11-25 Thread Timothy Madden
Hello I have a large list of URLs (from a database, generated automatically during tests) that I want to download using several wget processes at the same time. With our internal web servers, this will be a lot faster than downloading the pages one at a time with a single process. So I creat