Re: freeze under heavy load
Aaron Birenboim <[email protected]>
| Newsgroups | gmane.org.user-groups.nmlug |
|---|---|
| Message-ID | <[email protected]> |
Matthew Bowie wrote:
> As the process is running, run a "ps aux " and see the the convert
> processes are properly closing. Depending on the method you're using,
> they may be still active (or zombied) and you're hitting a handle
> limit. Also periodically check "free" and make sure you don't have a
> memory leak anywhere.
>
Interesting.
I haven't noticed any memory leaks.
Seems unlikely, since I was using "system" to run convert.
For my new tests, I just run a script with 4500 convert commands.
I did do a "ps" check.
Although I'm just "sh"'ing a file with one "convert" per line...
single thread...
I do see some 4-ish convert processes showing up at a time, under
ps auwx | grep convert >> logfile
I couldn't use script, since the log is not flushed when the machine
crashes.
the filesystem is ext3. The folder has about 10000 frames in it.
I'm generating about 1000-2000 more before it crashes in recent runs.
I put a "sleep 3" in there every 100 convert's, and it still crashed.
That makes it look less like a possible buffer overflow (journal buffer
overflow) to me... with the rest time in there to catch up.
I'll try copying to a different partition and trying again tomorrow.
aaron
_______________________________________________
NMLUG mailing list
[email protected]
http://lists.b9.com/cgi-bin/mailman/listinfo/nmlug