Извиняюсь незнаю, как поставить спойлер.
cat /etc/my.cnf:
-bash-4.1# cat /etc/my.cnf
[client]
port = 3306
host = localhost
socket = /var/lib/mysql/mysql.sock
[mysqld_safe]
socket = /var/lib/mysql/mysql.sock
nice = 0
[mysqld]
user = mysql
pid-file = /var/lib/mysql/mysqld.pid
socket = /var/lib/mysql/mysql.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp/
skip-external-locking
open_files_limit = 999999
max_connections=500
max_user_connections=100
key_buffer = 128M
max_allowed_packet = 32M
table_cache = 8192
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 1M
myisam_sort_buffer_size = 16M
thread_cache_size = 8
query_cache_size= 16M
delay-key-write = all
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 4
myisam-recover = FORCE
innodb_flush_log_at_trx_commit = 2
innodb_buffer_pool_size = 300Mb
innodb_file_per_table
tmp_table_size = 256M
key_buffer_size = 64M
max_heap_table_size = 64M
transaction-isolation = READ-COMMITTED
innodb_flush_method = O_DIRECT
log_slow_queries = /var/log/mysql/mysql-slow.log
[mysqldump]
quick
quote-names
max_allowed_packet = 64M
[mysql]
[isamchk]
key_buffer = 32M
-bash-4.1# cd
-bash-4.1# cd
-bash-4.1# cat /etc/my.cnf
[client]
port = 3306
host = localhost
socket = /var/lib/mysql/mysql.sock
[mysqld_safe]
socket = /var/lib/mysql/mysql.sock
nice = 0
[mysqld]
user = mysql
pid-file = /var/lib/mysql/mysqld.pid
socket = /var/lib/mysql/mysql.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp/
skip-external-locking
open_files_limit = 999999
max_connections=500
max_user_connections=100
key_buffer = 128M
max_allowed_packet = 32M
table_cache = 8192
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 1M
myisam_sort_buffer_size = 16M
thread_cache_size = 8
query_cache_size= 16M
delay-key-write = all
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 4
myisam-recover = FORCE
innodb_flush_log_at_trx_commit = 2
innodb_buffer_pool_size = 300Mb
innodb_file_per_table
tmp_table_size = 256M
key_buffer_size = 64M
max_heap_table_size = 64M
transaction-isolation = READ-COMMITTED
innodb_flush_method = O_DIRECT
log_slow_queries = /var/log/mysql/mysql-slow.log
[mysqldump]
quick
quote-names
max_allowed_packet = 64M
[mysql]
[isamchk]
key_buffer = 32M
-bash-4.1# ^C
-bash-4.1# history -r
-bash-4.1# htop
-bash-4.1# unset HISTFILE
-bash-4.1# history -c
-bash-4.1# clear
-bash-4.1# cd
-bash-4.1# cat /etc/my.cnf
[client]
port = 3306
host = localhost
socket = /var/lib/mysql/mysql.sock
[mysqld_safe]
socket = /var/lib/mysql/mysql.sock
nice = 0
[mysqld]
user = mysql
pid-file = /var/lib/mysql/mysqld.pid
socket = /var/lib/mysql/mysql.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp/
skip-external-locking
open_files_limit = 999999
max_connections=500
max_user_connections=100
key_buffer = 128M
max_allowed_packet = 32M
table_cache = 8192
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 1M
myisam_sort_buffer_size = 16M
thread_cache_size = 8
query_cache_size= 16M
delay-key-write = all
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 4
myisam-recover = FORCE
innodb_flush_log_at_trx_commit = 2
innodb_buffer_pool_size = 300Mb
innodb_file_per_table
tmp_table_size = 256M
key_buffer_size = 64M
max_heap_table_size = 64M
transaction-isolation = READ-COMMITTED
innodb_flush_method = O_DIRECT
log_slow_queries = /var/log/mysql/mysql-slow.log
[mysqldump]
quick
quote-names
max_allowed_packet = 64M
[mysql]
[isamchk]
key_buffer = 32M
-bash-4.1# ps fauxwww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 19204 1020 ? Ss Oct22 0:00 init
root 2 0.0 0.0 0 0 ? S Oct22 0:00 [kthreadd/129744]
root 3 0.0 0.0 0 0 ? S Oct22 0:00 \_ [khelper/1297446]
root 4 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 5 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 6 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 7 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 8 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 9 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 10 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 11 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 12 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 13 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 14 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 15 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 16 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 17 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 18 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 19 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 20 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 21 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 22 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 23 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 24 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 25 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 26 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 27 0.0 0.0 0 0 ? S Oct22 0:00 \_ [rpciod/12974464]
root 28 0.0 0.0 0 0 ? S Oct22 0:00 \_ [nfsiod/12974464]
root 154 0.0 0.0 10524 476 ? S<s Oct22 0:00 /sbin/udevd -d
root 530 0.0 0.1 183148 1200 ? Sl Oct22 0:01 /sbin/rsyslogd -c 4
named 543 0.0 1.3 238512 13732 ? Ssl Oct22 0:00 /usr/sbin/named -u named
dbus 564 0.0 0.0 21368 572 ? Ss Oct22 0:00 dbus-daemon --system
root 576 0.0 0.1 64244 1052 ? Ss Oct22 0:00 /usr/sbin/sshd
root 21099 0.0 0.4 93844 4292 ? Ss 15:21 0:00 \_ sshd: root@pts/0
root 21103 0.0 0.1 108288 1900 pts/0 Ss 15:21 0:00 \_ -bash
root 21147 0.0 0.1 108148 1068 pts/0 R+ 15:26 0:00 \_ ps fauxwww
root 584 0.0 0.0 22080 728 ? Ss Oct22 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 595 0.0 0.0 52344 768 ? Ss Oct22 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root 630 0.0 0.0 108156 820 ? S Oct22 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --basedir=/usr --user=mysql
mysql 809 0.2 29.2 1392708 307024 ? Sl Oct22 6:42 \_ /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/multidom34.ru.err --open-files-limit=999999 --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock --port=3306
root 839 0.0 0.0 19240 728 ? Ss Oct22 0:00 /usr/sbin/dovecot
dovecot 841 0.0 0.0 12960 772 ? S Oct22 0:00 \_ dovecot/anvil
root 842 0.0 0.0 13088 928 ? S Oct22 0:00 \_ dovecot/log
root 851 0.0 0.0 64432 852 ? Ss Oct22 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
root 852 0.0 0.0 64432 600 ? S Oct22 0:00 \_ /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
exim 865 0.0 0.1 91272 1500 ? Ss Oct22 0:00 /usr/sbin/exim -bd -q1h
root 874 0.0 1.0 330804 10996 ? Ss Oct22 0:05 /usr/sbin/httpd
apache 882 0.0 0.3 218608 3540 ? S Oct22 0:01 \_ /usr/sbin/httpd
apache 1170 0.0 3.8 342672 40676 ? S Oct22 0:01 \_ /usr/sbin/httpd
root 1300 0.0 0.1 41432 1220 ? S Oct22 0:00 | \_ /usr/local/ispmgr/cgi/download
apache 1323 0.0 3.7 341644 39440 ? S Oct22 0:01 \_ /usr/sbin/httpd
root 1427 0.0 0.1 41432 1220 ? S Oct22 0:00 | \_ /usr/local/ispmgr/cgi/download
apache 1353 0.0 3.5 339532 37172 ? S Oct22 0:00 \_ /usr/sbin/httpd
root 1409 0.0 0.1 41432 1220 ? S Oct22 0:00 | \_ /usr/local/ispmgr/cgi/download
apache 1368 0.0 3.4 338620 36604 ? S Oct22 0:00 \_ /usr/sbin/httpd
root 1433 0.0 0.1 41432 1220 ? S Oct22 0:00 | \_ /usr/local/ispmgr/cgi/download
apache 1432 0.0 3.8 342620 40760 ? S Oct22 0:05 \_ /usr/sbin/httpd
root 1693 0.0 0.1 41432 1216 ? S Oct22 0:00 | \_ /usr/local/ispmgr/cgi/download
apache 1557 0.0 3.3 337284 35376 ? S Oct22 0:00 \_ /usr/sbin/httpd
root 1674 0.0 0.1 41432 1224 ? S Oct22 0:00 | \_ /usr/local/ispmgr/cgi/download
apache 21069 1.6 5.8 361852 61812 ? D 15:18 0:08 \_ /usr/sbin/httpd
apache 21072 1.0 5.7 362056 60176 ? S 15:18 0:05 \_ /usr/sbin/httpd
apache 21093 1.4 5.9 362300 62368 ? S 15:20 0:05 \_ /usr/sbin/httpd
apache 21102 0.5 3.6 340268 38128 ? S 15:21 0:01 \_ /usr/sbin/httpd
apache 21110 0.9 5.6 362012 59636 ? S 15:21 0:02 \_ /usr/sbin/httpd
apache 21122 1.5 5.8 361368 60980 ? S 15:22 0:03 \_ /usr/sbin/httpd
apache 21146 0.6 3.8 343064 40800 ? S 15:25 0:00 \_ /usr/sbin/httpd
root 883 0.0 0.1 44952 1088 ? Ss Oct22 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx 886 0.0 0.2 45448 2276 ? S Oct22 0:19 \_ nginx: worker process
root 892 0.0 0.1 117180 1128 ? Ss Oct22 0:01 crond
root 903 0.0 0.0 21416 420 ? Ss Oct22 0:00 /usr/sbin/atd
root 911 0.0 0.0 38100 976 ? Ss Oct22 0:00 /usr/local/ispmgr/sbin/eximquota
root 914 0.0 0.1 39516 1196 ? Ss Oct22 0:00 /usr/local/ispmgr/sbin/ihttpd IP
root 918 0.0 0.0 4052 460 tty1 Ss+ Oct22 0:00 /sbin/mingetty console
root 919 0.0 0.0 4052 460 tty2 Ss+ Oct22 0:00 /sbin/mingetty tty2
root 924 0.0 1.1 610352 11852 ? Sl Oct22 0:07 /usr/local/ispmgr/bin/ispmgr
-bash-4.1#