Re: [expert] Mandy Locks Up on simple tar!

2003-02-24 Thread Tru64 User
Thanks for the response. 
I will switch to a new disk today. What i have been
doing is saving/making a full system backup to a scsi
disk (sda1).
Then when the main disk fails, I simply restore from
sda1. It has worked so well in the past, only this
time I cant restore the same saved filesets (/, /usr)
cause the system locks up before I finish the restore
process.

If I dont perform any tar process, the system works OK
for number of days, as Memory used keeps climbing.
When Mem used==Mem Avail, the system locks up again,
until a reboot. 
PS and top both have not been able to show me what is
eating up all the memory. Mind u, this box has 2GB
worth of it, and it is doing nothing more than being a
NFS server!!
I will update of performance after disk switch, but if
there anymore hints, they are welcomed (B4 i throw it
out-tha-window!!)

_Thanks ALL, and esp. civilme!
--- civileme [EMAIL PROTECTED] wrote:
 On Friday 21 February 2003 05:28 pm, James
 Sparenberg wrote:
  Sounds like your first problem and this problem
 could be somehow
  connected but not sure how.
 
  2 questions Can you do the tar in smaller
 pieces. (it could be a
  single fuzzed up file or sector on the HDD is
 causing the problem
  read/write there is hanging the box.  If so, doing
 it in smaller bits
  will help you locate it.  You can always tar a
 group of tars later.
 
  If you don't want to or can't do smaller pieces
 try tar -cvvf etc etc
  etc.  tarout.txt.  This will give you a visual of
 what is happening as
  the tar is going along.  Then when the box hangs
 You'll know the
  suspect file.  It will be the last one the box was
 able to write to the
  tarout.txt file.
 
  James
 
  On Fri, 2003-02-21 at 12:19, Tru64 User wrote:
   Mandy 9.0, 2GB RAM, 500MB swap, Dual Xeon 2.4Ghz
   CPU...locks up on a simple tar
   Then i only have to reboot. Thats the only thing
 i can
   do!!
  
   Can't figure out whats causing it!! What can be
   causing this?? tar is for a 5GB directory
 (largest
   file mandrake iso 650Mb), on a RAID array , sda,
 local
   to this server.
  
   Results of vmstat::
  
  
   cere@/home$ vmstat 2 20
  procs  memoryswap
   io system cpu
r  b  w   swpd   free   buff  cache  si  so   
 bi
   bo   incs  us  sy  id
0  1  0996   7364  76940 1869576   0   0   
 83
   66   6993   0   3  97
1  0  0996   7308  76940 1869628   0   0
 13324
   1280  480   932   0  27  73
3  0  4996   9484  76756 1867620   0   0
 19164
   148216 22974  9176   0  50  50
0  1  1   1252  10372  76804 1867336   0 402
 18788
   504  515  1270   0  22  78
2  0  2   1508  10472  76912 1867544   0   0
 21652
   1262  589  1349   0  25  75
1  0  0   1508  10304  76792 1867784   0   0
 21526
0  383  1294   1  12  87
0  1  0   1508  10428  76792 1867688   0   0
 20180
0  399  1238   0  13  87
0  1  0   1508  10364  76784 1867780   0   0
 14414
   1220  462   971   0  28  72
1  0  0   1508  10356  76784 1867788   0   0
 21078
0  376  1227   0  12  88
2  0  1   1508  10104  75136 1869820   0   0
 14028
   1280  450   882   0  26  74
4  1  2   1508  11828  75112 1868268   0   0 
 8008
   51226 7991  3106   0  50  50
2  1  2   1508   9380  75280 1870516   0   0
 12724
   97310 15090  6304   0  50  50
0  1  0   1508   9556  75288 1870356   0   0
 18112
   104  420  1230   0  13  86
0  1  2   1508   9064  75436 1870628   0   0
 18322
   1294  429  1189   0  11  89
  
  
  
   Output of PS::
  
  
3:06pm  up  4:10,  3 users,  load average:
 3.95,
   3.89, 2.62
   75 processes: 73 sleeping, 2 running, 0 zombie,
 0
   stopped
   CPU states:  0.0% user, 39.4% system, 33.1%
 nice,
   61.2% idle
   Mem:  2063808K av, 2056416K used,   7392K free,
   0K shrd,  78872K buff
   Swap: 554200K av,   2660K used, 551540K free
1864368K cached
  
 PID USER PRI  NI  SIZE  RSS SHARE STAT N#
 %CPU
   %MEM   TIME COMMAND
   3 root  20  19 00 0 RWN   0
 33.1
   0.0   3:47 ksoftirqd_CPU0
4044 root   9   0  2008 2008  1640 S 0 
 1.6
   0.0   0:03 sshd
   7 root  12   0 00 0 DW0 
 1.2
   0.0   0:37 kupdated
1937 root   7 -10 24668  15M  2144 S0 
 0.8
   0.7   1:06 X
3842 root  10   0  9992 9992  8452 S 0 
 0.6
   0.4   0:07 kdm_greet
  20 root  10   0 00 0 SW0 
 0.4
   0.0   0:04 memsorter
   5 root   9   0 00 0 SW0 
 0.3
   0.0   0:58 kswapd
2238 root   9   0  1576 1576  1464 S 0 
 0.3
   0.0   0:00 httpd
   1 root  10   0   484  484   420 S 0 
 0.1
   0.0   0:05 init
  15 root  10   0 00 0 SW0 
 0.1
   0.0   0:00 kreiserfsd
  19 root   9   0 00 0 SW0 
 0.1
   0.0   0:29 oM_infoD
3190 root  10   0  2236 2236  1312 S 0 
 0.1
   0.1   0:24 cupsd
4121 mollel10   0   904  904   716 R 0 
 0.1
   0.0   0:03 

Re: [expert] Mandy Locks Up on simple tar!

2003-02-22 Thread civileme
On Friday 21 February 2003 05:28 pm, James Sparenberg wrote:
 Sounds like your first problem and this problem could be somehow
 connected but not sure how.

 2 questions Can you do the tar in smaller pieces. (it could be a
 single fuzzed up file or sector on the HDD is causing the problem
 read/write there is hanging the box.  If so, doing it in smaller bits
 will help you locate it.  You can always tar a group of tars later.

 If you don't want to or can't do smaller pieces try tar -cvvf etc etc
 etc.  tarout.txt.  This will give you a visual of what is happening as
 the tar is going along.  Then when the box hangs You'll know the
 suspect file.  It will be the last one the box was able to write to the
 tarout.txt file.

 James

 On Fri, 2003-02-21 at 12:19, Tru64 User wrote:
  Mandy 9.0, 2GB RAM, 500MB swap, Dual Xeon 2.4Ghz
  CPU...locks up on a simple tar
  Then i only have to reboot. Thats the only thing i can
  do!!
 
  Can't figure out whats causing it!! What can be
  causing this?? tar is for a 5GB directory (largest
  file mandrake iso 650Mb), on a RAID array , sda, local
  to this server.
 
  Results of vmstat::
 
 
  cere/home$ vmstat 2 20
 procs  memoryswap
  io system cpu
   r  b  w   swpd   free   buff  cache  si  sobi
  bo   incs  us  sy  id
   0  1  0996   7364  76940 1869576   0   083
  66   6993   0   3  97
   1  0  0996   7308  76940 1869628   0   0 13324
  1280  480   932   0  27  73
   3  0  4996   9484  76756 1867620   0   0 19164
  148216 22974  9176   0  50  50
   0  1  1   1252  10372  76804 1867336   0 402 18788
  504  515  1270   0  22  78
   2  0  2   1508  10472  76912 1867544   0   0 21652
  1262  589  1349   0  25  75
   1  0  0   1508  10304  76792 1867784   0   0 21526
   0  383  1294   1  12  87
   0  1  0   1508  10428  76792 1867688   0   0 20180
   0  399  1238   0  13  87
   0  1  0   1508  10364  76784 1867780   0   0 14414
  1220  462   971   0  28  72
   1  0  0   1508  10356  76784 1867788   0   0 21078
   0  376  1227   0  12  88
   2  0  1   1508  10104  75136 1869820   0   0 14028
  1280  450   882   0  26  74
   4  1  2   1508  11828  75112 1868268   0   0  8008
  51226 7991  3106   0  50  50
   2  1  2   1508   9380  75280 1870516   0   0 12724
  97310 15090  6304   0  50  50
   0  1  0   1508   9556  75288 1870356   0   0 18112
  104  420  1230   0  13  86
   0  1  2   1508   9064  75436 1870628   0   0 18322
  1294  429  1189   0  11  89
 
 
 
  Output of PS::
 
 
   3:06pm  up  4:10,  3 users,  load average: 3.95,
  3.89, 2.62
  75 processes: 73 sleeping, 2 running, 0 zombie, 0
  stopped
  CPU states:  0.0% user, 39.4% system, 33.1% nice,
  61.2% idle
  Mem:  2063808K av, 2056416K used,   7392K free,
  0K shrd,  78872K buff
  Swap: 554200K av,   2660K used, 551540K free
   1864368K cached
 
PID USER PRI  NI  SIZE  RSS SHARE STAT N# %CPU
  %MEM   TIME COMMAND
  3 root  20  19 00 0 RWN   0 33.1
  0.0   3:47 ksoftirqd_CPU0
   4044 root   9   0  2008 2008  1640 S 0  1.6
  0.0   0:03 sshd
  7 root  12   0 00 0 DW0  1.2
  0.0   0:37 kupdated
   1937 root   7 -10 24668  15M  2144 S0  0.8
  0.7   1:06 X
   3842 root  10   0  9992 9992  8452 S 0  0.6
  0.4   0:07 kdm_greet
 20 root  10   0 00 0 SW0  0.4
  0.0   0:04 memsorter
  5 root   9   0 00 0 SW0  0.3
  0.0   0:58 kswapd
   2238 root   9   0  1576 1576  1464 S 0  0.3
  0.0   0:00 httpd
  1 root  10   0   484  484   420 S 0  0.1
  0.0   0:05 init
 15 root  10   0 00 0 SW0  0.1
  0.0   0:00 kreiserfsd
 19 root   9   0 00 0 SW0  0.1
  0.0   0:29 oM_infoD
   3190 root  10   0  2236 2236  1312 S 0  0.1
  0.1   0:24 cupsd
   4121 mollel10   0   904  904   716 R 0  0.1
  0.0   0:03 mtop
  2 root   9   0 00 0 SW0  0.0
  0.0   0:00 keventd
  4 root  19  19 00 0 SWN   0  0.0
  0.0   0:00 ksoftirqd_CPU1
  6 root   9   0 00 0 SW0  0.0
  0.0   1:26 bdflush
  9 root   9   0 00 0 SW0  0.0
  0.0   0:00 scsi_eh_0
 10 root   9   0 00 0 SW0  0.0
  0.0   0:00 scsi_eh_1
 11 root   9   0 00 0 SW0  0.0
  0.0   0:00 khubd
 16 root   9   0 00 0 SW0  0.0
  0.0   0:00 oMfs_main_server
 17 root   9   0 00 0 SW0  0.0
  0.0   0:00 oM_migd
 18 root   9   0 00 0 SW0  0.0
  0.0   0:00 oMFS_gc
792 rpc9   0   532  532   448 S 0  0.0
  0.0   0:00 portmap
806 root   9   0   588  588   476 S 0  0.0
  0.0   0:00 syslogd
814 root   9   0  1172 1172   416 S 0  0.0
  0.0   0:00 klogd
854 rpcuser9   0   744  744   640 S 0  0.0
  0.0   0:00 rpc.statd
869 root   9   0   500  500   432 S 0  0.0
  

Re: [expert] Mandy Locks Up on simple tar!

2003-02-22 Thread David E. Fox
 CPU...locks up on a simple tar
 Then i only have to reboot. Thats the only thing i can
 do!!

I hadn't done the vmstat like you, but I've had this problem before
with different distributions including older Mandrakes, when my
primary disk was a 1.6 gig Maxstor. That drive has since been
relegated to /var, whilst everything else is on a 30 gig IBM drive.

I would guess that the problem was bad sectors on the drive.

As I recall, the box froze every time I did a tar (backing up to tape)
when reading certain files. I don't recall seeing a lockup during a
block write operation, only when the blocks are read. Now why it
should lock up during a 'tar' is still a mystery. I would have half
expected error messages in the logs if these files were read by
another method.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] Mandy Locks Up on simple tar!

2003-02-21 Thread Tru64 User
Mandy 9.0, 2GB RAM, 500MB swap, Dual Xeon 2.4Ghz
CPU...locks up on a simple tar
Then i only have to reboot. Thats the only thing i can
do!!

Can't figure out whats causing it!! What can be
causing this?? tar is for a 5GB directory (largest
file mandrake iso 650Mb), on a RAID array , sda, local
to this server. 

Results of vmstat::


cere@/home$ vmstat 2 20
   procs  memoryswap 
io system cpu
 r  b  w   swpd   free   buff  cache  si  sobi   
bo   incs  us  sy  id
 0  1  0996   7364  76940 1869576   0   083   
66   6993   0   3  97
 1  0  0996   7308  76940 1869628   0   0 13324 
1280  480   932   0  27  73
 3  0  4996   9484  76756 1867620   0   0 19164
148216 22974  9176   0  50  50
 0  1  1   1252  10372  76804 1867336   0 402 18788  
504  515  1270   0  22  78
 2  0  2   1508  10472  76912 1867544   0   0 21652 
1262  589  1349   0  25  75
 1  0  0   1508  10304  76792 1867784   0   0 21526   
 0  383  1294   1  12  87
 0  1  0   1508  10428  76792 1867688   0   0 20180   
 0  399  1238   0  13  87
 0  1  0   1508  10364  76784 1867780   0   0 14414 
1220  462   971   0  28  72
 1  0  0   1508  10356  76784 1867788   0   0 21078   
 0  376  1227   0  12  88
 2  0  1   1508  10104  75136 1869820   0   0 14028 
1280  450   882   0  26  74
 4  1  2   1508  11828  75112 1868268   0   0  8008
51226 7991  3106   0  50  50
 2  1  2   1508   9380  75280 1870516   0   0 12724
97310 15090  6304   0  50  50
 0  1  0   1508   9556  75288 1870356   0   0 18112  
104  420  1230   0  13  86
 0  1  2   1508   9064  75436 1870628   0   0 18322 
1294  429  1189   0  11  89



Output of PS::


 3:06pm  up  4:10,  3 users,  load average: 3.95,
3.89, 2.62
75 processes: 73 sleeping, 2 running, 0 zombie, 0
stopped
CPU states:  0.0% user, 39.4% system, 33.1% nice,
61.2% idle
Mem:  2063808K av, 2056416K used,   7392K free, 
0K shrd,  78872K buff
Swap: 554200K av,   2660K used, 551540K free  
 1864368K cached

  PID USER PRI  NI  SIZE  RSS SHARE STAT N# %CPU
%MEM   TIME COMMAND
3 root  20  19 00 0 RWN   0 33.1 
0.0   3:47 ksoftirqd_CPU0
 4044 root   9   0  2008 2008  1640 S 0  1.6 
0.0   0:03 sshd
7 root  12   0 00 0 DW0  1.2 
0.0   0:37 kupdated
 1937 root   7 -10 24668  15M  2144 S0  0.8 
0.7   1:06 X
 3842 root  10   0  9992 9992  8452 S 0  0.6 
0.4   0:07 kdm_greet
   20 root  10   0 00 0 SW0  0.4 
0.0   0:04 memsorter
5 root   9   0 00 0 SW0  0.3 
0.0   0:58 kswapd
 2238 root   9   0  1576 1576  1464 S 0  0.3 
0.0   0:00 httpd
1 root  10   0   484  484   420 S 0  0.1 
0.0   0:05 init
   15 root  10   0 00 0 SW0  0.1 
0.0   0:00 kreiserfsd
   19 root   9   0 00 0 SW0  0.1 
0.0   0:29 oM_infoD
 3190 root  10   0  2236 2236  1312 S 0  0.1 
0.1   0:24 cupsd
 4121 mollel10   0   904  904   716 R 0  0.1 
0.0   0:03 mtop
2 root   9   0 00 0 SW0  0.0 
0.0   0:00 keventd
4 root  19  19 00 0 SWN   0  0.0 
0.0   0:00 ksoftirqd_CPU1
6 root   9   0 00 0 SW0  0.0 
0.0   1:26 bdflush
9 root   9   0 00 0 SW0  0.0 
0.0   0:00 scsi_eh_0
   10 root   9   0 00 0 SW0  0.0 
0.0   0:00 scsi_eh_1
   11 root   9   0 00 0 SW0  0.0 
0.0   0:00 khubd
   16 root   9   0 00 0 SW0  0.0 
0.0   0:00 oMfs_main_server
   17 root   9   0 00 0 SW0  0.0 
0.0   0:00 oM_migd
   18 root   9   0 00 0 SW0  0.0 
0.0   0:00 oMFS_gc
  792 rpc9   0   532  532   448 S 0  0.0 
0.0   0:00 portmap
  806 root   9   0   588  588   476 S 0  0.0 
0.0   0:00 syslogd
  814 root   9   0  1172 1172   416 S 0  0.0 
0.0   0:00 klogd
  854 rpcuser9   0   744  744   640 S 0  0.0 
0.0   0:00 rpc.statd
  869 root   9   0   500  500   432 S 0  0.0 
0.0   0:03 gpm
  931 xfs9   0  4304 4304   908 S 0  0.0 
0.2   0:00 xfs
  970 root   9   0 00 0 SW0  0.0 
0.0   0:00 rpciod
  971 root   9   0 00 0 SW0  0.0 
0.0   0:00 lockd
 1903 root   9   0   676  676   620 S 0  0.0 
0.0   0:00 kdm
 1917 daemon 8   0   540  540   472 S 0  0.0 
0.0   0:00 atd
 1938 root   9   0  1244 1244  1124 S 0  0.0 
0.0   0:00 sshd
 1959 root   9   0   948  948   792 S 0  0.0 
0.0   0:00 xinetd


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Mandy Locks Up on simple tar!

2003-02-21 Thread James Sparenberg
Sounds like your first problem and this problem could be somehow
connected but not sure how.  

2 questions Can you do the tar in smaller pieces. (it could be a
single fuzzed up file or sector on the HDD is causing the problem
read/write there is hanging the box.  If so, doing it in smaller bits
will help you locate it.  You can always tar a group of tars later.

If you don't want to or can't do smaller pieces try tar -cvvf etc etc
etc.  tarout.txt.  This will give you a visual of what is happening as
the tar is going along.  Then when the box hangs You'll know the
suspect file.  It will be the last one the box was able to write to the
tarout.txt file.

James


On Fri, 2003-02-21 at 12:19, Tru64 User wrote:
 Mandy 9.0, 2GB RAM, 500MB swap, Dual Xeon 2.4Ghz
 CPU...locks up on a simple tar
 Then i only have to reboot. Thats the only thing i can
 do!!
 
 Can't figure out whats causing it!! What can be
 causing this?? tar is for a 5GB directory (largest
 file mandrake iso 650Mb), on a RAID array , sda, local
 to this server. 
 
 Results of vmstat::
 
 
 cere/home$ vmstat 2 20
procs  memoryswap 
 io system cpu
  r  b  w   swpd   free   buff  cache  si  sobi   
 bo   incs  us  sy  id
  0  1  0996   7364  76940 1869576   0   083   
 66   6993   0   3  97
  1  0  0996   7308  76940 1869628   0   0 13324 
 1280  480   932   0  27  73
  3  0  4996   9484  76756 1867620   0   0 19164
 148216 22974  9176   0  50  50
  0  1  1   1252  10372  76804 1867336   0 402 18788  
 504  515  1270   0  22  78
  2  0  2   1508  10472  76912 1867544   0   0 21652 
 1262  589  1349   0  25  75
  1  0  0   1508  10304  76792 1867784   0   0 21526   
  0  383  1294   1  12  87
  0  1  0   1508  10428  76792 1867688   0   0 20180   
  0  399  1238   0  13  87
  0  1  0   1508  10364  76784 1867780   0   0 14414 
 1220  462   971   0  28  72
  1  0  0   1508  10356  76784 1867788   0   0 21078   
  0  376  1227   0  12  88
  2  0  1   1508  10104  75136 1869820   0   0 14028 
 1280  450   882   0  26  74
  4  1  2   1508  11828  75112 1868268   0   0  8008
 51226 7991  3106   0  50  50
  2  1  2   1508   9380  75280 1870516   0   0 12724
 97310 15090  6304   0  50  50
  0  1  0   1508   9556  75288 1870356   0   0 18112  
 104  420  1230   0  13  86
  0  1  2   1508   9064  75436 1870628   0   0 18322 
 1294  429  1189   0  11  89
 
 
 
 Output of PS::
 
 
  3:06pm  up  4:10,  3 users,  load average: 3.95,
 3.89, 2.62
 75 processes: 73 sleeping, 2 running, 0 zombie, 0
 stopped
 CPU states:  0.0% user, 39.4% system, 33.1% nice,
 61.2% idle
 Mem:  2063808K av, 2056416K used,   7392K free, 
 0K shrd,  78872K buff
 Swap: 554200K av,   2660K used, 551540K free  
  1864368K cached
 
   PID USER PRI  NI  SIZE  RSS SHARE STAT N# %CPU
 %MEM   TIME COMMAND
 3 root  20  19 00 0 RWN   0 33.1 
 0.0   3:47 ksoftirqd_CPU0
  4044 root   9   0  2008 2008  1640 S 0  1.6 
 0.0   0:03 sshd
 7 root  12   0 00 0 DW0  1.2 
 0.0   0:37 kupdated
  1937 root   7 -10 24668  15M  2144 S0  0.8 
 0.7   1:06 X
  3842 root  10   0  9992 9992  8452 S 0  0.6 
 0.4   0:07 kdm_greet
20 root  10   0 00 0 SW0  0.4 
 0.0   0:04 memsorter
 5 root   9   0 00 0 SW0  0.3 
 0.0   0:58 kswapd
  2238 root   9   0  1576 1576  1464 S 0  0.3 
 0.0   0:00 httpd
 1 root  10   0   484  484   420 S 0  0.1 
 0.0   0:05 init
15 root  10   0 00 0 SW0  0.1 
 0.0   0:00 kreiserfsd
19 root   9   0 00 0 SW0  0.1 
 0.0   0:29 oM_infoD
  3190 root  10   0  2236 2236  1312 S 0  0.1 
 0.1   0:24 cupsd
  4121 mollel10   0   904  904   716 R 0  0.1 
 0.0   0:03 mtop
 2 root   9   0 00 0 SW0  0.0 
 0.0   0:00 keventd
 4 root  19  19 00 0 SWN   0  0.0 
 0.0   0:00 ksoftirqd_CPU1
 6 root   9   0 00 0 SW0  0.0 
 0.0   1:26 bdflush
 9 root   9   0 00 0 SW0  0.0 
 0.0   0:00 scsi_eh_0
10 root   9   0 00 0 SW0  0.0 
 0.0   0:00 scsi_eh_1
11 root   9   0 00 0 SW0  0.0 
 0.0   0:00 khubd
16 root   9   0 00 0 SW0  0.0 
 0.0   0:00 oMfs_main_server
17 root   9   0 00 0 SW0  0.0 
 0.0   0:00 oM_migd
18 root   9   0 00 0 SW0  0.0 
 0.0   0:00 oMFS_gc
   792 rpc9   0   532  532   448 S 0  0.0 
 0.0   0:00 portmap
   806 root   9   0   588  588   476 S 0  0.0 
 0.0   0:00 syslogd
   814 root   9   0  1172 1172   416 S 0  0.0 
 0.0   0:00 klogd
   854 rpcuser9   0   744  744   640 S 0  0.0 
 0.0   0:00 rpc.statd
   869 root   9   0   500  500   432 S 0  0.0 
 0.0   0:03 gpm
   931 xfs9   0  4304 4304   908 S 0  0.0 
 0.2   0:00 xfs
   970 root   9