runaway compress process

From: Mustapa Fadzly-r52428 (Fadzly@freescale.com)
Date: Sun May 08 2005 - 22:53:10 EDT


Greetings Sunmanagers,

I frequently has a problem on my Ultra-2 system running Solaris 2.6. This
happens once or twice a week on multiple system with similar configuration
as mentioned.

I have a script that compresses some data files before transfering (mv) via
nfs mounts. Once or twice a week, the compress process will consume 90% of
cpu utilization but does nothign for hours. No data files are compress, I
only get a zero byte file. The data files to be compressed are less than 4
MB in size.

I've checked that the script runs without problem , it was waiting for
compress command to finish before resuming to the next line. What could
cause this from happening?

Thank you so much.

-Fadzly

eg as follows.

server% ps -ef|grep compress
    prod 5952 1196 93 13:18:15 ? 173:58 compress data_file_name.dat

server : /data_files> ls -rtl
-rw-r--r-- 1 prod ftprod 0 May 6 13:18 data_file_name.dat.Z
-rw-r--r-- 1 prod ftprod 90237 May 6 13:18 data_file_name.dat

server : /data_files> sar 1 5

SunOS server 5.6 Generic_105181-15 sun4u 05/06/05

16:40:43 %usr %sys %wio %idle
16:40:44 93 7 0 0
16:40:45 98 2 0 0
16:40:46 100 0 0 0
16:40:47 100 0 0 0
16:40:48 100 0 0 0

Average 98 2 0 0

PID %CPU %MEM COMMAND
5952 95.2 0.4 compress
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:40 EDT