Swap Memory use high

VitalPBX Community Support General Discussion Swap Memory use high

  • Post
    DannyLarsen
    Participant
    none

    I have a new server V 2.0.5-5

    Swap memory continues to rise up to 90% but ram use is low, looks like it may be associated with mysql but I’m not sure

    Can you help

    Thanks

    0
Viewing 11 replies - 1 through 11 (of 11 total)
  • Replies
    Up
    0
    Down

    What other apps are you using?

    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    I had installed fop2 through yum but I removed it and it didn’t help. There are no other apps other than the VitalPBX

    0
    Up
    0
    Down

    What’s the output of the following command:

    ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 20
    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    [root@hi2 ~]# ps aux | awk ‘{print $2, $4, $11}’ | sort -k2rn | head -n 20
    1055 1.1 /usr/share/ombutel/monitor/vpbx
    1248 0.6 /usr/sbin/httpd
    1241 0.5 /usr/sbin/httpd
    868 0.4 /usr/libexec/mysqld
    1234 0.3 /usr/sbin/httpd
    21998 0.3 sshd:
    22238 0.3 sshd:
    1054 0.2 /usr/sbin/fop2_server
    22089 0.2 /usr/sbin/abrt-dbus
    574 0.2 /usr/sbin/asterisk
    908 0.2 /usr/bin/python2
    1 0.1 init
    22005 0.1 /usr/libexec/openssh/sftp-server
    22245 0.1 -bash
    443 0.1 /usr/lib/polkit-1/polkitd
    71 0.1 /usr/lib/systemd/systemd-journald
    1245 0.0 /usr/sbin/httpd
    1249 0.0 /usr/sbin/httpd
    127 0.0 /usr/bin/dbus-daemon
    129 0.0 /usr/sbin/smartd

    0
    Up
    0
    Down

    Try with this:

    ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head
    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    PID PPID CMD %MEM %CPU
    1309 1 /usr/share/ombutel/monitor/ 1.0 3.8
    13503 565 /usr/sbin/httpd -DFOREGROUN 0.4 0.0
    705 565 /usr/sbin/httpd -DFOREGROUN 0.4 0.0
    13538 565 /usr/sbin/httpd -DFOREGROUN 0.4 0.0
    702 565 /usr/sbin/httpd -DFOREGROUN 0.3 0.0
    703 565 /usr/sbin/httpd -DFOREGROUN 0.3 0.0
    1117 618 /usr/libexec/mysqld –based 0.3 0.0
    5598 1 /usr/sbin/abrt-dbus -t133 0.3 0.0
    5573 567 sshd: root@pts/1 0.3 0.1

    0
    Up
    0
    Down

    I don’t see any strange behavior or an app with high cpu/memory usage

    0
    Up
    0
    Down

    Try to execute the following command to clear the swap memory:

    swapoff -a && swapon -a
    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    Yes it’s just the swap goes up and up

    I rebooted to test and its back up to 50% on the dashboard after 20 minutes, so far I’ve seen it cimbs to about 90%

    Top command shows KiB Swap: 524288 total, 282200 free,

    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    Just wanted to let you know this issue ended up being something at the vps provider

    So the problem is resolved

    Thank you

    0
    Up
    0
    Down

    Thanks for share!! 

    0
Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.