On Friday 13 May 2005 22:52, Adam Goryachev wrote:
> On Fri, 2005-05-13 at 15:12 -0500, Lane wrote:
> > Hi,
> >
> > KMail crashed because I saved too many asterisk-users messages ... now I
> > have to ask directly, instead of searching in my private archive :)
> >
> > Here's the problem:  I'm using MusicOnHold, running mpg123, but I notice
> > that the processes don't die even after the user hangs up.  They just
> > sort of "freeze" and stop consuming cpu (I hope).
> >
> > Is there a way (within asterisk) to flush these processes completely?  Or
> > should I just run a cron job?
>
> AFAIK, you should get two process for each class you define in
> musiconhold.conf, they will only consume CPU while there is one or more
> people in that MoH class, but the process won't exit until asterisk
> does. Frequently, if asterisk crashes, it won't get a chance to kill the
> mpg123 processes, and hence you will end up with a lot of extraneous
> processes. The best fix is to work out why asterisk is crashing, and fix
> it.
>
> Regards,
> Adam
>
Thanks, Adam.

That explains it.  I have two moh classes defined and there were four 
processes that I (apparently erroneously) called "zombies"

Now if I could just get it to play the next song for the next call, instead of 
starting at the first song each time ...

lane

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@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

Reply via email to