Page 1 of 2

The server is running a day and got 90% RAM used.

Posted: Mon Jan 30, 2017 5:54 pm
by kudouyuzi
The server is running a day and got 90% RAM used.

Apache PHP Nginx and Mysql are Default Configuration. And stopped run vsftpd spamassassin clamd dovecot and exim.
And running 3 WP sites, 1 is CMS 1 is blog and 1 is web analytics.

Vestacp is 0.9.8-17.

Server is:
CPU: 2*E5-2620v3
RAM: 32GB
Disk: 2TB HDD

Re: The server is running a day and got 90% RAM used.

Posted: Mon Jan 30, 2017 7:03 pm
by skurudo
kudouyuzi wrote:The server is running a day and got 90% RAM used.
Data about RAM from where?
Memory leak? Errors?

It's not this case - www.linuxatemyram.com ?

Re: The server is running a day and got 90% RAM used.

Posted: Mon Jan 30, 2017 7:23 pm
by mehargags
kudouyuzi :

1. What is your OS and Version

2. install htop and send us screenshot of full processlist

3. Send us output of :

Code: Select all

ps -eo size,pid,user,command --sort -size | awk '{ hr=$1/1024 ; printf("%13.2f Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }'

Code: Select all

free -h

Re: The server is running a day and got 90% RAM used.

Posted: Tue Jan 31, 2017 7:03 pm
by kudouyuzi
skurudo wrote:
kudouyuzi wrote:The server is running a day and got 90% RAM used.
Data about RAM from where?
Memory leak? Errors?

It's not this case - http://www.linuxatemyram.com ?
no memory leak no error

This is problem is from after update 0.9.8-17 (The version at the time of installation is 0.9.8-16)

so mysql Default Configuration is?

Code: Select all

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
symbolic-links=0

skip-external-locking
key_buffer_size = 128M
max_allowed_packet = 32M
table_open_cache = 256
sort_buffer_size = 3M
read_buffer_size = 3M
read_rnd_buffer_size = 12M
myisam_sort_buffer_size = 32M
thread_cache_size = 12
query_cache_size= 16M
thread_concurrency = 8

#innodb_use_native_aio = 0
innodb_file_per_table

max_connections=200
max_user_connections=120
wait_timeout=150
interactive_timeout=60
long_query_time=8

#slow_query_log=1
#slow_query_log_file=/var/log/mysql-slow-queries.log


[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d

Re: The server is running a day and got 90% RAM used.

Posted: Tue Jan 31, 2017 7:13 pm
by kudouyuzi
mehargags wrote:kudouyuzi :

1. What is your OS and Version

2. install htop and send us screenshot of full processlist

3. Send us output of :

Code: Select all

ps -eo size,pid,user,command --sort -size | awk '{ hr=$1/1024 ; printf("%13.2f Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }'

Code: Select all

free -h
Image

Re: The server is running a day and got 90% RAM used.

Posted: Tue Jan 31, 2017 8:46 pm
by mehargags
also paste output of

Code: Select all

free -h

Re: The server is running a day and got 90% RAM used.

Posted: Tue Jan 31, 2017 10:16 pm
by flacosa
I have the same problem

You have owncloud installed???

Re: The server is running a day and got 90% RAM used.

Posted: Tue Jan 31, 2017 11:17 pm
by kudouyuzi
flacosa wrote:I have the same problem

You have owncloud installed???
No, this issue from this ver

Re: The server is running a day and got 90% RAM used.

Posted: Wed Feb 01, 2017 6:31 am
by flacosa
And have any solutions?

Re: The server is running a day and got 90% RAM used.

Posted: Wed Feb 01, 2017 12:55 pm
by kudouyuzi
flacosa wrote:And have any solutions?
sorry I have no idea about this problem.