Loading ...
Sorry, an error occurred while loading the content.

234921Re: filling incoming queue

Expand Messages
  • Pavel Urban
    Feb 29, 2008
      Victor Duchovni wrote:
      > On Fri, Feb 29, 2008 at 05:42:52PM +0100, Pavel Urban wrote:
      >
      >>> So a key question here is how long the queue manager gets to run before
      >>> someone (or a cron job?) reloads Postfix. Logs showing either stability
      >>> or instability of the queue manager "pid" over time would be most helpful.
      >>>
      >> Thanks for the tip, but it doesn't seem to be the case
      >>
      >> [root@relay2new ~]# perl -ne 'if (/qmgr\[(\d+)\]/) {print if $last !=
      >> $1; $last=$1;}' </var/log/maillog
      >> Feb 26 12:49:33 relay2new postfix/qmgr[30697]: CF10C78C1DA: from=<>,
      >> size=3596, nrcpt=1 (queue active)
      >> Feb 27 14:09:50 relay2new postfix/qmgr[15012]: CCF6CF2D982:
      >> from=<bichromate@...>, size=3436, nrcpt=20 (queue active)
      >> Feb 28 06:40:53 relay2new postfix/qmgr[23354]: CCF2C808A8C:
      >> from=<jay6santisuk78@...>, size=1048, nrcpt=1 (queue active)
      >> Feb 28 08:23:15 relay2new postfix/qmgr[32517]: CC49F7BD1BC:
      >> from=<byung-uk@...>, size=2346, nrcpt=1 (queue active)
      >> Feb 28 12:17:39 relay2new postfix/qmgr[29852]: CC9C57B928E:
      >> from=<yeoman@...>, size=13049, nrcpt=1 (queue active)
      >> Feb 29 07:27:33 relay2new postfix/qmgr[17158]: CCE867AFA0B:
      >> from=<elknarf@...>, size=1816, nrcpt=1 (queue active)
      >
      > With that out of the way, what is the output rate? (qmgr[pid]: qid:
      > removed log entries per minute). What is the input rate? (cleanup[pid]:
      > qid: message-id=<...> entries per minute)?
      >
      > Inject a new message into the queue. Find its queue id in the logs. What
      > is the current time (from date(1)) and the timestamp of the queue file
      > in the incoming queue (from "ls -l").
      >
      > What table mechanisms are used for address class and transport lookups?
      >

      [root@relay2new skripty]# tail -1000000 /var/log/maillog |./analyzuj.pl
      last minute cleanup count: 632
      last minute qmgr count: 401
      last minute qmgr count: 829
      last minute cleanup count: 1248
      last minute cleanup count: 1254
      last minute qmgr count: 819
      last minute cleanup count: 1250
      last minute qmgr count: 832
      last minute qmgr count: 677
      last minute cleanup count: 1093
      last minute qmgr count: 807
      last minute cleanup count: 1237
      last minute cleanup count: 1210
      last minute qmgr count: 854
      last minute cleanup count: 1080
      last minute qmgr count: 711
      last minute qmgr count: 686
      last minute cleanup count: 1083
      last minute cleanup count: 1182
      last minute qmgr count: 732
      last minute qmgr count: 844
      last minute cleanup count: 1305
      last minute cleanup count: 1332
      last minute qmgr count: 866
      last minute qmgr count: 855
      last minute cleanup count: 1300
      last minute cleanup count: 1235
      last minute qmgr count: 852
      last minute cleanup count: 1137
      last minute qmgr count: 699
      last minute cleanup count: 1191
      last minute qmgr count: 784
      last minute cleanup count: 1180
      last minute qmgr count: 721
      last minute cleanup count: 1273
      last minute qmgr count: 733
      last minute cleanup count: 1222
      last minute qmgr count: 708
      last minute qmgr count: 876
      last minute cleanup count: 1337
      last minute qmgr count: 933
      last minute cleanup count: 1469
      last minute cleanup count: 1333
      last minute qmgr count: 913
      last minute qmgr count: 924
      last minute cleanup count: 1281
      last minute cleanup count: 1387
      last minute qmgr count: 954
      last minute qmgr count: 757
      last minute cleanup count: 1222
      last minute cleanup count: 1143
      last minute qmgr count: 699
      last minute cleanup count: 1143
      last minute qmgr count: 690
      last minute cleanup count: 1168
      last minute qmgr count: 705
      last minute qmgr count: 671
      last minute cleanup count: 1171
      last minute qmgr count: 631
      last minute cleanup count: 1114
      last minute cleanup count: 1173
      last minute qmgr count: 670
      last minute qmgr count: 728
      last minute cleanup count: 1171
      last minute cleanup count: 1169
      last minute qmgr count: 693
      last minute cleanup count: 1109
      last minute qmgr count: 613
      last minute cleanup count: 1049
      last minute qmgr count: 640
      last minute qmgr count: 677
      last minute cleanup count: 1121
      last minute cleanup count: 1126
      last minute qmgr count: 638
      last minute cleanup count: 1160
      last minute qmgr count: 668
      last minute qmgr count: 683
      last minute cleanup count: 1159
      last minute cleanup count: 1149
      last minute qmgr count: 636
      last minute cleanup count: 1215
      last minute qmgr count: 626
      last minute qmgr count: 1185
      last minute cleanup count: 1584
      last minute cleanup count: 1665
      last minute qmgr count: 1236
      last minute cleanup count: 1188
      last minute qmgr count: 713
      last minute cleanup count: 1247
      last minute qmgr count: 817
      last minute cleanup count: 1171
      last minute qmgr count: 769
      last minute cleanup count: 1227
      last minute qmgr count: 762
      last minute cleanup count: 1143
      last minute qmgr count: 652
      last minute qmgr count: 784
      last minute cleanup count: 1175
      last minute cleanup count: 1390
      last minute qmgr count: 974
      last minute qmgr count: 1097
      last minute cleanup count: 1439
      last minute cleanup count: 1576
      last minute qmgr count: 1213
      last minute cleanup count: 1526
      last minute qmgr count: 1279
      last minute qmgr count: 1168
      last minute cleanup count: 1480
      last minute cleanup count: 1639
      last minute qmgr count: 1279
      last minute cleanup count: 1665
      last minute qmgr count: 1341
      last minute cleanup count: 1449
      last minute qmgr count: 1145
      last minute qmgr count: 1181
      last minute cleanup count: 1522
      last minute qmgr count: 1351
      last minute cleanup count: 1748
      last minute cleanup count: 1405
      last minute qmgr count: 1090
      last minute qmgr count: 1033
      last minute cleanup count: 1391
      last minute qmgr count: 1074
      last minute cleanup count: 1451
      last minute cleanup count: 1395
      last minute qmgr count: 1112
      last minute cleanup count: 1389
      last minute qmgr count: 1096
      last minute qmgr count: 1021
      last minute cleanup count: 1371
      last minute cleanup count: 1462
      last minute qmgr count: 1132
      last minute qmgr count: 1453
      last minute cleanup count: 1758
      last minute cleanup count: 1449
      last minute qmgr count: 997
      last minute cleanup count: 1448
      last minute qmgr count: 1139
      last minute cleanup count: 1397
      last minute qmgr count: 1055
      last minute cleanup count: 1728
      last minute qmgr count: 1520
      last minute qmgr count: 1592
      last minute cleanup count: 1790
      last minute qmgr count: 1076
      last minute cleanup count: 1256
      last minute cleanup count: 1449
      last minute qmgr count: 1288
      last minute qmgr count: 1136
      last minute cleanup count: 1315
      last minute cleanup count: 1695
      last minute qmgr count: 1404
      last minute cleanup count: 1783
      last minute qmgr count: 1476
      last minute cleanup count: 1822
      last minute qmgr count: 1561
      last minute qmgr count: 1626
      last minute cleanup count: 1841
      last minute qmgr count: 1610
      last minute cleanup count: 1874
      last minute qmgr count: 1413
      last minute cleanup count: 1676
      last minute cleanup count: 1848
      last minute qmgr count: 1616
      last minute qmgr count: 1645
      last minute cleanup count: 1979
      last minute cleanup count: 1861
      last minute qmgr count: 1598
      last minute cleanup count: 1532
      last minute qmgr count: 1245
      last minute cleanup count: 1530
      last minute qmgr count: 1100
      last minute cleanup count: 1703
      last minute qmgr count: 1332
      last minute cleanup count: 1777
      last minute qmgr count: 1501
      last minute cleanup count: 1745
      last minute qmgr count: 1527
      last minute qmgr count: 1518
      last minute cleanup count: 1766
      last minute qmgr count: 1387
      last minute cleanup count: 1552
      last minute qmgr count: 1200
      last minute cleanup count: 1461


      [root@relay2new ~]# ls -l /var/spool/postfix/incoming/7/3/7349D7E7B3B
      -rwx------ 1 postfix postfix 2748 Feb 29 19:54
      /var/spool/postfix/incoming/7/3/7349D7E7B3B
      [root@relay2new ~]# date
      Fri Feb 29 19:54:57 CET 2008

      lookups are just hashed tables (.db), no ldap, no mysql.

      --
      ***********************************************************************
      Pavel Urban (pavel.urban (at) o2.com)
      O2 system disaster
      Telefonica O2 Czech Republic, a.s. - www.cz.o2.com
      ***********************************************************************
      Vegetables should not operate electronic equipment.
      Computer Stupidities, http://rinkworks.com/stupid/
      ***********************************************************************
    • Show all 15 messages in this topic