Hi, I have a "peculiar" problem with asterisk using 100% cpu (one of the thread just nails one of the CPU's on dual-code system). Asterisk is running chrooted and under its own username. If I alter the init script and add -c to PARAMS variable one of the CPU's is being hammered by asterisk. I remove -c and everything is fine. Has anyone else noticed that? Boris
> I have a "peculiar" problem with asterisk using 100% cpu (one of the > thread just nails one of the CPU's on dual-code system). > > Asterisk is running chrooted and under its own username. > If I alter the init script and add -c to PARAMS variable one of the > CPU's is being hammered by asterisk. > > I remove -c and everything is fine. > > Has anyone else noticed that?Might check to see how many mpg processes are running, or use top to see if that's the culprit. If so, kill off the mpg that's doing it.
Hi> Might check to see how many mpg processes are running, or use top to > see if that's the culprit. If so, kill off the mpg that's doing it.I'm not running any mpg123 processes as I'm using native music on hold (raw files) It has something to do with the color option for the asterisk. If I don't use it, no CPU usage.
On Wed, Nov 23, 2005 at 08:47:33AM +1100, Boris Bakchiev wrote:> Hi, > > I have a "peculiar" problem with asterisk using 100% cpu (one of the > thread just nails one of the CPU's on dual-code system). > > Asterisk is running chrooted and under its own username. > If I alter the init script and add -c to PARAMS variable one of the > CPU's is being hammered by asterisk. > > I remove -c and everything is fine.I haven't noticed it, but hre's how I would try to explin it: the linux console, or a terminal device in general, is relatively slow compared to just outputing to a file. If the same The same high-priority asterisk process dumps everything to the console, it probably means more work. But why would you want to add -c? -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend