Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 1995 11:48:01 -0400 (EDT)
From:      "Rashid Karimov." <rashid@haven.ios.com>
To:        hackers@freebsd.org
Subject:   Weird stuff (system time is too high).
Message-ID:  <199506181548.LAA13600@haven.ios.com>

next in thread | raw e-mail | index | archive | help
		Hi there folx,



	May be this is related to the problem I wrote here about
	a couple of days before - mysterios system locks .. I don't
	know.

	Anyways , for 10 hours sytem here has percentage of system
	time as high as 80 percent. No idle time.

	The same time I can't find any resource consuming processes
	on the system.

	There about 17 users now logged in , and pstat shows ~11000
	vnodes , while on the similar system under latest SNAP there
	are only ~9000 of them and ~25 users on-line.


	I suspect that the system moves now toword lockup because
	of something ... probably some deadlocks in the kernel and too many
	processes having to wait for the resource to be freed ? 

	How can I trace the kernel ? Is there a way to find the 
	reason for such behavior ?

	System has QUOTAs switched on 5 FS, this is P90/128Mb RAM
	Bustec SCSI 946C + 2 Barracudas ( 1Gb + 4 Gb). X11 is working
	as well ( but it has nothing to do with it , since when
	the system time jumped that high , X11 wasn't active).

	Just in case some guru will read this stuff , here comes
	the output from few commands:

	Oh , f****k !
	The system time've just returned to it's usual value, 
	as well as load average !


=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Sun Jun 18 11:37:24 EDT 1995
=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=============== UPTIME ==========================
11:37AM  up 2 days, 20 mins, 15 users, load averages: 0.08, 0.19, 0.69
=============== PS ===========================
  PID TT  STAT      TIME COMMAND
    0 ??  DLs    0:00.00  (swapper)
    1 ??  Is     0:03.70 /sbin/init --
    2 ??  DL     0:10.09  (pagedaemon)
    3 ??  DL     0:03.09  (vmdaemon)
    4 ??  DL    15:42.09  (update)
   47 ??  Ss     0:01.05 routed -q
   78 ??  Ss     0:09.03 syslogd
   84 ??  Is     0:00.05 portmap
   93 ??  Is     0:19.19 inetd
  100 ??  Is     0:06.80 cron
  102 ??  Is     0:00.04 lpd
  105 ??  Is     0:05.02 sendmail: accepting connections (sendmail)
  113 ??  S      0:00.80 telnetd
  147 ??  Is     0:00.05 ypserv
  150 ??  I      0:00.03 yppasswdd
  160 ??  Is     0:01.35 /usr/local/etc/httpd/httpd
  805 ??  S      0:00.26 telnetd
 1086 ??  S      0:00.59 telnetd
 1096 ??  I      0:00.12 rlogind
 1161 ??  S      0:00.40 telnetd
 1215 ??  S      0:00.22 telnetd
 1272 ??  I      0:00.10 popper -T300 -b/etc/pop
 1282 ??  S      0:00.03 comsat
 1283 ??  S      0:00.23 telnetd
 1285 ??  I      0:00.07 telnetd
 1301 ??  I      0:00.13 telnetd
 1324 ??  S      0:00.16 telnetd
 6426 ??  IW     0:00.05 telnetd
 6847 ??  S      0:03.38 telnetd
 7733 ??  I      0:00.34 telnetd
 8714 ??  S      0:03.40 rlogind
 9360 ??  S      0:01.35 telnetd
 9836 ??  IW     0:00.04 telnetd
15854 ??  IW     0:00.04 telnetd
26118 ??  S      0:00.98 telnetd
 9368 p1  Is+    0:00.49 /usr/local/bin/menu
14751 p1  S+     0:04.78 /usr/local/bin/irc
 1284 p2  Is     0:00.30 -tcsh (tcsh)
 1299 p2  S+     0:00.09 rlogin mail.sas.upenn.edu -l smfriedm
 1300 p2  S+     0:00.06 rlogin mail.sas.upenn.edu -l smfriedm
 1162 p3  Is+    0:00.57 /usr/local/bin/menu
 1254 p3  S+     0:00.30 /usr/bin/telnet
 3523 p5  S+     0:02.42 /usr/local/bin/lynx
26133 p5  Is+    0:00.54 /usr/local/bin/menu
 1216 p6  Is     0:00.31 -tcsh (tcsh)
 1232 p6  S+     0:14.03 trn
  838 p7  Is+    0:00.47 /usr/local/bin/menu
 1214 p7  S+     0:00.27 /usr/local/bin/pine
 1302 p9  Is+    0:00.45 /usr/local/bin/menu
 1326 p9  I+     0:00.09 /usr/local/bin/irc
 6451 pa  S+     0:02.63 sz dp2e.zip gns-kngp.zip mist0695.zip tm420-1.zip tm42
 6855 pa  Is     0:00.42 /usr/local/bin/menu
 7517 pa  I      0:00.21 -bin/csh
  126 pb  Is+    0:00.69 /usr/local/bin/menu
 1343 pb  S+     0:00.17 /usr/local/bin/pine
 7744 pc  Is     0:00.43 /usr/local/bin/menu
 9401 pc  I      0:00.08 -bin/csh
 9451 pc  I+     0:00.28 telnet pueblo.xerox.com 7777
 1354 pd  S+     0:00.04 /bin/sh load_an
 1357 pd  R+     0:00.00 ps -ax
 8737 pd  Is     0:00.49 -tcsh (tcsh)
11660 pd  I      0:00.30 -su (csh)
12019 pd  S      0:01.40 -csh (tcsh)
 1108 pe  Is+    0:00.42 /usr/local/bin/menu
 1160 pe  I+     0:00.05 /bin/sh /usr/local/bin/download
 1164 pe  S+     0:00.32 /usr/local/bin/sx winpoem.zip
 1109 pf  Is     0:00.45 /usr/local/bin/menu
 1135 pf  I+     0:00.09 -bin/csh
 1350 ph  I<s+   0:00.05 login -h 204.235.93.11 -p
 1325 pi  Is+    0:00.44 /usr/local/bin/menu
 1344 pi  S+     0:00.29 /usr/local/bin/gopher
  157 v0  IWs+   0:00.39 -csh (csh)
 2576 v1  IWs+   0:00.03 /usr/libexec/getty Pc ttyv1
  159 v2  IWs+   0:00.03 /usr/libexec/getty Pc ttyv2
  154 ??- I      0:00.63 /usr/local/bin/perl /usr/local/admin/@adduser_serv
============== NETSTAT ========================
73 mbufs in use:
	38 mbufs allocated to data
	26 mbufs allocated to packet headers
	6 mbufs allocated to protocol control blocks
	3 mbufs allocated to socket names and addresses
14/72 mbuf clusters in use
153 Kbytes allocated to network (24% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
================= VMSTAT =========================
Memory statistics by bucket size
Size   In Use   Free   Requests  HighWater  Couldfree
  16    11903    385     451498    1280          0
  32     8067   2173    4723368     640          0
  64    12720    336    5442345     320          0
 128    19121   1199   55207967     160       2496
 256    12095    241    5200877      80       1840
 512       25      7        552      40          0
  1K       14     10    9239623      20          0
  2K       12      0         12      10          0
  4K        6      1         16       5          0
  8K       18     52       8743       5       1960
 16K        4      0          4       5          0
 32K        4      0          4       5          0

Memory usage type by bucket size
Size  Type(s)
  16  devbuf, pcb, routetbl, vnodes, VM objhash, VM pgdata, proc
  32  devbuf, pcb, routetbl, pgrp, session, VM mapent, VM pager, VM pgdata,
	  subproc, LFS segment, temp
  64  devbuf, routetbl, ifaddr, namecache, UFS quota, VM pgdata, file,
	  lockf, LFS segment, in_multi, temp
 128  mbuf, devbuf, pcb, routetbl, fragtbl, zombie, ifaddr, soopts, cred,
	  vnodes, VM map, VM object, VM pgdata, file desc, NFS srvsock, temp,
	  ttys
 256  devbuf, socket, pcb, routetbl, vnodes, VM map, VM pgdata, file desc,
	  proc, subproc, FFS node, temp
 512  devbuf, pcb, ioctlops, mount, UFS mount, VM pgdata, file desc, temp
  1K  devbuf, namei, UFS mount, VM pgdata, proc, NQNFS Lease, NFS daemon,
	  temp
  2K  devbuf, UFS mount, temp, ttys
  4K  devbuf, temp
  8K  mbuf, VM pgdata, temp
 16K  devbuf
 32K  NFS node, namecache, UFS quota, UFS mount

Memory statistics by type                          Type  Kern
        Type  InUse MemUse HighUse  Limit Requests Limit Limit Size(s)
         mbuf    65    16K     98K 19661K 24878926    0     0  128,8K
       devbuf    29    97K     97K 19661K       47    0     0  16,32,64,128,256,512,1K,2K,4K,16K
       socket    65    17K     28K 19661K  1686557    0     0  256
          pcb   112    21K     37K 19661K  1705342    0     0  16,32,128,256,512
     routetbl   136    18K     80K 19661K     9319    0     0  16,32,64,128,256
      fragtbl     0     0K      1K 19661K       37    0     0  128
       zombie     0     0K      1K 19661K  1673606    0     0  128
       ifaddr     5     1K      1K 19661K        5    0     0  64,128
       soopts     0     0K      1K 19661K    10028    0     0  128
        namei     0     0K      7K 19661K  9236258    0     0  1K
     ioctlops     0     0K      1K 19661K        7    0     0  512
         cred    29     4K      7K 19661K    20752    0     0  128
         pgrp    39     2K      3K 19661K    25609    0     0  32
      session    29     1K      2K 19661K     4129    0     0  32
        mount     8     4K      4K 19661K        8    0     0  512
     NFS node     1    32K     32K 19661K        1    0     0  32K
       vnodes 12529  1492K   1496K 19661K    17467    0     0  16,128,256
    namecache 11818   771K    771K 19661K    11818    0     0  64,32K
    UFS quota   551    67K     67K 19661K      551    0     0  64,32K
    UFS mount    22    58K     58K 19661K       22    0     0  512,1K,2K,32K
       VM map    82    20K     37K 19661K  3930540    0     0  128,256
    VM mapent  1468    46K     91K 19661K    69778    0     0  32
    VM object  6510   814K    876K 19661K 22064100    0     0  128
   VM objhash  5590    88K     88K 19661K   221171    0     0  16
     VM pager  5931   186K    190K 19661K  1545032    0     0  32
    VM pgdata  6272   268K    747K 19661K  2868893    0     0  16,32,64,128,256,512,1K,8K
         file   162    11K     21K 19661K  4883156    0     0  64
    file desc    95    15K     28K 19661K  1678767    0     0  128,256,512
        lockf     4     1K      1K 19661K    35639    0     0  64
         proc    92    20K     37K 19661K  1677193    0     0  16,256,1K
      subproc    92     7K     16K 19661K  1676133    0     0  32,256
  LFS segment     0     0K      3K 19661K    73918    0     0  32,64
     FFS node 11688  2922K   2954K 19661K   136450    0     0  256
  NQNFS Lease     1     1K      1K 19661K        1    0     0  1K
  NFS srvsock     4     1K      1K 19661K        4    0     0  128
   NFS daemon     1     1K      1K 19661K        1    0     0  1K
     in_multi     1     1K      1K 19661K        1    0     0  64
         temp   146    13K    131K 19661K    79796    0     0  32,64,128,256,512,1K,2K,4K,8K
         ttys   412    56K    106K 19661K    53947    0     0  128,2K

Memory Totals:  In Use    Free    Requests
                 7058K    739K    80275009
 17124461 cpu context switches
 47447616 device interrupts
  9905794 software interrupts
109147049 traps
268201335 system calls
      434 swap pager pageins
     1156 swap pager pages paged in
     1895 swap pager pageouts
     4487 swap pager pages paged out
     2036 vnode pager pageins
     9028 vnode pager pages paged in
        0 vnode pager pageouts
        0 vnode pager pages paged out
      176 page daemon wakeups
  1074475 pages examined by the page daemon
    83865 pages reactivated
 29015044 copy-on-write faults
 27495135 zero fill pages zeroed
       20 intransit blocking page faults
116463620 total VM faults taken
102036769 pages freed
      100 pages freed by daemon
 43610462 pages freed by exiting processes
     8799 pages active
      849 pages inactive
    14155 pages in VM cache
     2771 pages wired down
     4342 pages free
     4096 bytes per page
 22655229 total name lookups
          cache hits (86% pos + 11% neg) system 0% per-process
          deletions 0%, falsehits 0%, toolong 0%
interrupt      total      rate
clk0 irq0    17399297      100
rtc0 irq8    22272077      128
fdc0 irq6           1        0
bt0 irq9       718364        4
sc0 irq1         1751        0
ep0 irq10     5826552       33
Total        46218042      265
================= PSTAT =========================
185/8232 files
11812 vnodes
 5M/255M swap space
=======================================================================
========================================================================




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506181548.LAA13600>