[asterisk-users] How often to restart Asterisk...

Stelios Koroneos skoroneos at digital-opsis.com
Sat Jan 12 14:31:24 CST 2013


>Veering off topic, but still curious :)
>
>Since an AGI only exists for part of the life of a single call, how
>does 
>it accumulate enough resources to be a problem?

Call goes away...AGI thread stays back in some zombi state waiting for
something (most of the times response from another web service)
That leaves you with an interpreter (probably PHP) fully loaded plus
whatever buffers/magic it had acquired stuck in memory.
If you are *really lucky* it will be stuck in a blocking function
bringing the core its running to 100% utilization and you might notice
it.
if not you are in for a "random(15) days" crash ....






More information about the asterisk-users mailing list