On Wed, Feb 10, 2010 at 01:23:01PM +0300, RESEARCH wrote:
> @Steve Edward. Can you share your C agi codes? I presume what you want me to
> do is rewrite the script in C and use it as compiled binary
Yes.
But then again, for such a simple call (a single INSERT) you can use a
MySQL() from the dialplan.
And this is also basically the same as adding a CDR record. Which is why
I guess you can probably use the existing CDR code.
>
> @Tzafrir. How about this
> [ivr4 ~]# ps aux | grep D
> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
> root 1975 0.0 0.0 3920 688 pts/4 S+ 13:17 0:00 grep D
> root 3413 0.0 0.0 1832 576 ? Ss 2009 80:58
> /usr/sbin/mDNSResponder -b -f /etc/services_mDNS
So no processes are currently in state 'D' (the two processes here are
grep itself, and an unrelated daemon, both in state 'S', which is the
normal 'Sleeping').
(So your issue was merely the fact the the CPU was flooded with work,
and not some processes hung in uninterruptable sleep).
>
> I have killed that process but no changes
* Killing a process in state D is generally pointless (it is in an
uniteruuptable system call: not even kill -9 would get it).
* That process was not in state D anyway :-)
--
Tzafrir Cohen
icq#16849755 jabber:[email protected]
+972-50-7952406 mailto:[email protected]
http://www.xorcom.com iax:[email protected]/tzafrir
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users