Summary: | ASTERISK-15988: 100% CPU load on debian when loading from initscript | ||
Reporter: | Motiejus Jakstys (motiejus) | Labels: | |
Date Opened: | 2010-04-21 03:22:08 | Date Closed: | 2011-06-07 14:05:26 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Utilities/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Starting via contrib/init.d/rc.debian.asterisk makes asterisk 100% CPU load at once asterisk starts. Line 85 here: http://svnview.digium.com/svn/asterisk/tags/1.6.2.6/contrib/init.d/rc.debian.asterisk?revision=251866&view=markup Loading manually from console start-stop-daemon --start --oknodo --background --exec /usr/sbin/asterisk -- -c makes CPU 100% however start-stop-daemon --start --oknodo --background --exec /usr/sbin/asterisk -- makes it normal. Solution: remove -c at the end of line 85. I do not see much sence leaving it there. ****** STEPS TO REPRODUCE ****** Install debian, copy contrib/init.d/rc.debian.asterisk to /etc/init.d/asterisk, modify paths and start it. ****** ADDITIONAL INFORMATION ****** Tested on two different machines: Xen guest, Intel(R) Xeon(R) CPU 5130 @ 2.00GHz Linux pbx2 2.6.18.8-xenU #1 SMP Fri Nov 27 18:23:42 EET 2009 x86_64 GNU/Linux Old home machine, Pentium III (Katmai) Linux zverynas 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 GNU/Linux | ||
Comments: | By: Motiejus Jakstys (motiejus) 2010-04-21 03:24:46 Debian version 5.0.4 By: Paul Belanger (pabelanger) 2010-04-21 09:32:07 This should already be fixed, try 1.6.2.7-rc2. By: Paul Belanger (pabelanger) 2010-04-21 09:40:03 Closing. Feel free to reopen if you are still having problems. |