Re: Can't Create Child Processes

From: Capehart, William J <William.Capehart_at_nyahnyahspammersnyahnyah>
Date: Mon Sep 27 2010 - 14:32:54 MDT

Hi Daryl:

My ulimit -n is 256.

I AM working with netcdf data but using addfile to open them. But the
system and systemfunc failures are happening with gzip and gunzip.

How exactly do you "close" addfiles? And how will this help with the
zipping and unzipping?

Thanks Much
Bill

On 9/27/10 14:25 MDT, "Daryl Harzmann" <akrherz@iastate.edu> wrote:

> On Mon, 27 Sep 2010, Capehart, William J wrote:
>
>> Iım doing a goodly amount of file management in one of my
>> post-processing scripts where I am gunzipping and re-gzipping data
>> before and behind me as I march through a lot of model output.
>>
>> Recently, Iıve been hitting these errors when I use the function
>> ³systemfunc²:
>>
>> fatal:systemfunc: cannot create child process:[errno=12]
>>
>> Ideas? Note that the system() subroutine yields no such error. BUT.
>> Instead, it fails to execute the requested shell command and keeps going
>> drunkenly onward until it tries to open a file that hasnıt been gunziped
>> or similar crash.
>
> This sounds like you are running out of file descriptors. You are probably
> hitting 1024 open files (ulimit -n will display the limit). Are you
> certain you are closing files and cleaning up after yourself as you march
> along? Is this NetCDF data?
>
> daryl

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Sep 27 14:33:06 2010

This archive was generated by hypermail 2.1.8 : Mon Oct 04 2010 - 08:55:54 MDT