Kelvin Chan
2010-Apr-23 01:55 UTC
[asterisk-users] asterisk running @ 100% load doing nothing
Hi guys, I just ran into a funny issue here. I'm trying to virtualize our asterisk pbx onto vmware esxi. Here's a quick glance of the system: * Ubuntu 9.10 i386 with linux-rt kernel (to get 1000Hz timer) everything up2date. * Asterisk 1.6.2.6 If I run asterisk using the debian init script in contrib/init.d/, top shows asterisk is using 99.x% CPU doing nothing. If I run asterisk with -vvvc, it runs just fine. It's the same thing either running under root or asterisk (set in asterisk.conf and confirmed with "top"). I checked my logs, nothing weird. It's not spitting a million error messages. It's not crashing. So any hints? What can I provide you guys to help me out? Here are some log outputs: (nothing weird) --------- /etc/asterisk/logger.conf -------- [logfiles] debug => debug console => notice,warning,error messages => notice,warning,error --------- debug -------------- [Apr 22 17:50:48] DEBUG[2550] xmldoc.c: Cannot find variable 'SIPPEER' in tree 'description' [Apr 22 17:50:48] DEBUG[2550] xmldoc.c: Cannot find variable 'SIPCHANINFO' in tree 'description' -------- message ------------- [Apr 22 17:50:48] NOTICE[2550] cdr.c: CDR simple logging enabled. [Apr 22 17:50:48] NOTICE[2550] loader.c: 33 modules will be loaded. [Apr 22 17:50:48] WARNING[2550] translate.c: plc_samples 160 format f [Apr 22 17:50:48] NOTICE[2561] chan_sip.c: Peer '104' is now Reachable. (32ms / 2000ms) [Apr 22 17:50:48] NOTICE[2561] chan_sip.c: Peer '105' is now Reachable. (34ms / 2000ms) [Apr 22 17:50:48] NOTICE[2561] chan_sip.c: Peer '107' is now Reachable. (30ms / 2000ms) [Apr 22 17:50:48] NOTICE[2561] chan_sip.c: Peer '101' is now Reachable. (31ms / 2000ms) [Apr 22 17:50:48] NOTICE[2561] chan_sip.c: Peer '103' is now Reachable. (29ms / 2000ms) [Apr 22 17:50:48] NOTICE[2561] chan_sip.c: Peer '102' is now Reachable. (32ms / 2000ms) [Apr 22 17:50:49] NOTICE[2561] chan_sip.c: Peer '109' is now Reachable. (30ms / 2000ms) [Apr 22 17:50:49] NOTICE[2561] chan_sip.c: Peer '203' is now Reachable. (51ms / 2000ms) [Apr 22 17:50:49] NOTICE[2561] chan_sip.c: Peer '202' is now Reachable. (56ms / 2000ms) [Apr 22 17:50:49] NOTICE[2561] chan_sip.c: Peer '110' is now Reachable. (32ms / 2000ms) [Apr 22 17:50:49] NOTICE[2561] chan_sip.c: Peer '201' is now Reachable. (54ms / 2000ms) kelvin NOTICE: This communication is intended only for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communication to the intended recipient, you are hereby notified that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have this communication in error, please notify me immediately by telephone and then destroy or delete this communication, or return it to me by mail if requested. Thank you for your attention and cooperation.
Kelvin Chan
2010-Apr-23 02:51 UTC
[asterisk-users] asterisk running @ 100% load doing nothing
> > I just ran into a funny issue here. > > I'm trying to virtualize our asterisk pbx onto vmware esxi. Here's a > quick glance of the system: > * Ubuntu 9.10 i386 with linux-rt kernel (to get 1000Hz timer) > everything up2date. > * Asterisk 1.6.2.6 > > If I run asterisk using the debian init script in contrib/init.d/, top > shows asterisk is using 99.x% CPU doing nothing. If I run asterisk with > -vvvc, it runs just fine. It's the same thing either running under root > or asterisk (set in asterisk.conf and confirmed with "top"). > > I checked my logs, nothing weird. It's not spitting a million error > messages. It's not crashing. >And I've just done another test. With stock ubuntu 9.10 i386 and sample asterisk config files, I have the same result. VMWare shows no crazy stats of disk access nor memory usage. Just 100% cpu load. I selected "Mail Server" and "OpenSSH server" at tasksel screen during installation. Same thing. So I uninstall-all and apt-get install asterisk. Same thing. 100% with init script but normal with -vvvvvvvvc CLI switch. BTW, my server has been running for 2 days without crashing @ 100% load of course. Weird, eh. kel NOTICE: This communication is intended only for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communication to the intended recipient, you are hereby notified that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have this communication in error, please notify me immediately by telephone and then destroy or delete this communication, or return it to me by mail if requested. Thank you for your attention and cooperation.