you could just configure mlocate to ignore different (and large) directories as well -
our sar showing:
00:00:01 cpu %usr %nice %sys %irq %softirq %wait %idle _cpu_
..
sar can report many things - see man 'sar' (simply pasting the output here does not make sense - instead, try to find out whats wrong by generating different reports with sar).
this system is running mysql
mysql appears to be the bad guy
Adaptec Raid Controller 512mb ram Raid 10
Usually, an database does many fsyncs, so it is likely to increase io-load.
Whats the output of (please run when there is no load on the server)
# pveperf
What would be a meaningful sar command that you would like me to run to show stats?
MySQL on localhost (5.0.81-community) up 0+07:34:19 [14:23:45]
Queries: 15.0 qps: 0 Slow: 0.0 Se/In/Up/De(%): 12843467/00/00/00
qps now: 2 Slow qps: 0.0 Threads: 4 ( 1/ 21) 00/00/00/00
Key Efficiency: 98.2% Bps in/out: 0.0/ 1.7 Now in/out: 41.9/ 6.2k
Id User Host/IP DB Time Cmd Query or State
-- ---- ------- -- ---- --- ----------
31875 root localhost mysql 0 Query show full processlist
31827 eximstats localhost eximstats 39 Sleep
31850 firstum1_ localhost firstum1_t 47 Sleep
31843 firstum1_ localhost firstum1_t 51 Sleep
I just ran pveperf twice (20 secs apart) under current load and got the following:
How do you want me to find out about the number of mysql transactions per second?
How do you messure that 1.1 is faster than 1.4?
In our case it is simply user experience.
We have a large amount of users hitting the server requesting websites -
Server load (as you saw on SAR ) is high
finally got a short amount of sleep
You need to run that when there i no load on the server. Else you do not get reliable results.
I am not a mysql expert, sorry. But you complain that the system is slow, so how do you meassure that 'slowness' if you do not know what the system is doing? How do you messure that 1.1 is faster than 1.4?
I understand your frustration but trust me it is even more frustrating for me when our VPS users call in to complain that their server is slow and want a solution right now...
The question is how can we effectively find out what is going on if you have some idea.
And at some point I ran top and kept observing it for a while to see the spikes and was able to see that it seems to have something to do with the mysql processes.