faisalkhan
(Faisal Khan)
November 21, 2022, 8:43pm
1
Hi all,
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.
faisalkhan
(Faisal Khan)
November 21, 2022, 9:55pm
3
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
dicko
(dicko)
November 21, 2022, 10:01pm
4
something strange here, restart httpd and repost
faisalkhan
(Faisal Khan)
November 21, 2022, 10:04pm
5
[root@voip 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
faisalkhan
(Faisal Khan)
November 21, 2022, 10:06pm
6
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.
dicko
(dicko)
November 21, 2022, 10:06pm
7
Quueris to databases would better be direct and not via http
faisalkhan
(Faisal Khan)
November 21, 2022, 10:07pm
8
yes I am pretty much sure that they are not via http as we have database connection with the server.
dicko
(dicko)
November 21, 2022, 10:09pm
9
Then explore the mysql open connections, you have http connections that should show in the logs though.
dicko
(dicko)
November 21, 2022, 10:16pm
11
ps -o pid,user,%mem,command ax | sort -b -k3 -r
dicko
(dicko)
November 21, 2022, 10:39pm
14
you probably need to take this to the Windoze hyper-v fora.
system
(system)
Closed
December 22, 2022, 10:39pm
15
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.