This is Solaris-10 box. I can see disk I/O is high and performance is very very slow for applications running on it. What should I check to fix this issue ?
defunct processes seldom contribute to high IO wait times anyway. (Although they do suggest something is wonky, even Solaris doesn't usually have 18 of those things floating around after such a short uptime (half a year isn't long).
First identify if it's a tuning problem, a rubbish IO subsystem, or a rubbish application.
Is it so slow when the applications are not running? (ie bare OS, nothing else in memory)
Is it slow if you dd a few gigs of /dev/urandom out to a temp file on the disk?
If it's slow even without the app, see if the performance varies between the two disks, look for faults on the slower one if they differ a lot. Look for something wrong with the interface card if it's both the same.
If it's slow when the app runs, try to identify what process is spending all it's time in iowait and start there.
If these are not local disks (ie SAN perhaps), check your block sizes are sensible, exact multiples of each other, check for excessive contention on the fabric switch, yell at your SAN admin some - it's always their fault
Do you have a ORACLE db running on this server? sometimes a badly written SQL query can cause the slowdown especially if you have the table spaces configured on slower internal disks.
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr vc vc -- -- in sy cs us sy id
0 0 0 10794904 3118992 96 1023 193 2 2 0 0 10 0 0 0 555 1430 556 2 5 93
0 0 0 10717432 3083328 0 3 22 0 0 0 0 0 0 0 0 452 165 399 0 1 99
if any of the first two columns are incrementing you are running out of memory and writing to swap.
I was able to fix it with a reboot. Reboot was scheduled for a different issue and post reboot, I do not see this issue anymore. Thanks for your inputs
Not really. The first two columns are the run and blocked thread queue, nothing related to swap issues. Better to monitor the third (wait) and twelfth (scan rate) ones if you suspect this.