Len,

> >Then:
> >---------------------------------------------------------------
> ># sockstat -4
> >USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
> >root     sshd      2384    5 tcp4   200.16.193.34:22
> >200.16.193.48:53236
> >root     smtpd     2262    6 tcp4   *:25                  *:*
> >root     sshd      2223    5 tcp4   200.16.193.34:22
> >200.16.193.48:52938
> >postfix  smtpd     2106    6 tcp4   *:25                  *:*
> >postfix  smtpd     2106    9 tcp4   200.16.193.34:25
> >200.63.153.116:4350
> >postfix  smtpd     2101    6 tcp4   *:25                  *:*
> >postfix  smtpd     2101    9 tcp4   200.16.193.34:25      69.6.35.45:1035
> >postfix  smtpd     2099    6 tcp4   *:25                  *:*
> >postfix  smtpd     2099    9 tcp4   200.16.193.34:25
> >62.194.115.169:2720
> >postfix  smtpd     2096    6 tcp4   *:25                  *:*
> >postfix  smtpd     2096    9 tcp4   200.16.193.34:25
80.74.197.93:4871
> >root     snmpd      539   13 udp4   *:161                 *:*
> >root     master     154   11 tcp4   *:25                  *:*
> >squidc   squid      130    4 udp4   *:4884                *:*
> >squidc   squid      130    8 tcp4   *:8080                *:*
> >squidc   squid      130   10 udp4   *:3130                *:*
> >squidc   squid      130   12 tcp4   *:4820                *:*
> >squidc   squid      130   13 tcp4   200.16.193.34:8080
200.16.193.95:1140
> >root     sshd        76    4 tcp4   *:22                  *:*
> >root     inetd       72    4 tcp4   *:5660                *:*
> >root     syslogd     65    5 udp4   *:514                 *:*
>
> you have processes listing on port 25.
>
> but do you have processes running during the postmap?
>
> /usr/sbin/postmap /etc/postfix/from_senders_slet.map &
>
> to put it in the background, then run sockstat -4
>

This command I show'd was during the postmap, in another tty, at the time of
the WUPG alert.
But the new telnet/ssh also showed slowly, even a 'man' was sloooow down.

> and during the 1200 seconds, when you telnet to port 25, what happens?
>
> what does uptime show?

# uptime
 9:13AM  up 188 days, 34 mins, 2 users, load averages: 0.09, 0.30, 0.20
#

