Hi everyone!
I have a vps that has 2 gb of ram. i install ubuntu 14.04 64bit in there and then install sentora
i only have 1 website run on sentora
My problem is my vps use up to 90% of ram, i have another vps running the same configuration too but it just take like 300mb of ram, while this one take up like 1.5 - 1.8 gb
I try to restart it and watch htop, it stays within 300mb of ram for 10 mins then suddenly it races to 1.5 gb like crazy, eventhough at that time no one do anything, not even access the site
Have any one face any problem like that before?
Is there a way to fix it?
Any suggestions is highly appriciated!
Use the top command to check which process uses most RAM.
Are you using the "free" command?
Are you sure this isn't your issue?
http://www.linuxatemyram.com/
i did use htop and free -m to monitor, but i just found out ( i'm still monitoring it) if i change the sentora theme back to it's default then the ram seem to be normal again ( aroudn 300 mb) but if i use zentora (very attractive theme) then it's gona kill my Ram again
Anyone has the same issuse?
Using my own theme:
Code:
root@server1:~# free -m
total used free shared buffers cached
Mem: 490 253 236 5 17 118
-/+ buffers/cache: 116 373
Swap: 0 0 0
Using Zentora:
Code:
root@server1:~# free -m
total used free shared buffers cached
Mem: 490 267 222 6 18 122
-/+ buffers/cache: 126 363
Swap: 0 0 0
Using default:
Code:
root@server1:~# free -m
total used free shared buffers cached
Mem: 490 273 216 6 18 123
-/+ buffers/cache: 131 358
Swap: 0 0 0
So yes, the RAM drops a little when using the default theme, but that 20-30MB shouldn't matter....
(06-12-2015, 01:50 AM)Rick Wrote: [ -> ]Using my own theme:
Code:
root@server1:~# free -m
total used free shared buffers cached
Mem: 490 253 236 5 17 118
-/+ buffers/cache: 116 373
Swap: 0 0 0
Using Zentora:
Code:
root@server1:~# free -m
total used free shared buffers cached
Mem: 490 267 222 6 18 122
-/+ buffers/cache: 126 363
Swap: 0 0 0
Using default:
Code:
root@server1:~# free -m
total used free shared buffers cached
Mem: 490 273 216 6 18 123
-/+ buffers/cache: 131 358
Swap: 0 0 0
So yes, the RAM drops a little when using the default theme, but that 20-30MB shouldn't matter....
The differences are hardly theme related.
These are normal variations...
Yes, but when I use Sentora's default theme, I still only use 1/4 of my total RAM. He says 1.5-1.8 of his 2GB. That's not regular. Are you running something next to Sentora? Teamspeak, gameserver, VPN, whatever?
(06-12-2015, 02:25 AM)Rick Wrote: [ -> ]Yes, but when I use Sentora's default theme, I still only use 1/4 of my total RAM. He says 1.5-1.8 of his 2GB. That's not regular. Are you running something next to Sentora? Teamspeak, gameserver, VPN, whatever?
Unless he decides to post more information we can't do anything more than to guess.
I'm not sure about what values he read...
Anyways, unles the theme is really bad coded, it should not make difference, almost none if any.
@[rainy] can you post the free -m results (like @[Rick] did)?
Also post the htop ones.
(06-12-2015, 04:31 AM)apinto Wrote: [ -> ] (06-12-2015, 02:25 AM)Rick Wrote: [ -> ]Yes, but when I use Sentora's default theme, I still only use 1/4 of my total RAM. He says 1.5-1.8 of his 2GB. That's not regular. Are you running something next to Sentora? Teamspeak, gameserver, VPN, whatever?
Unless he decides to post more information we can't do anything more than to guess.
I'm not sure about what values he read...
Anyways, unles the theme is really bad coded, it should not make difference, almost none if any.
Actually, I couldn't image how a theme could ever use a shitload of RAM. Only for gettings the file and transmitting it. The file itself is compiled by the browser, client-side...
As you've said, he has to give more info. Else we are not able to help you.
Hi everyone! first of all thank you for your support!
Here is my server info.
It's a VPS runnung ubutu 14.04 64bit, i installed the OS then right away install Sentora, i intended to use it for production so no other services installed there but Sentora's required services
here are my info of the Free -m and the Htop command
root@panel:~# free -m
total used free shared buffers cached
Mem: 2001 1890 111 33 51 217
-/+ buffers/cache: 1621 380
Swap: 2043 0 2043
1 [ 0.0%] Tasks: 45, 26 thr; 1 running
2 [#* 1.3%] Load average: 0.00 0.01 0.05
Mem[||||||||||||||||||||||||||||||||||||||||||||1622/2001MB] Uptime: 02:22:20
Swp[| 0/2043MB]
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
3826 root 20 0 24636 2220 1444 R 1.3 0.1 0:00.19 htop
1010 mysql 20 0 737M 82068 3708 S 0.0 4.0 0:14.41 /usr/sbin/mysqld
1070 mysql 20 0 737M 82068 3708 S 0.0 4.0 0:00.33 /usr/sbin/mysqld
1328 root 20 0 91768 4096 3200 S 0.0 0.2 0:11.29 /usr/sbin/vmtoolsd
1 root 20 0 33340 2516 1272 S 0.0 0.1 0:06.12 /sbin/init
353 root 20 0 19472 652 464 S 0.0 0.0 0:00.20 upstart-udev-bridge --daemon
359 root 20 0 51228 1528 952 S 0.0 0.1 0:00.08 /lib/systemd/systemd-udevd --daemon
420 syslog 20 0 249M 3272 676 S 0.0 0.2 0:00.02 rsyslogd
421 syslog 20 0 249M 3272 676 S 0.0 0.2 0:00.14 rsyslogd
422 syslog 20 0 249M 3272 676 S 0.0 0.2 0:00.05 rsyslogd
419 syslog 20 0 249M 3272 676 S 0.0 0.2 0:00.23 rsyslogd
445 root 20 0 15272 696 416 S 0.0 0.0 0:00.08 upstart-file-bridge --daemon
588 root 20 0 15256 624 404 S 0.0 0.0 0:00.05 upstart-socket-bridge --daemon
904 root 20 0 14536 908 748 S 0.0 0.0 0:00.00 /sbin/getty -8 38400 tty4
913 root 20 0 14536 904 748 S 0.0 0.0 0:00.00 /sbin/getty -8 38400 tty5
920 root 20 0 14536 904 748 S 0.0 0.0 0:00.00 /sbin/getty -8 38400 tty2
921 root 20 0 14536 908 748 S 0.0 0.0 0:00.00 /sbin/getty -8 38400 tty3
925 root 20 0 14536 912 748 S 0.0 0.0 0:00.00 /sbin/getty -8 38400 tty6
950 root 20 0 61364 3072 2392 S 0.0 0.1 0:00.08 /usr/sbin/sshd -D
951 root 20 0 17772 1488 1192 S 0.0 0.1 0:00.06 /usr/sbin/dovecot -F -c /etc/dovecot/dovecot.conf
952 daemon 20 0 19136 168 0 S 0.0 0.0 0:00.00 atd
953 root 20 0 23652 1056 800 S 0.0 0.1 0:00.03 cron
960 root 20 0 4364 668 528 S 0.0 0.0 0:00.00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
998 root 20 0 19284 820 544 S 0.0 0.0 0:02.16 /usr/sbin/irqbalance
1063 mysql 20 0 737M 82068 3708 S 0.0 4.0 0:01.14 /usr/sbin/mysqld
1064 mysql 20 0 737M 82068 3708 S 0.0 4.0 0:00.53 /usr/sbin/mysqld
1065 mysql 20 0 737M 82068 3708 S 0.0 4.0 0:00.61 /usr/sbin/mysqld
1066 mysql 20 0 737M 82068 3708 S 0.0 4.0 0:00.30 /usr/sbin/mysqld
1067 mysql 20 0 737M 82068 3708 S 0.0 4.0 0:00.30 /usr/sbin/mysqld
As you can see, i reboot it and after less than 2 hours it races to 1622 MB of ram.
Please give me some ideas to troubleshoot it, if u need some logs please let me know ( please tell me which command to get the log too! , coz im tottally new in ubuntu and sentora)
Thank you!