[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave sleeps with 2000 tmp files :(
From: |
Jon Davis |
Subject: |
Re: Octave sleeps with 2000 tmp files :( |
Date: |
Fri, 12 Apr 2002 12:15:54 -0400 (EDT) |
I've seen a (non octave) situation where gnuplot seemed to
queue print commands, and presumably would keep the file descriptor
open. The hack that cured that was to issue a gnuplot command that
set a different terminal type. It seemed to flush the queue then.
--Jon
address@hidden --- Jon H. Davis
On Fri, 12 Apr 2002, John W. Eaton wrote:
> On 12-Apr-2002, Ana O'Lyric <address@hidden> wrote:
>
> | I have faced the following problem:
> | In Octave, I am running a program that
> | makes a lot of figures in a cycle.
> | I have found that as soon as the number
> | of tmp files reaches approximately 2045
> | or so, Octave ``falls asleep.''
> | It just stops doing anything!
> | It even doesn't occupy the CPU.
> | Is there anything that can be done to fix
> | this problem except for giving
> | purge_tmp_files? (It works too fast deleting
> | necessary tmp data before gnuplot managed
> | to plot them.)
>
> Octave places no limit on the number of open files, but your OS or
> shell might. For example, on my system:
>
> $ ulimit -a
> core file size (blocks, -c) 0
> data seg size (kbytes, -d) unlimited
> file size (blocks, -f) unlimited
> max locked memory (kbytes, -l) unlimited
> max memory size (kbytes, -m) unlimited
> open files (-n) 1024
> pipe size (512 bytes, -p) 8
> stack size (kbytes, -s) 8192
> cpu time (seconds, -t) unlimited
> max user processes (-u) 256
> virtual memory (kbytes, -v) unlimited
> $ ulimit -n unlimited
> bash: ulimit: cannot modify open files limit: Operation not permitted
>
> Still, I'm not sure why your Octave process is stopping without any
> messages when you (apparently) reach a limit on open files. Octave
> should open the plot files, write the data and close them. I'm not
> sure what gnuplot does.
>
> Can you submit a complete bug report to the bug-octave mailing list
> that demonstrates the problem?
>
> Thanks,
>
> jwe
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
>
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------