> > when you do this command, how long does it show:
> >
> > # time /usr/sbin/postmap /etc/postfix/from_senders_slet.map
> > 2.431u 0.407s 0:02.94 96.2%     102+14505k 0+2io 0pf+0w
>
>It does trigger the WUG.

but how what is YOUR number in the position of my "0.407s" above?

>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

and during the 1200 seconds, when you telnet to port 25, what happens?

what does uptime show?

/var/run/dmesg.boot shows what CPU and disk?

If your perhaps low-power machine+disk is already very heavily loaded when 
you run postmap, it would be normal to have a longer postmap time, but 1200 
seconds is insane.

>postmap: warning: /var/Postfix/from_senders_slet.map.db: duplicate entry:
>"nov.17"

these are warnings, ignore them.

>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.

iostat -c 40

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

Len



Reply via email to