Im getting the following error when I do an strace -p ##### for asterisk . Its taking alot of resources. ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff290) = -1 EIO (Input/output error) write(1, "voip1*CLI> ", 11) = -1 EIO (Input/output error) I checked the WIKI and the list and found nothing. Kyle
On Thu, 2004-11-04 at 10:11 -0700, kyle Hagan wrote:> Im getting the following error when I do an strace -p ##### for asterisk > . Its taking alot of resources. > > ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff290) = -1 EIO > (Input/output error) > write(1, "voip1*CLI> ", 11) = -1 EIO (Input/output error) > > I checked the WIKI and the list and found nothing.strace takes a lot of resources and depending on the driver for the display, you can really suck a lot of CPU just trying to keep up with the output. -- Steven Critchfield <critch@basesys.com>
Im not running strace constantly, I just run it to see whats going on. And that error it coming in on the Asterisk PID at a rate of about 10 per second, from what I can see. Kyle Steven Critchfield wrote:>On Thu, 2004-11-04 at 10:11 -0700, kyle Hagan wrote: > > >>Im getting the following error when I do an strace -p ##### for asterisk >>. Its taking alot of resources. >> >>ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff290) = -1 EIO >>(Input/output error) >>write(1, "voip1*CLI> ", 11) = -1 EIO (Input/output error) >> >>I checked the WIKI and the list and found nothing. >> >> > >strace takes a lot of resources and depending on the driver for the >display, you can really suck a lot of CPU just trying to keep up with >the output. > >
Im not running strace constantly, I just run it to see whats going on. And that error it coming in on the Asterisk PID at a rate of about 10 per second, from what I can see. here is my TOP: Cpu(s): 86.3% user, 13.7% system, 0.0% nice, 0.0% idle Mem: 904204k total, 862688k used, 41516k free, 0k buffers Swap: 1004020k total, 0k used, 1004020k free, 578036k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 10744 root 20 0 1400 1400 1096 R 50.0 0.2 699:46.68 asterisk 23199 root 19 0 1408 1408 1096 R 49.7 0.2 536:18.27 asterisk 13838 root 9 0 7404 7332 3644 R 0.3 0.8 0:00.14 asterisk its showing 50% CPU x 2. when I strace -p 10744 or strace -p 23199 thats when I get the error. Kyle Steven Critchfield wrote:>On Thu, 2004-11-04 at 10:11 -0700, kyle Hagan wrote: > > >>Im getting the following error when I do an strace -p ##### for asterisk >>. Its taking alot of resources. >> >>ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff290) = -1 EIO >>(Input/output error) >>write(1, "voip1*CLI> ", 11) = -1 EIO (Input/output error) >> >>I checked the WIKI and the list and found nothing. >> >> > >strace takes a lot of resources and depending on the driver for the >display, you can really suck a lot of CPU just trying to keep up with >the output. > >