I am facing a strange problem. we have optimized our server with 32 GB RAM, 12 Core Processor.
Asterisk is going 100% plus on normal routine calls and on random occasions it hits 200% processor usage.
Output of a top command.
It started utilizing the ram with 12GB but now it’s acquired the whole 32 GB Ram as well.
This is the load of all the servers.
Please suggest as my whole production is affecting due to this.
Suddenly asterisk stops the calls and every other process even it disconnects the extensions as well.
Need some Expert advice.
PID TTY TIME CMD
21644 ? 00:00:10 httpd
21740 ? 00:00:16 httpd
21895 ? 00:00:04 httpd
22160 ? 00:00:04 httpd
22334 ? 00:00:03 httpd
22414 ? 00:00:08 httpd
22459 ? 00:00:12 httpd
23014 ? 00:00:03 httpd
23066 ? 00:00:06 httpd
23110 ? 00:00:03 httpd
23233 ? 00:00:07 httpd
23348 ? 00:00:18 httpd
23542 ? 00:00:11 httpd
23582 ? 00:00:07 httpd
23726 ? 00:00:19 httpd
24418 ? 00:00:07 httpd
24531 ? 00:00:04 httpd
29940 pts/0 01:05:46 asterisk
129746 ? 00:00:34 httpd
something strange here, restart httpd and repost
[[email protected] 11]# ps -u asterisk
PID TTY TIME CMD
29940 pts/0 01:10:14 asterisk
45223 ? 00:00:00 httpd
45224 ? 00:00:00 httpd
45225 ? 00:00:00 httpd
45226 ? 00:00:00 httpd
45227 ? 00:00:00 httpd
45228 ? 00:00:00 httpd
45229 ? 00:00:00 httpd
45230 ? 00:00:00 httpd
We have a portal which is connected to our this Linux machine and time to time users process calling reports and execute multiple queries from database for Call Reports and other analysis.
But the server is on separate windows machine . do you think that will create some sort of load on the server
if you see the ram
Mem: 32863532k total, 32639324k used, 224208k free, 208364k buffers
at the beginning of the production hours it was only 12GB used but now it’s totally occupied
32 GB occupied why ?
24 total calls with 48 channels.
Quueris to databases would better be direct and not via http
yes I am pretty much sure that they are not via http as we have database connection with the server.
Then explore the mysql open connections, you have http connections that should show in the logs though.
ps -o pid,user,%mem,command ax | sort -b -k3 -r
you probably need to take this to the Windoze hyper-v fora.