Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2001 17:53:58 -0800 (PST)
From:      Dan Phoenix <dphoenix@bravenet.com>
To:        Matt Dillon <dillon@earth.backplane.com>
Cc:        Alfred Perlstein <bright@wintelcom.net>, Jos Backus <josb@cncdsl.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: qmail IO problems
Message-ID:  <Pine.BSO.4.21.0102051746450.18264-200000@gandalf.bravenet.com>
In-Reply-To: <200102060128.f161SnT56343@earth.backplane.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]

ok of those commands some interesting info was from dmesg...
on one machine i had 
file: table is full
file: table is full
file: table is full
file: table is full
file: table is full
file: table is full
file: table is full
file: table is full
file: table is full
file: table is full
file: table is full
file: table is full
file: table is full

from dmesg

on the other machine
looutput: mbuf allocation failed
nfs server 172.16.0.101:/bravenet1/home: not responding
looutput: mbuf allocation failed
looutput: mbuf allocation failed
looutput: mbuf allocation failed
nfs server 172.16.0.101:/bravenet1/home: is alive again
looutput: mbuf allocation failed
looutput: mbuf allocation failed

i doubt that  mbuf allocation failed was from the nfs server timeout that
one time....but cannot be certain......this help you at all?

[root@arwen qmail-1.03]# pstat -s
Device          1K-blocks     Used    Avail Capacity  Type
/dev/ad0s1b       1048448        0  1048448     0%    Interleaved
[root@arwen qmail-1.03]# 

[root@elrond dphoenix]# pstat -s
Device          1K-blocks     Used    Avail Capacity  Type
/dev/ad0s1b        528696     2032   526664     0%    Interleaved
[root@elrond dphoenix]# 

 * 'vmstat 1' output for a good 20 seconds
previous email was from a good 20 seconds.

ps axlww

included is ps.txt.....
2 perl scripts running only on that machine at moment yet qmail queue keep
getting larger....seems to be getting abit better but not that great
either.



On Mon, 5 Feb 2001, Matt Dillon wrote:

> Date: Mon, 5 Feb 2001 17:28:49 -0800 (PST)
> From: Matt Dillon <dillon@earth.backplane.com>
> To: Dan Phoenix <dphoenix@bravenet.com>
> Cc: Alfred Perlstein <bright@wintelcom.net>, Jos Backus <josb@cncdsl.com>,
>      freebsd-hackers@FreeBSD.ORG
> Subject: Re: qmail IO problems
> 
>     Also:
> 
>     * ps axlww
> 
>     * dmesg
> 
>     * pstat -s
> 
>     * 'vmstat 1' output for a good 20 seconds.
> 
>     (during the period of heavy disk I/O).
> 
>     In re: to softupdates.  It should make a huge difference for mail 
>     applications.  If it doesn't, then perhaps it isn't compiled into
>     your kernel?  I recommend researching that a bit more, turning it on
>     (unmount the filesystem(s), 'tunefs -n enable filesystem' for each
>     filesystem, then mount them up again), and making sure it's configured
>     in the kernel ('options SOFTUPDATES' in the kernel config.
>     In 4.2, the generic kernel has it configured).
> 
> 						-Matt
> 

