1846556 Members
1605 Online
110256 Solutions
New Discussion

Wait reason --- Disk

 
Jack Fan
Regular Advisor

Wait reason --- Disk

All,
I encounter a problem, can you help me? I run job by crontab that will broadcast every morning. But it can not finish, and symptom as below,
1. command wall, PPID = 1
2. wait reason : disk

I also capture screen as below. FYI!!

FD File Name Type Mode Count Offset
--------------------------------------------------------------------------------
0 /dev/null chr read 1 0
1 reg write 2 21
2 reg write 2 21
3 unix /var/spool/sockets/pwgr/client25592 socket rd/wr 1 0
4 /etc/utmp reg rd/wr 1 36360
5 unknow read 1 0





I don't know, what is it wait for. Since early, my server have more "wall" process is waiting now , these also consume disk queue and CPU.
Regards,
Jack Fan
2 REPLIES 2
Michael Tully
Honored Contributor

Re: Wait reason --- Disk

Hi,

What information is in the 'root' mailbox. This can actually provide vital information. What exactly is your script attempting to do and where does the output you have provided get logged? Is there any information is the system log (/var/adm/syslog/syslog.log)

I assisted you with this posting earlier today and I am sure that the problem is now solved. Please do the right thing and assign the appropriate points. People help others in the forums using their own free time and resources.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x02338f960573d611abdb0090277a778c,00.html

Michael
Anyone for a Mutiny ?
Jack Fan
Regular Advisor

Re: Wait reason --- Disk

Michael,
You are right. But my friend told me that may not "Zombie process". He make me confuse, so I fork another thread want to know and clear rooe cause. I just do my best to solve problem, also very appreciate your support. However, can you help me again to clarify the root cause. I don't know what can I do?

below is my crontab, there are two entry for broadcast message to all user for close ERP system.
50 00 * * * /usr/sbin/wall /xxx/5
# Give warning message to user for close system
59 00 * * * /usr/sbin/wall /xxx/1
# Give warning message to user for close system

file 1 & 5 contains simple ascii. I without any complex scripts, just broadcast by "wall" command.