# Another 100 % CPU usage

**URL:** <https://community.asterisk.org/t/another-100-cpu-usage/21363>\
**Category:** Asterisk Support\
**Created:** [June 9, 2008, 12:56pm UTC](https://community.asterisk.org/t/another-100-cpu-usage/21363 "2008-06-09T12:56:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![metis](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@metis](https://community.asterisk.org/u/metis)\
**Post date:** [June 9, 2008, 12:56pm UTC](https://community.asterisk.org/t/another-100-cpu-usage/21363/1 "2008-06-09T12:56:13Z")

</div>

Hi all,

I just upgraded our pbx from asterisk 1.2.4 (was on debian 3.0) to asterisk 1.4.20 (now on ubuntu 8.04)

Since the upgrade, after a few hours, asterisk begins to use 100 % CPU usage. I’ve searched through the forums for this problem.

All the previous problems seem to be fixed in the asterisk version I use. Maybe I’m wrong. I did all the things the other users reported and it didn’t change a thing for me. Still having a 100 % cpu usage.

The kernel version I’m using is 2.6.24 running on a Intel Xeon 2.8 Ghz with 1 GB of RAM. The kernel is not the stock one with the ubuntu server edition, but a customized one. I’ve setted the timer frequency to 300 HZ and added only related hardware of my server.

Anyone have got this problem?

---

<div class="post-metadata">

**Author:** ![jfirles](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jfirles/32/833_2.png) [@jfirles](https://community.asterisk.org/u/jfirles)\
**Post date:** [June 10, 2008, 1:11pm UTC](https://community.asterisk.org/t/another-100-cpu-usage/21363/2 "2008-06-10T13:11:20Z")

</div>

I have the same problem with asterisk 1.4.19.1 with bristuff patches.

I don’t now if is a hardware problem (interrupts?) or bug in chan\_zap.

---

<div class="post-metadata">

**Author:** ![mudcow007](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@mudcow007](https://community.asterisk.org/u/mudcow007)\
**Post date:** [June 11, 2008, 8:50am UTC](https://community.asterisk.org/t/another-100-cpu-usage/21363/3 "2008-06-11T08:50:35Z")

</div>

we were getting 100% usage it turned out to be mysql once i had killed the process it was fine

this was on ubuntu feisty fawn with \*1.4

---

<div class="post-metadata">

**Author:** ![metis](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@metis](https://community.asterisk.org/u/metis)\
**Post date:** [June 16, 2008, 11:01am UTC](https://community.asterisk.org/t/another-100-cpu-usage/21363/4 "2008-06-16T11:01:28Z")

</div>

Thanks for the advice mudcow007, I’ll try to investigate if it’s a problem with a postgresql process running.

By the way, to all people reading this post.

I just openened an asterisk console and didn’t close it. Since then, I’m not getting a 100% CPU usage. This problem was not supposed to be solved in a prior version?!?!?

Any other advices would be cool.

Thanks