[-- Attachment #2 --]
  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
    0     0     0   0 -18  0     0    0 sched  DLs   ??    0:04.36  (swapper)
    0     1     0   0  10  0   528   72 wait   ILs   ??    0:05.51 /sbin/init --
    0     2     0   0 -18  0     0    0 psleep DL    ??    0:12.15  (pagedaemon)
    0     3     0   0  18  0     0    0 psleep DL    ??    0:00.10  (vmdaemon)
    0     4     0   0 -18  0     0    0 psleep DL    ??    0:14.50  (bufdaemon)
    0     5     0   0  18  0     0    0 syncer DL    ??   76:15.83  (syncer)
    0    28     1  34  18  0   208    8 pause  IWs   ??    0:00.00 adjkerntz -i
    0    84     1   0   2  0   920  452 select Ss    ??    7:29.77 syslogd -s
    1    87     1   0   2  0   936  492 select Ss    ??    0:16.35 /usr/sbin/portmap
    0    93     1   0  10  0   208    8 nfsidl I     ??    2:26.25 nfsiod -n 4
    0    94     1   0  10  0   208    8 nfsidl I     ??    0:09.59 nfsiod -n 4
    0    95     1   0  10  0   208    8 nfsidl I     ??    0:03.15 nfsiod -n 4
    0    96     1   0  10  0   208    8 nfsidl I     ??    0:01.95 nfsiod -n 4
    0   116     1   0  10  0   960  240 nanslp Ss    ??    0:24.07 cron
    0   142     1   0   2  0  1228  208 select Is    ??    0:09.66 /usr/sbin/timed
    0   144     1   0   2  0  1884  560 select Is    ??    1:01.07 /usr/local/sbin/sshd (sshd2)
    0   176     1   0   3  0   920    8 siodcd I     ??    0:00.01 /usr/libexec/getty std.9600 ttyd0
    0  2940   144   0   2  0  1956 1164 select S     ??    0:07.23 /usr/local/sbin/sshd (sshd2)
    0  8962     1   1   2  0  1040  620 select Is    ??    4:57.36 inetd -wW
    0 15179   144   0   2  0  1956 1164 select I     ??    0:00.39 /usr/local/sbin/sshd (sshd2)
    0 51910   144   0   2  0  1956 1164 select I     ??    0:37.90 /usr/local/sbin/sshd (sshd2)
  515 76317 95171  77  10  0   176   40 nanslp I     ??    0:00.00 sleep 299
  515 76494 95178  60  10  0   176   40 nanslp I     ??    0:00.00 sleep 300
    0 76701 48811 149  10  0   888  400 wait   S     ??    0:00.00 bin/qmail-inject -H -f jeryli@home.com --
 1006 76702 76701 149  -2  0   852  384 ffsfsn D     ??    0:00.00 bin/qmail-queue
    0 84088   144   0   2  0  1956 1168 select I     ??    0:01.31 /usr/local/sbin/sshd (sshd2)
    0 92665   144   0   2  0  1956 1168 select S     ??    0:06.50 /usr/local/sbin/sshd (sshd2)
    0 96355   144   1   2  0  1956 1164 select I     ??    0:05.77 /usr/local/sbin/sshd (sshd2)
    0 51911 51910   2  18  0  1300  856 pause  Is    p0    0:00.03 -csh (csh)
    0 51915 51911   0   3  0  1060  744 ttyin  I+    p0    0:00.70 -su (bash)
  515 95171     1  77  10  0   624  272 wait   I     p0-   0:21.32 /bin/sh /usr/bb/bin/bbrun /usr/bb/bin/bb-local.sh
  515 95178     1  60  10  0   624  272 wait   I     p0-   0:21.12 /bin/sh /usr/bb/bin/bbrun /usr/bb/ext/bb-swap.sh
  511 92666 92665  10  10  0  1044  728 wait   Is    p1    0:00.02 -bash (bash)
    0 92669 92666   0  10  0  1048  736 wait   I     p1    0:00.33 -su (bash)
    0 93533 92669   0   3  0  1464 1016 ttyin  S+    p1    0:05.86 systat -iostat
  511 84169 84088   0   3  0  1040  740 ttyin  Is+   p2    0:00.02 -bash (bash)
  511  2948 96365   0  10  0  1040  740 wait   I     p3    0:00.02 -su (bash)
  511  2951  2948   0   2  0  2016 1508 select I+    p3    0:04.11 ssh -l droot -x arwen (ssh2)
    0 96360 96355   2  18  0  1300  860 pause  Is    p3    0:00.03 -csh (csh)
    0 96365 96360   0  10  0  1040  740 wait   I     p3    0:00.05 -su (bash)
    0  2941  2940   0  18  0  1300  860 pause  Is    p4    0:00.03 -csh (csh)
    0  8872     1   0  10  0   892  384 nanslp S     p4    0:00.30 svscan
    0  8873  8872   0   2  0   852  392 select I     p4    0:00.01 supervise qmail-send
    0  8874  8872   0   2  0   852  392 select I     p4    0:00.01 supervise log
    0  8875  8872   0   2  0   852  392 select I     p4    0:00.01 supervise qmail-smtpd
    0  8876  8872   0   2  0   852  392 select I     p4    0:00.01 supervise log
    0  8877  8872   0   2  0   852  392 select I     p4    0:00.01 supervise dnscache127
    0  8878  8872   0   2  0   852  392 select I     p4    0:00.01 supervise log
    0  8879  8872   0   2  0   852  392 select I     p4    0:00.01 supervise dnscache172
    0  8880  8872   0   2  0   852  392 select I     p4    0:00.01 supervise log
 1008  8881  8873   0  -6  0   988  540 piperd S     p4    1:16.86 qmail-send
 1003  8882  8875   1   2  0   892  496 accept S     p4    0:00.41 /usr/local/bin/tcpserver -R -H -c 200 -v -x /etc/tcp.smtp.cdb -u 1003 -g 80 0 smtp /var/qmail/bin/qmail-smtpd
    0  8885  8881   0   2  0   876  384 select I     p4    0:00.70 qmail-lspawn |dot-forward .forward\n|preline procmail
 1007  8886  8881   0   2  0   912  492 select S     p4    0:10.30 qmail-rspawn
 1006  8887  8881   0  -6  0   860  372 biowr  D     p4    0:12.52 qmail-clean
 1004  8888  8876   0  -6  0   872  384 piperd S     p4    0:00.24 /usr/local/bin/multilog t /var/log/qmail/smtpd
 1004  8889  8874   0  -6  0   872  384 piperd S     p4    0:15.38 /usr/local/bin/multilog t /var/log/qmail
 1014  8890  8877   1   2  0 20748 20220 poll   S     p4    0:52.59 /usr/local/bin/dnscache
 1015  8891  8878   0  -6  0   872  384 piperd S     p4    0:33.47 multilog t ./main
 1014  8892  8879   6   2  0 20764 20236 poll   S     p4    7:00.80 /usr/local/bin/dnscache
 1015  8893  8880   1  -6  0   872  384 piperd S     p4    1:22.67 multilog t ./main
    0 12063  2941   1  10  0  1044  744 wait   S     p4    0:00.18 -su (bash)
 1007 73055  8886   0   2  0   892  508 select I     p4    0:00.01 qmail-remote aol.com bryan@49ersparadise.8m.com dmdre1@aol.com
 1007 73079  8886   0   2  0   892  504 select I     p4    0:00.01 qmail-remote sonychem.com.sg wtadmin@atozasia.com pdaniel@sonychem.com.sg
 1007 73112  8886   0   2  0   892  504 select I     p4    0:00.00 qmail-remote lycosasia.com wtadmin@atozasia.com sixseven@lycosasia.com
 1007 73114  8886   0   2  0   892  504 select I     p4    0:00.01 qmail-remote welser.com bryan@49ersparadise.8m.com a.karl@welser.com
 1007 76331  8886   0   2  0   892  504 select I     p4    0:00.00 qmail-remote galileo.na.infn.it pan_super_sayan@libero.it officina@galileo.na.infn.it
 1007 76398  8886   0   2  0   892  504 select I     p4    0:00.00 qmail-remote webtv.net bryan@49ersparadise.8m.com robert49er@webtv.net
 1007 76506  8886   0   2  0   892  504 select I     p4    0:00.00 qmail-remote webtv.net johnnydetr0it@aol.com johndfromkermit@webtv.net
 1007 76568  8886   0   2  0   892  504 select S     p4    0:00.00 qmail-remote webtv.net johnnydetr0it@aol.com heavy69@webtv.net
 1007 76580  8886   0   2  0   892  504 select S     p4    0:00.00 qmail-remote webtv.net bryan@49ersparadise.8m.com bjcobb@webtv.net
 1007 76642  8886   0   2  0   892  504 select S     p4    0:00.00 qmail-remote webtv.net bryan@49ersparadise.8m.com edanddeb@webtv.net
 1007 76652  8886   1   2  0   892  504 select S     p4    0:00.00 qmail-remote webtv.net bryan@49ersparadise.8m.com riverbyrd1@webtv.net
 1007 76674  8886   0   2  0   892  504 select S     p4    0:00.00 qmail-remote lufc.co.uk dave@theatretravel.com jo.catherall@lufc.co.uk
 1007 76681  8886   0   2  0   892  504 select S     p4    0:00.00 qmail-remote easy-pages.com jeryli@home.com carrievb@easy-pages.com
 1007 76695  8886   0   2  0   892  504 select S     p4    0:00.00 qmail-remote webtv.net bryan@49ersparadise.8m.com LaVona7-10@webtv.net
 1007 76696  8886   0   2  0   892  504 select S     p4    0:00.00 qmail-remote btinternet.com dave@theatretravel.com ms.rolfe@btinternet.com
 1007 76700  8886   0   2  0   892  508 select S     p4    0:00.01 qmail-remote aol.com jeryli@home.com kathleenteall@aol.com
    0 76703 12063   0  28  0   488  220 -      R+    p4    0:00.00 ps axlww
    0 15209 15179   3  18  0  1300  860 pause  Is    p5    0:00.03 -csh (csh)
    0 15229 15209   0   3  0  1044  744 ttyin  I+    p5    0:00.05 -su (bash)
    0 48782     1  15  10  0  3312 2820 nanslp I     p6-   0:03.53 /usr/bin/perl /home/cvs/maintenance/elist_pod_4.pl
    0 48811     1 149  10  0  3308 2804 wait   S     p6-   0:02.65 /usr/bin/perl /home/cvs/maintenance/elist_pod_5.pl
    0   168     1   0   3  0  1340    8 ttyin  IWs+  v0    0:00.00 -csh (csh)
    0   169     1   0   3  0   924    8 ttyin  IWs+  v1    0:00.00 /usr/libexec/getty Pc ttyv1
    0   170     1   0   3  0   924    8 ttyin  IWs+  v2    0:00.00 /usr/libexec/getty Pc ttyv2
    0   171     1   0   3  0   924    8 ttyin  IWs+  v3    0:00.00 /usr/libexec/getty Pc ttyv3
    0   172     1   0   3  0   924    8 ttyin  IWs+  v4    0:00.00 /usr/libexec/getty Pc ttyv4
    0   173     1   0   3  0   924    8 ttyin  IWs+  v5    0:00.00 /usr/libexec/getty Pc ttyv5
    0   174     1   0   3  0   924    8 ttyin  IWs+  v6    0:00.00 /usr/libexec/getty Pc ttyv6
    0   175     1   0   3  0   924    8 ttyin  IWs+  v7    0:00.00 /usr/libexec/getty Pc ttyv7
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSO.4.21.0102051746450.18264-200000>