# High CPU usage after fresh install asterisk 18.1.0

**URL:** <https://community.asterisk.org/t/high-cpu-usage-after-fresh-install-asterisk-18-1-0/94423>\
**Category:** Asterisk Support\
**Created:** [October 19, 2022, 6:17am UTC](https://community.asterisk.org/t/high-cpu-usage-after-fresh-install-asterisk-18-1-0/94423 "2022-10-19T06:17:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeonardoPL](https://avatars.discourse-cdn.com/v4/letter/l/e480ec/32.png) [@LeonardoPL](https://community.asterisk.org/u/LeonardoPL)\
**Post date:** [October 19, 2022, 6:17am UTC](https://community.asterisk.org/t/high-cpu-usage-after-fresh-install-asterisk-18-1-0/94423/1 "2022-10-19T06:17:21Z")

</div>

Hi,  
After fresh install, I make a single call and CPU usage goes to 70%. This problem exist until reboot of whole board or asterisk restart. Have anyone met similar issue? If I restart asterisk “core restart now” before first call, the issue is gone.

Modules loaded:  
[modules]  
autoload = no

; Applications  
load = app\_bridgewait.so  
load = app\_cdr.so  
load = app\_confbridge.so  
load = app\_dial.so  
load = app\_directory.so  
load = app\_originate.so  
load = app\_playback.so  
load = app\_queue.so  
load = app\_record.so  
load = app\_softhangup.so  
load = app\_stack.so  
load = app\_system.so  
load = app\_transfer.so  
load = app\_verbose.so  
load = app\_voicemail.so

; Bridging  
load = bridge\_builtin\_features.so  
load = bridge\_builtin\_interval\_features.so  
load = bridge\_holding.so  
load = bridge\_native\_rtp.so  
load = bridge\_simple.so  
load = bridge\_softmix.so

; Channel Drivers  
load = cdr\_custom.so  
load = cdr\_csv.so  
load = chan\_bridge\_media.so  
load = chan\_pjsip.so

; Codecs  
load = codec\_alaw.so  
load = codec\_g722.so  
load = codec\_g729.so  
load = codec\_gsm.so  
load = codec\_resample.so  
load = codec\_ulaw.so  
load = format\_g729.so  
load = format\_gsm.so  
load = format\_mp3.so  
load = format\_pcm.so  
load = format\_sln.so  
load = format\_wav\_gsm.so  
load = format\_wav.so

; Functions  
load = func\_base64.so  
load = func\_blacklist.so  
load = func\_callcompletion.so  
load = func\_callerid.so  
load = func\_cdr.so  
load = func\_channel.so  
load = func\_config.so  
load = func\_cut.so  
load = func\_db.so  
load = func\_devstate.so  
load = func\_dialgroup.so  
load = func\_dialplan.so  
load = func\_enum.so  
load = func\_env.so  
load = func\_extstate.so  
load = func\_frame\_trace.so  
load = func\_global.so  
load = func\_groupcount.so  
load = func\_hangupcause.so  
load = func\_holdintercept.so  
load = func\_jitterbuffer.so  
load = func\_lock.so  
load = func\_logic.so  
load = func\_math.so  
load = func\_md5.so  
load = func\_module.so  
load = func\_periodic\_hook.so  
load = func\_pjsip\_aor.so  
load = func\_pjsip\_contact.so  
load = func\_pjsip\_endpoint.so  
load = func\_presencestate.so  
load = func\_rand.so  
load = func\_realtime.so  
load = func\_sha1.so  
load = func\_shell.so  
load = func\_sorcery.so  
load = func\_sprintf.so  
load = func\_srv.so  
load = func\_strings.so  
load = func\_sysinfo.so  
load = func\_timeout.so  
load = func\_uri.so  
load = func\_version.so  
load = func\_vmcount.so  
load = func\_volume.so

; Pbx  
load = pbx\_config.so  
load = pbx\_spool.so

; Resources

load = res\_clialiases.so  
load = res\_clioriginate.so  
load = res\_config\_sqlite3.so  
load = res\_crypto.so  
load = res\_format\_attr\_g729.so  
load = res\_limit.so  
load = res\_musiconhold.so  
load = res\_pjproject.so  
load = res\_pjsip\_acl.so  
load = res\_pjsip\_authenticator\_digest.so  
load = res\_pjsip\_caller\_id.so  
load = res\_pjsip\_config\_wizard.so  
load = res\_pjsip\_dialog\_info\_body\_generator.so  
load = res\_pjsip\_diversion.so  
load = res\_pjsip\_dlg\_options.so  
load = res\_pjsip\_dtmf\_info.so  
load = res\_pjsip\_empty\_info.so  
load = res\_pjsip\_endpoint\_identifier\_anonymous.so  
load = res\_pjsip\_endpoint\_identifier\_ip.so  
load = res\_pjsip\_endpoint\_identifier\_user.so  
load = res\_pjsip\_exten\_state.so  
load = res\_pjsip\_header\_funcs.so  
load = res\_pjsip\_history.so  
load = res\_pjsip\_logger.so  
load = res\_pjsip\_messaging.so  
load = res\_pjsip\_mwi\_body\_generator.so  
load = res\_pjsip\_mwi.so  
load = res\_pjsip\_nat.so  
load = res\_pjsip\_notify.so  
load = res\_pjsip\_outbound\_authenticator\_digest.so  
load = res\_pjsip\_outbound\_publish.so  
load = res\_pjsip\_outbound\_registration.so  
load = res\_pjsip\_path.so  
load = res\_pjsip\_publish\_asterisk.so  
load = res\_pjsip\_pubsub.so  
load = res\_pjsip\_refer.so  
load = res\_pjsip\_registrar.so  
load = res\_pjsip\_rfc3326.so  
load = res\_pjsip\_sdp\_rtp.so  
load = res\_pjsip\_send\_to\_voicemail.so  
load = res\_pjsip\_session.so  
load = res\_pjsip\_sips\_contact.so  
load = res\_pjsip.so  
load = res\_rtp\_asterisk.so  
load = res\_sorcery\_astdb.so  
load = res\_sorcery\_config.so  
load = res\_sorcery\_memory.so  
load = res\_sorcery\_memory\_cache.so  
load = res\_sorcery\_realtime.so  
load = res\_srtp.so  
load = res\_stasis\_answer.so  
load = res\_stasis\_device\_state.so  
load = res\_stasis\_playback.so  
load = res\_stasis\_recording.so  
load = res\_stasis\_snoop.so  
load = res\_stasis.so  
load = res\_statsd.so  
load = res\_stun\_monitor.so  
load = res\_timing\_pthread.so

[modules]  
noload = res\_hep\_pjsip.so  
noload = res\_hep\_rtcp.so  
noload = res\_hep.so

---

<div class="post-metadata">

**Author:** ![BlazeStudios](https://avatars.discourse-cdn.com/v4/letter/b/e0b2c6/32.png) [@BlazeStudios](https://community.asterisk.org/u/BlazeStudios)\
**Post date:** [October 19, 2022, 1:47pm UTC](https://community.asterisk.org/t/high-cpu-usage-after-fresh-install-asterisk-18-1-0/94423/2 "2022-10-19T13:47:26Z")

</div>

Why did you install a 2 yo version of 18?

---

<div class="post-metadata">

**Author:** ![penguinpbx](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/penguinpbx/32/8856_2.png) [@penguinpbx](https://community.asterisk.org/u/penguinpbx)\
**Post date:** [October 31, 2022, 6:20pm UTC](https://community.asterisk.org/t/high-cpu-usage-after-fresh-install-asterisk-18-1-0/94423/3 "2022-10-31T18:20:39Z")

</div>

Have you tried autoload=yes ?

---

<div class="post-metadata">

**Author:** ![LeonardoPL](https://avatars.discourse-cdn.com/v4/letter/l/e480ec/32.png) [@LeonardoPL](https://community.asterisk.org/u/LeonardoPL)\
**Post date:** [November 4, 2022, 10:18am UTC](https://community.asterisk.org/t/high-cpu-usage-after-fresh-install-asterisk-18-1-0/94423/4 "2022-11-04T10:18:22Z")

</div>

Issue still exists with autoload=yes. Moreover with autoload=yes CPU usage goes to ~80% even in idle

---

<div class="post-metadata">

**Author:** ![penguinpbx](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/penguinpbx/32/8856_2.png) [@penguinpbx](https://community.asterisk.org/u/penguinpbx)\
**Post date:** [November 21, 2022, 11:22pm UTC](https://community.asterisk.org/t/high-cpu-usage-after-fresh-install-asterisk-18-1-0/94423/5 "2022-11-21T23:22:38Z")

</div>

Maybe try paring down the modules to one-by-one add them back and see where/when it spikes ? My hunch is PJSIP or DNS.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [December 21, 2022, 11:23pm UTC](https://community.asterisk.org/t/high-cpu-usage-after-fresh-install-asterisk-18-1-0/94423/6 "2022-12-21T23:23:01Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
