[Asterisk-Users] MOH - 3 processes of mpg321 taking 20%CPU each-normal ?

Walt Reed asterisk at linuxguy.com
Fri Oct 1 11:16:25 MST 2004


On Fri, Oct 01, 2004 at 01:03:08PM -0500, Matthew Boehm said:
> The problem he is probably referring to is when * crashes, mpg123 spawns
> don't die. They stay running in background and chew up cpu. I experience
> this all the time when * crashes. Seems like its just something you have to
> live with since * doesn't handle the mpg123 thread itself.
> 
> Would probably be better if the mpg123 threads were spawnd as children of *
> that way when * threads died, so would the children.

Once possible kludge in the meantime would be to kill off mpg123
processes before launching asterisk (you would do this in your
/etc/init.d/asterisk script or whatever you use to start *.)




More information about the asterisk-users mailing list