MRatWork Forum by Mustafa Ramadhan - [Help] Disk Usage Selalu Naik Terus

Sponsor:
Server and Web Integrator
Link:
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:

MRatWork Forum | Please login or register. | 2017-11-08, 00:15:33

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [Help] Disk Usage Selalu Naik Terus

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: [Help] Disk Usage Selalu Naik Terus (Read 1329 times)

0 Members and 1 Guest are viewing this topic.

#### ryanita

- Valuable Member
- Posts: 68
- Karma: +0/-0

##### [Help] Disk Usage Selalu Naik Terus

« on: 2015-03-25, 02:21:34 »
Mohon Bantuannya......Disk Usage Selalu Naik Terus padahala tidak ada penambahan domain ataupun file baru...
berikut sys info
A. Kloxo-MR: 7.0.0.b-2015032202
B. OS: CentOS release 6.6 (Final) i686
C. Apps:
1. MySQL: mysql55-5.5.42-1.ius.el6.i686
2. PHP: php53u-5.3.29-1.ius.el6.i686
3. Httpd: httpd-2.2.29-1.mr.el6.i386
4. Lighttpd: --uninstalled--
5. Hiawatha: hiawatha-9.12.0-f.3.mr.el6.i386
6. Nginx: nginx-1.7.11-1.el6.ngx.i386
7. Cache: --uninstalled--
8. Dns: nsd-4.1.1-2.mr.el6.i386
9. Qmail: qmail-toaster-1.03-1.3.48.mr.el6.i386
- with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
D. Php-type (for Httpd/proxy): php-fpm_event
E. Memory:
total used free shared buffers cached
Mem: 512 485 26 71 0 226
-/+ buffers/cache: 259 252
Swap: 512 98 413
Terimakasih
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [Help] Disk Usage Selalu Naik Terus

« Reply #1 on: 2015-03-25, 03:51:23 »
COba infokan 'dir -l /var/lib/mysql; cat /etc/my.cnf'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### ryanita

- Valuable Member
- Posts: 68
- Karma: +0/-0

##### Re: [Help] Disk Usage Selalu Naik Terus

« Reply #2 on: 2015-03-25, 11:05:35 »
Ini pak...
[root@server ~]# dir -l /var/lib/mysql; cat /etc/my.cnf
total 94276
drwx------ 2 mysql mysql 4096 Apr 5 2014 afterlogic
drwx------ 2 mysql mysql 4096 May 12 2014 horde_groupware
-rw-rw---- 1 mysql mysql 5242880 Mar 25 04:00 ib_logfile0
-rw-rw---- 1 mysql mysql 5242880 Mar 25 03:59 ib_logfile1
-rw-rw---- 1 mysql mysql 85983232 Mar 25 04:00 ibdata1
drwx------ 2 mysql mysql 12288 Mar 24 21:10 kloxo
drwx------ 2 mysql mysql 4096 Feb 27 2014 mp3qu_digital
drwx------ 2 mysql mysql 4096 Mar 17 06:44 mp3qu_fashion
drwx------ 2 mysql mysql 4096 Feb 27 2014 mysql
srwxrwxrwx 1 mysql mysql 0 Mar 24 21:11 mysql.sock
drwx------ 2 mysql mysql 4096 Feb 26 2014 performance_schema
drwx------ 2 mysql mysql 4096 Sep 1 2014 powerdns
drwx------ 2 mysql mysql 4096 Feb 27 2014 roundcubemail
-rw-r----- 1 mysql root 10861 Feb 26 2014 server.mp3qu.com.err
drwx------ 2 mysql mysql 4096 Feb 26 2014 test
drwx------ 2 mysql mysql 4096 Feb 27 2014 vpopmail
## _______________________________________________________________________
## / Rackspace MySQL 5.5 Terse Configuration File \
## | |
## | This is a base configuration file containing the most frequently used |
## | settings with reasonably defined default values for configuring and |
## | tuning MySQL. Note that these settings can likely be further tuned in |
## | order to get optimum performance from MySQL based upon the database |
## | configuration and hardware platform. |
## | |
## | While the settings provided are likely sufficient for most |
## | situations, an exhaustive list of settings (with descriptions) can be |
## | found at: |
## | http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html |
## | |
## | Take care to only add/remove/change a setting if you are comfortable |
## | doing so! For Rackspace customers, if you have any questions or |
## | concerns, please contact the MySQL Database Services Team. Be aware |
## | that some work performed by this team can involve additional billable |
## \ fees. /
## -----------------------------------------------------------------------
## \ ^__^
## \ (oo)\_______
## (__)\ )\/\
## ||----w |
## || ||
[mysqld]
## General
datadir = /var/lib/mysql
tmpdir = /var/lib/mysqltmp
socket = /var/lib/mysql/mysql.sock
skip-name-resolve
sql-mode = NO_ENGINE_SUBSTITUTION
#event-scheduler = 1
## Cache
thread-cache-size = 16
table-open-cache = 4096
table-definition-cache = 2048
query-cache-size = 32M
query-cache-limit = 1M
## Per-thread Buffers
sort-buffer-size = 1M
read-buffer-size = 1M
read-rnd-buffer-size = 1M
join-buffer-size = 1M
## Temp Tables
tmp-table-size = 32M
max-heap-table-size = 64M
## Networking
back-log = 100
#max-connections = 200
max-connect-errors = 10000
max-allowed-packet = 16M
interactive-timeout = 3600
wait-timeout = 600
### Storage Engines
#default-storage-engine = InnoDB
innodb = FORCE
## MyISAM
key-buffer-size = 64M
myisam-sort-buffer-size = 128M
## InnoDB
#innodb-buffer-pool-size = 128M
#innodb-log-file-size = 100M
#innodb-log-buffer-size = 8M
#innodb-file-per-table = 1
#innodb-open-files = 300
## Replication
server-id = 1
#log-bin = /var/log/mysql/bin-log
#relay-log = /var/log/mysql/relay-log
relay-log-space-limit = 16G
expire-logs-days = 7
#read-only = 1
#sync-binlog = 1
#log-slave-updates = 1
#binlog-format = STATEMENT
#auto-increment-offset = 1
#auto-increment-increment = 2
## Logging
#log-output = FILE
#slow-query-log = 1
#slow-query-log-file = /var/log/mysql/slow-log
#log-slow-slave-statements
#long-query-time = 2
[mysqld_safe]
log-error = /var/log/mysqld.log
open-files-limit = 65535
[mysql]
no-auto-rehash
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [Help] Disk Usage Selalu Naik Terus

« Reply #3 on: 2015-03-25, 11:57:21 »
Wah, saya pikir mysql anda penyebabnya. Coba:
Code: [Select]

    find /home/ -type f -printf '%s %p\n'| sort -nr | head -10
    find /var/log/ -type f -printf '%s %p\n'| sort -nr | head -10
    find /tmp/ -type f -printf '%s %p\n'| sort -nr | head -10

Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### ryanita

- Valuable Member
- Posts: 68
- Karma: +0/-0

##### Re: [Help] Disk Usage Selalu Naik Terus

« Reply #4 on: 2015-03-25, 13:13:44 »
ini hasilnya pak...
[root@server ~]# find /home/ -type f -printf '%s %p\n'| sort -nr | head -10
108052480 /home/admin/mp3qu.com/fashionschooldesign.com/wp-snapshots/52c21c25398c79548_20131231_fashionstyle_package.zip.pUCNVK
90997413 /home/admin/__processed_stats/mp3qu.com-custom_log-4
90033137 /home/admin/__processed_stats/mp3qu.com-error_log-7
89288325 /home/admin/__processed_stats/mp3qu.com-error_log-6
89172376 /home/admin/__processed_stats/twiid.com-custom_log-16
88719766 /home/admin/__processed_stats/mp3qu.com-error_log-13
88581778 /home/admin/__processed_stats/twiid.com-custom_log-22
88418451 /home/admin/__processed_stats/twiid.com-custom_log-19
85715192 /home/admin/__processed_stats/twiid.com-custom_log-18
85356309 /home/admin/__processed_stats/twiid.com-custom_log-23
[root@server ~]# find /var/log/ -type f -printf '%s %p\n'| sort -nr | head -10
3792439745 /var/log/nginx/access.log
2147483647 /var/log/hiawatha/access.log
738838272 /var/log/btmp
488923409 /var/log/secure
106027071 /var/log/messages
52059261 /var/log/hiawatha/system.log
46863248 /var/log/php53s-error.log
9138777 /var/log/nginx/access.log-20140829.gz
8559117 /var/log/nginx/access.log-20140820.gz
8282789 /var/log/nginx/access.log-20140827.gz
[root@server ~]# find /tmp/ -type f -printf '%s %p\n'| sort -nr | head -10
9306112 /tmp/nginx/7/20/0057044207
8519680 /tmp/nginx/8/16/0057044168
5373952 /tmp/nginx/9/17/0054218179
4872674 /tmp/mebackupGbNJxf/mebackup.dump
4865128 /tmp/mebackupz9JurN/mebackup.dump
4857686 /tmp/mebackup36lewo/mebackup.dump
4850140 /tmp/mebackupmTnZaZ/mebackup.dump
4842586 /tmp/mebackupnvdhM7/mebackup.dump
4835032 /tmp/mebackupl0E3vT/mebackup.dump
4827478 /tmp/mebackupY6EF3u/mebackup.dump
bagaimana cara membuat normala lagi pak...
Terimakasih...
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [Help] Disk Usage Selalu Naik Terus

« Reply #5 on: 2015-03-25, 13:37:13 »
Yang besar adalah file /var/log/nginx/access.log dan /var/log/hiawatha/access.log. Hapus saja.
Bisa jadi yang membuat hdd terpakai bukan file besar tapi file kecil yang banyak. Biasanya file cache, log atau tmp.
Coba saja telusuri di /tmp dan /home
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### ryanita

- Valuable Member
- Posts: 68
- Karma: +0/-0

##### Re: [Help] Disk Usage Selalu Naik Terus

« Reply #6 on: 2015-03-25, 13:51:55 »
Ok pak sudah saya Hapus semua dan HDD sudah kembali Normal...
Terima kasih pak....
Logged

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [Help] Disk Usage Selalu Naik Terus

Top 4 Global Search Engines: Google Bing Baidu Yahoo

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.039 seconds with 17 queries.

Mirror created by MasterkinG32.CoM