Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

V15 SP4 Linux maxes out cpu

Discussion in '3CX Phone System - General' started by 604, Dec 14, 2016.

Thread Status:
Not open for further replies.
  1. 604

    604

    Joined:
    Aug 1, 2016
    Messages:
    12
    Likes Received:
    1
    I'm running 3cx in a Hyper-V VM, and since updating to SP4, I've noticed at some point in the day, the cpu usage spikes and maxes out:

    top - 16:44:58 up 9:08, 1 user, load average: 3.01, 2.36, 2.16
    Tasks: 97 total, 1 running, 96 sleeping, 0 stopped, 0 zombie
    %Cpu(s): 78.4 us, 21.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
    KiB Mem: 499460 total, 458708 used, 40752 free, 16936 buffers
    KiB Swap: 477180 total, 37652 used, 439528 free. 198628 cached Mem

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    877 phonesy+ 20 0 3188380 50964 26384 S 58.9 10.2 61:15.49 TcxQMsrv
    850 phonesy+ 20 0 747836 9108 6060 S 29.6 1.8 43:54.84 3CXPbxServer
    165 root 20 0 28872 4156 4012 S 6.0 0.8 0:06.71 systemd-jou+
    471 root 20 0 258672 3152 2008 S 3.7 0.6 0:04.02 rsyslogd
    3 root 20 0 0 0 0 S 0.7 0.0 0:48.09 ksoftirqd/0
    8460 phonesy+ 20 0 724012 13520 7696 S 0.3 2.7 0:00.02 3CXMediaSer+
    1 root 20 0 28616 3888 2620 S 0.0 0.8 0:00.77 systemd

    I tried restarting the system server and queue manager server but once they stop they will not start again.
    What service is "3CXPbsServer" that I can try to restart it?
    My only solution now is to restart the entire server. This is on top of the temporary daily reboot workaround that supposedly keeps the crash/fsck at bay.
     
  2. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    7,396
    Likes Received:
    535
    Hello there,
    The service is 3CXPhoneSystem01 and is part of the SIP server. You can restart with "service 3CXPhoneSystem01 restart"
    you can also restart everything 3CX related with
    service nginx stop
    service 3CX* stop
    service postgresql stop

    and then

    service postgresql start
    service 3CX* start
    service nginx start

    Also can you please tell us what the specs of your machine are?
    Is this happening often? When it happens does the system crash?
    Is there a lot of traffic in the system? we can see that queue manager also has high cpu usage.
    Does this happen when there is a lot of traffic?
     
  3. MichaelB

    MichaelB Member
    3CX Support

    Joined:
    Aug 25, 2009
    Messages:
    407
    Likes Received:
    8
    Could you send me a pm so we discuss about this.
    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.