>Isn't that what ulimits are for? Limiting the memory usage by a > process? Ah, that seems to be for file sizes. I'm sure there is a way to > limit memory so you can set-up a safety net (at least another script > monitoring rtmpdump's memory usage and killing it if it gets too big). > > Nick
I used to have the same problem when trying to stream live tv into vlc. I've since given this up as a bad job but I could prevent this particular issue with the following 3 lines at the top of the get_iplayer script : #!/bin/bash ulimit -v 204800 exec /usr/bin/perl -x -S $0 ${1+"$@"} Didn't attack the cause though. _______________________________________________ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer