Forum Moderators: phranque
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 99G 92G 2.1G 98% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/xvda1 248M 79M 157M 34% /boot
/usr/tmpDSK 3.2G 206M 2.8G 7% /tmp Just curious ... have you run an optimize/compact on your database recently?
Besides, it's a HUGE pain to change servers!
I've kinda gotten a little gun shy over the years. Back in 2006 I had signed on with a cheaper company, but the server was CONSTANTLY going down. At one point, it was down for 2 WEEKS!
What happens if your server dies. Say a dead SSD which cannot be easily fixed?
4GB for a dedicated server, this is really low today..
top - 02:28:06 up 179 days, 44 min, 1 user, load average: 0.03, 0.14, 0.19
Tasks: 168 total, 1 running, 166 sleeping, 0 stopped, 1 zombie
Cpu(s): 2.0%us, 2.9%sy, 0.0%ni, 94.4%id, 0.0%wa, 0.0%hi, 0.5%si, 0.2%st
Mem: 3974360k total, 3930132k used, 44228k free, 41900k buffers
Swap: 2096440k total, 601804k used, 1494636k free, 1281652k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
19979 nobody 20 0 0 0 0 Z 2.6 0.0 0:00.22 [httpd] <defunct>
27358 mysql 20 0 2350m 604m 4492 S 1.3 15.6 1692:54 /usr/sbin/mysqld --
4117 cpanelco 20 0 11540 5188 4336 S 1.0 0.1 17:37.59 /usr/local/cpanel/3
20098 root 20 0 13132 1288 936 R 1.0 0.0 0:00.22 top -c
18034 nobody 20 0 474m 26m 8708 S 0.7 0.7 0:00.80 /usr/sbin/httpd -k
18893 nobody 20 0 407m 25m 7424 S 0.7 0.7 0:00.72 /usr/sbin/httpd -k
19327 nobody 20 0 407m 24m 6612 S 0.7 0.6 0:00.39 /usr/sbin/httpd -k
203 root 20 0 0 0 0 S 0.3 0.0 400:02.54 [kjournald]
1287 root 20 0 18268 424 320 S 0.3 0.0 49:43.22 irqbalance --pid=/v
18125 nobody 20 0 475m 28m 8536 S 0.3 0.7 0:00.69 /usr/sbin/httpd -k
18895 nobody 20 0 407m 24m 7288 S 0.3 0.6 0:00.54 /usr/sbin/httpd -k
19011 nobody 20 0 474m 27m 8428 S 0.3 0.7 0:00.53 /usr/sbin/httpd -k
19016 nobody 20 0 473m 25m 8004 S 0.3 0.7 0:00.50 /usr/sbin/httpd -k
19036 nobody 20 0 407m 25m 7472 S 0.3 0.6 0:00.46 /usr/sbin/httpd -k
19243 nobody 20 0 474m 26m 8040 S 0.3 0.7 0:00.32 /usr/sbin/httpd -k
19244 nobody 20 0 474m 26m 8696 S 0.3 0.7 0:00.40 /usr/sbin/httpd -k >> MySQLTuner 1.3.0 - Major Hayden <major@mhtx.net>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
[OK] Currently running supported MySQL version 5.5.62-cll
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM
[--] Data in MyISAM tables: 8G (Tables: 639)
[--] Data in InnoDB tables: 43M (Tables: 140)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[--] Data in MEMORY tables: 0B (Tables: 2)
[!] Total fragmented tables: 61
-------- Security Recommendations -------------------------------------------
[OK] All database users have passwords assigned
-------- Performance Metrics -------------------------------------------------
[--] Up for: 11d 22h 50m 54s (77M q [75.044 qps], 9M conn, TX: 73B, RX: 8B)
[--] Reads / Writes: 37% / 63%
[--] Total buffers: 1.3G global + 8.4M per thread (150 max threads)
[OK] Maximum possible memory usage: 2.5G (65% of installed RAM)
[OK] Slow queries: 0% (731/77M)
[OK] Highest usage of available connections: 38% (58/150)
[OK] Key buffer size / total MyISAM indexes: 1.0G/5.4G
[OK] Key buffer hit rate: 100.0% (2B cached / 483K reads)
[OK] Query cache efficiency: 62.8% (19M cached / 31M selects)
[!] Query cache prunes per day: 18272
[OK] Sorts requiring temporary tables: 0% (607 temp sorts / 6M sorts)
[OK] Temporary tables created on disk: 3% (245K on disk / 6M total)
[OK] Thread cache hit rate: 99% (219 created / 9M connections)
[OK] Table cache hit rate: 99% (969 open / 976 opened)
[OK] Open file limit used: 14% (1K/10K)
[OK] Table locks acquired immediately: 99% (31M immediate / 31M locks)
[OK] InnoDB buffer pool / data size: 120.0M/43.2M
[OK] InnoDB log waits: 0
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
Variables to adjust:
query_cache_size (> 128M) By the way, I think we should be allowed to name companies/businesses, when they are ultra famous. We do when it comes to Google, Amazon, etc... so why not for big hosts too. This would not be spam.
By the way, I think we should be allowed to name companies/businesses, when they are ultra famous.
Hosting Questions:
Public discussion and/or recommendation of hosting companies is no longer allowed at WebmasterWorld. We are closing the floodgates to get a better handle on the spam that always crops up in hosting discussions.
My "max Apache processes" for the month is 131, so I have the limit set to 150. I have MySQL's max_connections set to 150 to match, but I see that it's only used 58 of them. Maybe I could lower that to save some RAM? But I changed that in 2017, so that wouldn't explain the jump in November 2019.
MEM CMD
8% mysqld
7% php-fpm
3% sshd
3% nginx
1% php
1% atop
1% rsyslogd
0% munin-node
I meant to reply to this one earlier, @JorgeV. Before around November 2019 I was always floating between 3.5 and 4G, so it was high but OK. Then one day, out of the blue, BAM! 8G spike that never really went down. I went back and forth with cPanel and my provider for WEEKS, but no one could ever find an explanation for it.