On Fri, 11 Jun 2004 01:40:31 +0100, "Jon Freeman" <[EMAIL PROTECTED]> wrote: >From: "Stephen Kellett" <[EMAIL PROTECTED]> > >> Write a monitor process that monitors your abcm2ps processes. Any >> process that has been at a high CPU for more than X time, kill it. Or >> modify abcm2ps to include a monitor thread to do the same task (better >> as it'll know how long each tune processing has taken). > >I must admit I had not read you post properly last time round. Are you >suggesting that it could be possible to have a version of abcm2ps that could >watch itself and terminate itself if it did get out of control? I wouldn't >have the first clue where to start but if that sort of idea is feasible, I >am intrested. > >Jon
If your server runs under Unix, you may simply set the max cpu time with the shell command 'ulimit -t <seconds>'. -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** | http://moinejf.free.fr/ Pépé Jef | mailto:[EMAIL PROTECTED] To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html