Process asterik sticks to 1 cpu of 4

I have a Asterisk 1.6.2.24 in a virtualized Centos 5.6 server with vmware ESXi . It’s have 4 CPU and 4 GB of RAM.

Asterisk process seems to stick to only one of his CPU (CPU1)

Cpu0 : 1.8%us, 2.3%sy, 0.0%ni, 95.4%id, 0.0%wa, 0.0%hi, 0.5%si, 0.0%st
Cpu1 : 6.2%us, 13.7%sy, 0.0%ni, 67.8%id, 0.0%wa, 1.9%hi, 10.4%si, 0.0%st
Cpu2 : 0.5%us, 2.8%sy, 0.0%ni, 96.3%id, 0.0%wa, 0.0%hi, 0.5%si, 0.0%st
Cpu3 : 0.5%us, 3.2%sy, 0.0%ni, 90.4%id, 5.5%wa, 0.0%hi, 0.5%si, 0.0%st

4406 root 15 0 1507m 227m 8336 S 14.3 5.8 901:44.43 asterisk

taskset -p 4406
pid 4406’s current affinity mask: f

what can I do?

regars

Have you dedicated 4 cores to the Asterisk VM?

What is your Asterisk configuration, particularly with respect to channel technology drivers, and the nature of the traffic

HI,

The cores aren’t dedicated. But the other servers haven’t almost use, two internal web servers.

Aterisk server is to inherited. I don’t know “What is your Asterisk configuration, particularly with respect to channel technology drivers, and the nature of the traffic?”.

The sip trunk witch my provider and clientes are configurated :

disallow=all
allow=alaw,g729

But I had to change it to only alaw, because de CPU 1 up to 100% and we had voice problems, specialy with transcoding.