comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » "Can't create pipe" on call to spawn.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
"Can't create pipe" on call to spawn. [message #85229] Wed, 17 July 2013 08:51 Go to next message
andrew.p.walsh is currently offline  andrew.p.walsh
Messages: 4
Registered: July 2013
Junior Member
Hi All,

I've come across a bit of a bizarre problem:

I have a routine that loads data from ~10^6 individual files and partway through processing the list IDL stops being able to locate the files with file_search (I don't know the names of the files ahead of time).

It seems that the IDL session is locked out of the system completely, it can't locate and compile routines like read_ascii, can't connect to the X server to open graphics windows and I can't even retrieve a directory listing with

spawn, ls

or

$ls

This is where it returns "Can't create pipe."

Does anyone have any idea what's going on? I have version 8.2.1 on 64 bit linux (Ubuntu 12.04).

Andrew
Re: "Can't create pipe" on call to spawn. [message #85230 is a reply to message #85229] Wed, 17 July 2013 09:20 Go to previous messageGo to next message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
On 17/07/13 16:51, andrew.p.walsh@gmail.com wrote:
> Hi All,
>
> I've come across a bit of a bizarre problem:
>
> I have a routine that loads data from ~10^6 individual files and partway through processing the list IDL stops being able to locate the files with file_search (I don't know the names of the files ahead of time).
>
> It seems that the IDL session is locked out of the system completely, it can't locate and compile routines like read_ascii, can't connect to the X server to open graphics windows and I can't even retrieve a directory listing with
>
> spawn, ls
>
> or
>
> $ls
>
> This is where it returns "Can't create pipe."
>
> Does anyone have any idea what's going on? I have version 8.2.1 on 64 bit linux (Ubuntu 12.04).
>
> Andrew
>

You have probably exceeded the system defined, per-process, limit on open file descriptors (check out ulimit).

Are you sure that you are properly closing each file after you've finished with it, and allowing all pipes etc. to close?

--
Nigel Wade
Re: "Can't create pipe" on call to spawn. [message #85234 is a reply to message #85230] Thu, 18 July 2013 01:57 Go to previous message
andrew.p.walsh is currently offline  andrew.p.walsh
Messages: 4
Registered: July 2013
Junior Member
That was it, thanks!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 'Open Declaration' finds the wrong instance of a routine
Next Topic: strange output with xyouts

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:01:15 PDT 2025

Total time taken to generate the page: 0.01139 seconds