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

Chris Stenton jacs at gnome.co.uk
Fri Oct 1 13:46:23 MST 2004


Another way is to use moh via chanspy. See the bug report. This does not
fork mpg123 but links in the mp3 library or you could play ulaw files to
reduce the overhead.

Chris


On Fri, 2004-10-01 at 19:16, Walt Reed wrote:
> 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 *.)
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list