>
> /var/run/dmesg.boot shows what CPU and disk?
>
....
CPU: Pentium II/Pentium II Xeon/Celeron (348.21-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2

Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR>
....
mlx0: <Mylex version 2 RAID interface> port 0x1080-0x10ff irq 11 at device
16.0 on pci0
mlx0: DAC960P/PD, 1 channel, firmware 2.73-0-00, 8MB RAM
mlxd0: <Mylex System Drive> on mlx0
mlxd0: 8680MB (17776640 sectors) RAID 5 (online)
.....

> >The time shows:
> >
> ># time /usr/sbin/postmap /var/Postfix/from_senders_slet.map
> >      1201.08 real         8.92 user        39.72 sys
>
> ok, big numbers.
>
> squid is proxy, with heavy writing of all traffic to disk, along with
> postfix logging + mailq, so the disk could be very loaded.
>
Not really high traffic:

the top shows ( during the scheduled postmap, right now:)
--------------------------------------------------------------------
last pid:  2770;  load averages:  0.01,  0.06,  0.11
up 188+00:44:20 09:24:01
40 processes:  1 running, 39 sleeping
CPU states:  0.0% user,  0.8% nice,  5.1% system,  0.4% interrupt, 93.8%
idle
Mem: 81M Active, 70M Inact, 61M Wired, 3060K Cache, 35M Buf, 32M Free
Swap: 200M Total, 5520K Used, 194M Free, 2% Inuse

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
 2694 root      -2  15 17448K 17072K flswai   0:24  3.17%  3.17% postmap
  130 squidc   -14   0 50680K 47904K inode   25.5H  0.00%  0.00% squid
86965 root      10   0  3076K  1600K nanslp 453:46  0.00%  0.00% perl
  154 root       2   0  1048K   640K select 242:37  0.00%  0.00% master
   65 root       2   0   948K   496K select  82:07  0.00%  0.00% syslogd
  157 squidc    -6   0   864K   344K piperd  27:37  0.00%  0.00% unlinkd
83093 postfix    2   0  2380K  2072K select  20:23  0.00%  0.00% nqmgr
   76 root       2   0  3008K   928K select   2:59  0.00%  0.00% sshd
   72 root       2   0  1096K   520K select   2:37  0.00%  0.00% inetd
  539 root       2   0  4128K   976K select   1:56  0.00%  0.00% snmpd
   74 root      10   0  1024K   612K nanslp   1:21  0.00%  0.00% cron
68900 postfix    2   0  1184K   836K select   0:44  0.00%  0.00%
trivial-rewrit
69010 postfix    2   0  1204K   856K select   0:38  0.00%  0.00%
trivial-rewrit
 2512 postfix    2   0  1140K   856K select   0:06  0.00%  0.00% cleanup
 2521 postfix    2   0  1140K   856K select   0:06  0.00%  0.00% cleanup
 2659 postfix    2   0  1140K   844K select   0:01  0.00%  0.00% cleanup
 2223 root       2   0  5708K  1704K select   0:00  0.00%  0.00% sshd
 2384 root       2   0  5708K  1704K select   0:00  0.00%  0.00% sshd
 2653 postfix   14   0  1600K  1276K lockf    0:00  0.00%  0.00% smtpd
 2770 root      28   0  1908K  1072K RUN      0:00  0.00%  0.00% top
 2652 postfix    2   0  1140K   792K select   0:00  0.00%  0.00%
trivial-rewrit
 2661 postfix   14   0  1604K  1276K lockf    0:00  0.00%  0.00% smtpd
 2646 postfix   14   0  1604K  1272K lockf    0:00  0.00%  0.00% smtpd
 2225 root      10   0   676K   488K wait     0:00  0.00%  0.00% sh
 2386 root       3   0   676K   488K ttyin    0:00  0.00%  0.00% sh
 2640 postfix    2   0  1064K   716K select   0:00  0.00%  0.00% proxymap
 2695 root      14   0  1116K   744K lockf    0:00  0.00%  0.00% smtpd
  126 root      10   0  2764K   640K wait     0:00  0.00%  0.00% squid
  137 root       3   0   952K   372K ttyin    0:00  0.00%  0.00% getty
  140 root       3   0   952K   372K ttyin    0:00  0.00%  0.00% getty
  134 root       3   0   952K   372K ttyin    0:00  0.00%  0.00% getty
  133 root       3   0   952K   372K ttyin    0:00  0.00%  0.00% getty
  138 root       3   0   952K   372K ttyin    0:00  0.00%  0.00% getty
  135 root       3   0   952K   372K ttyin    0:00  0.00%  0.00% getty
 2690 root      10  15   624K   408K wait     0:00  0.00%  0.00% sh
  139 root       3   0   952K   372K ttyin    0:00  0.00%  0.00% getty
  136 root       3   0   952K   372K ttyin    0:00  0.00%  0.00% getty
 2688 root      10   0   628K   412K wait     0:00  0.00%  0.00% sh
 2686 root      -6   0  1024K   672K piperd   0:00  0.00%  0.00% cron
   21 root      18   0   212K     0K pause    0:00  0.00%  0.00% adjkerntz
--------------------------------------------------------------------

> iostat -c 40
>


During the postmap, is:

--------------------------------------------------------------------
# iostat -c 40
      tty           mlxd0              cd0              sa0             cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   0    1  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   4  0  1  0 94
   0   77 18.18  66  1.17   0.00   0  0.00   0.00   0  0.00   0  0  5  0 95
   0   37 17.27  83  1.41   0.00   0  0.00   0.00   0  0.00   0  1  3  0 96
   0   76 16.79  80  1.31   0.00   0  0.00   0.00   0  0.00   0  0  2  0 98
   0   76 16.80  99  1.62   0.00   0  0.00   0.00   0  0.00   0  0  2  0 98
   0   76 16.96  66  1.10   0.00   0  0.00   0.00   0  0.00   0  1  5  0 94
   0   76 16.50  63  1.02   0.00   0  0.00   0.00   0  0.00   0  1  5  0 94
   0   76 17.09 102  1.70   0.00   0  0.00   0.00   0  0.00   0  2  5  1 92
   0   38 16.99  80  1.33   0.00   0  0.00   0.00   0  0.00   0  0  3  0 97
   0   76 18.08  76  1.35   0.00   0  0.00   0.00   0  0.00   0  1  5  0 95
   0   25 17.74  80  1.39   0.00   0  0.00   0.00   0  0.00   0  0  3  0 96
   0   76 18.44  71  1.28   0.00   0  0.00   0.00   0  0.00   0  2  3  2 94
   0   70 16.77  75  1.24   0.00   0  0.00   0.00   0  0.00   0  0  2  0 98
   0   76 16.98  81  1.35   0.00   0  0.00   0.00   0  0.00   0  0  3  1 96
   0   76 18.29  76  1.36   0.00   0  0.00   0.00   0  0.00   0  1  2  0 98
   0   76 17.38  80  1.36   0.00   0  0.00   0.00   0  0.00   1  0  3  0 96
   0   76 17.78  98  1.70   0.00   0  0.00   0.00   0  0.00   0  2  5  0 94
   0   76 16.74  85  1.39   0.00   0  0.00   0.00   0  0.00   0  0  1  1 98
   0   76 18.29  62  1.11   0.00   0  0.00   0.00   0  0.00   0  3  8  0 89
   0   24 17.06  81  1.34   0.00   0  0.00   0.00   0  0.00   0  0  3  0 96
      tty           mlxd0              cd0              sa0             cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   0  107 16.87  77  1.27   0.00   0  0.00   0.00   0  0.00   0  0  3  0 96
   0   76 17.78 107  1.86   0.00   0  0.00   0.00   0  0.00   0  1  5  0 95
   0   76 16.46  68  1.10   0.00   0  0.00   0.00   0  0.00   0  0  4  0 96
   0   76 18.17  80  1.42   0.00   0  0.00   0.00   0  0.00   0  0  5  0 95
   0   48 17.10  82  1.37   0.00   0  0.00   0.00   0  0.00   0  0  3  1 96
   0   76 17.19  80  1.35   0.00   0  0.00   0.00   0  0.00   0  1  5  1 93
   0   76 16.76  83  1.36   0.00   0  0.00   0.00   0  0.00   0  0  3  1 96
   0   51 17.20  62  1.04   0.00   0  0.00   0.00   0  0.00   0  0  3  0 97
   0   72 17.38  87  1.47   0.00   0  0.00   0.00   0  0.00   0  0  5  1 94
   0   76 16.22  71  1.13   0.00   0  0.00   0.00   0  0.00   0  0  3  0 97
   0   76 17.14  83  1.39   0.00   0  0.00   0.00   0  0.00   0  1  2  0 98
   0   76 16.38  83  1.33   0.00   0  0.00   0.00   0  0.00   0  1  5  0 95
   0   76 17.66  76  1.31   0.00   0  0.00   0.00   0  0.00   0  1  2  0 97
   0   76 17.40  79  1.35   0.00   0  0.00   0.00   0  0.00   0  1  4  0 95
   0   74 17.36  90  1.52   0.00   0  0.00   0.00   0  0.00   0  1  1  0 98
   0   76 16.98  64  1.07   0.00   0  0.00   0.00   0  0.00   0  0  2  1 97
   0   76 17.52  83  1.42   0.00   0  0.00   0.00   0  0.00   0  0  4  1 95
   0   76 16.73  65  1.07   0.00   0  0.00   0.00   0  0.00   0  0  1  0 99
   0   76 16.96  82  1.36   0.00   0  0.00   0.00   0  0.00   0  2  6  0 92
   0   76 16.99  96  1.59   0.00   0  0.00   0.00   0  0.00   0  2  4  0 95
#
--------------------------------------------------------------------

a few minutes before the postmap, was:
--------------------------------------------------------------------
# iostat -c 40
      tty           mlxd0              cd0              sa0             cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   0    1  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   4  0  1  0 94
   0   76  2.00   1  0.00   0.00   0  0.00   0.00   0  0.00   2  0  3  0 95
   0   76  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   1  0  2  0 98
   0   76  5.67  36  0.20   0.00   0  0.00   0.00   0  0.00   2  0  3  0 95
   0   76 16.00   2  0.03   0.00   0  0.00   0.00   0  0.00   8  0  2  0 91
   0   76  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0  0  0  0100
   0   76  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   2  0  1  0 97
   0   76  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   5  0  1  0 95
   0   76  9.75   8  0.08   0.00   0  0.00   0.00   0  0.00  22  0  4  0 74
   0   76 16.00  13  0.20   0.00   0  0.00   0.00   0  0.00  33  0  4  2 61
   0   76 14.00  22  0.30   0.00   0  0.00   0.00   0  0.00  27  0  8  2 62
   0   76 15.08  24  0.35   0.00   0  0.00   0.00   0  0.00  41  0  5  2 51
   0   76 13.04  25  0.32   0.00   0  0.00   0.00   0  0.00  88  0 10  2  0
   0   75 12.73  40  0.50   0.00   0  0.00   0.00   0  0.00  89  0 10  2  0
   0   76 13.67  48  0.64   0.00   0  0.00   0.00   0  0.00  73  0 23  4  0
   0   74 11.56  35  0.39   0.00   0  0.00   0.00   0  0.00  81  0 18  1  0
   0   76 12.55  33  0.40   0.00   0  0.00   0.00   0  0.00  87  0 12  1  0
   0   67 13.68  32  0.43   0.00   0  0.00   0.00   0  0.00  88  0 11  1  0
   0   75 14.16  36  0.50   0.00   0  0.00   0.00   0  0.00  84  0 13  3  0
   0   74 10.04  91  0.90   0.00   0  0.00   0.00   0  0.00  82  0 15  3  0
      tty           mlxd0              cd0              sa0             cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   0  221 16.60  41  0.67   0.00   0  0.00   0.00   0  0.00  85  0 13  2  0
   0   76 14.43  60  0.84   0.00   0  0.00   0.00   0  0.00  77  0 20  3  0
   0   76 15.14  28  0.41   0.00   0  0.00   0.00   0  0.00  86  0 12  2  0
   0   76 19.00  30  0.55   0.00   0  0.00   0.00   0  0.00  27  0 14  2 57
   0   76 13.83  23  0.31   0.00   0  0.00   0.00   0  0.00  41  0  8  0 51
   0   76 14.00  11  0.15   0.00   0  0.00   0.00   0  0.00   3  0  9  1 88
   0   76 27.33   6  0.16   0.00   0  0.00   0.00   0  0.00   2  0  5  2 90
   0   76 64.00   1  0.06   0.00   0  0.00   0.00   0  0.00   3  0  5  0 91
   0   76 23.38  13  0.29   0.00   0  0.00   0.00   0  0.00   0  0  4  2 95
   0   76 64.00   1  0.06   0.00   0  0.00   0.00   0  0.00   2  0  3  1 95
   0   76 19.09  11  0.20   0.00   0  0.00   0.00   0  0.00  22  0  1  2 75
   0   76 22.29   7  0.15   0.00   0  0.00   0.00   0  0.00   5  0  5  3 87
   0   76 29.67   6  0.17   0.00   0  0.00   0.00   0  0.00   5  0  2  3 91
   0   76 40.00   2  0.08   0.00   0  0.00   0.00   0  0.00   2  0  3  1 94
   0   76 18.50  16  0.29   0.00   0  0.00   0.00   0  0.00  31  0  3  1 65
   0   76 15.18  22  0.32   0.00   0  0.00   0.00   0  0.00  27  0  8  2 63
   0   76 64.00   2  0.12   0.00   0  0.00   0.00   0  0.00   5  0  5  0 89
   0   76 64.00   1  0.06   0.00   0  0.00   0.00   0  0.00   2  0  2  3 93
   0   76 22.00   6  0.13   0.00   0  0.00   0.00   0  0.00   2  0  1  2 96
   0   76 64.00   2  0.12   0.00   0  0.00   0.00   0  0.00   2  0  2  2 95
#

--------------------------------------------------------------------
> I bet your machine is horribly overloaded, and postmap is running fine,
but
> given very little opportunity to run.
>
> Len
>

'top' is idle, the postmap takes no more than 5% cpu. See above.

Andres


Reply via email to