HIgh Load

Hi All.
In my production server the load is very high.
normally it used to be less than 1,but now it is more than 5.
I am new to unix all together.
I want to know what is the reason behind high load.
and if it is high what is the impact?

You must be running more programs. Try using the "top" command. A load of under 1 is trivial...the box is basicly idle. "Over 5" is a reasonable level to raise the question of "why" and so, yes, you probably should run top and see what is happening. But I wouldn't be super worried just because the load is above 5. "top" will show that state of each cpu...how much idle time do you see? Little idle time means the load is caused by cpu contention. A lot of idle time means the load is probably mostly disk i/o.

You might have some runaway processes, if so, these should be killed. Other than that, you need less jobs to run or a more powerful computer.

This will tell you the 20 biggest CPU consumers on your system.

UNIX95= ps -e -o pcpu -o ruser -o args|sort -nr|grep -v %CPU|head -20

And you will get the top 20 memory process.

UNIX95= ps -e -o "vsz pcpu ruser pid stime time state args" | sort -rn |head -20

That could help you to identify the source of your high system load.

This is a Very Good Script for You

uname -a > /tmp/HP_info
model >> /tmp/HP_info
uptime >> /tmp/HP_info
swlist -l bundle >> /tmp/HP_info
bdf >> /tmp/HP_info
swapinfo -ta >> /tmp/HP_info
cat /etc/fstab >> /tmp/HP_info
lvlnboot -v >> /tmp/HP_info
vgdisplay -v >> /tmp/HP_info
lanscan >> /tmp/HP_info
ioscan -fn >> /tmp/HP_info
cat /etc/inittab >> /tmp/HP_info
dmesg >> /tmp/HP_info
crontab -l >> /tmp/HP_info
swlist -l fileset >> /tmp/HP_info
/usr/bin/top -f /tmp/HP_perf_info
cat /stand/system >> /tmp/HP_perf_info
nohup sar -qM 1 600 > /tmp/HP_perf_info.report &
nohup sar -uM 1 600 > /tmp/HP_perf_info.cpu &
nohup sar -b 1 600 > /tmp/HP_perf_info.buffer &
nohup sar -d 1 600 > /tmp/HP_perf_info.disk &
nohup sar -w 1 600 > /tmp/HP_perf_info.swap &
nohup sar -v 1 600 > /tmp/HP_perf_info.inode &
sysdef >> /tmp/HP_perf_info

Regards,

Awadhesh

Hey Joti ,
please stop few service for a moment and restart it .Most of the time time this trick works.Look especially for the webserver.Check the lof like this

tail -f filename ....... to the what is happinging :stuck_out_tongue: