# top
top - 13:26:27 up  1:15,  2 users,  load average: 0.34, 0.56, 0.67
Tasks: 274 total,   1 running, 273 sleeping,   0 stopped,   0 zombie
Cpu(s):  8.1%us,  2.3%sy,  0.0%ni, 89.4%id,  0.1%wa,  0.0%hi,  0.0%si,
0.0%st
Mem:  12301940k total,  2901636k used,  9400304k free,   138784k buffers
Swap:  4192956k total,        0k used,  4192956k free,  1153864k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
COMMAND
 3620 mysql     15   0  259m  35m 4588 S 21.3  0.3   3:46.33
mysqld
19058 postfix   16   0  289m  95m 2340 S 13.9  0.8   0:00.54
MailScanner
19070 postfix   15   0  285m  91m 2380 S  9.3  0.8   0:00.28
MailScanner
19101 postfix   16   0  288m  94m 2236 S  7.6  0.8   0:00.23
MailScanner
19081 postfix   15   0  284m  90m 2164 S  4.6  0.8   0:00.14
MailScanner
 3964 apache    15   0  448m  42m 5996 S  1.0  0.4   0:02.34
httpd
 4145 root      21   0 3426m  94m 9252 S  1.0  0.8   0:24.47
java
 4251 postfix   17   0  284m  93m 5164 S  0.7  0.8   0:28.10
MailScanner
 4344 postfix   17   0  288m  97m 5172 S  0.7  0.8   0:30.41
MailScanner
18480 root      15   0 12892 1244  824 R  0.7  0.0   0:00.34
top
19260 root      15   0 70324 3144 1464 S  0.7  0.0   0:02.40
dccifd
 3731 rabbitmq  25   0  154m  29m 2108 S  0.3  0.2   0:02.10
beam.smp
 4013 root      16   0 62468 2600 1956 S  0.3  0.0   0:02.20
master
 4179 postfix   17   0  285m  94m 5168 S  0.3  0.8   0:33.81
MailScanner
 6976 postfix   15   0 62804 3132 2408 S  0.3  0.0   0:00.12
cleanup

[root@mx ~]# free -m
             total       used       free     shared    buffers     cached
Mem:         12013       2835       9177          0        135       1127
-/+ buffers/cache:       1573      10440
Swap:         4094          0       4094

*[root@mx ~]# iostat *
Linux 2.6.18-274.7.1.el5 (mx.server.com)     11/23/2011

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           5.92    0.02    1.76    0.35    0.00   91.94

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda              89.65       305.37      1644.30    1422814    7661368
sda1              0.12         0.57         0.01       2635         56
sda2              0.12         0.49         0.00       2279          0
sda3             86.55       301.19      1644.29    1403339    7661312
sdb              12.47        96.05       419.45     447526    1954360
sdb1             11.46        94.72       419.45     441333    1954360

Even we have good hardware but i do not know what causes high message
scanning delay ?


On Thu, Nov 24, 2011 at 12:54 AM, [email protected] <[email protected]
> wrote:

> Hello,
>
> Our hardware configuration is as below:
>
> Intel Xeon-Clovertown 5320L-QuadCore [1.86GHz]
> 12 GB DDR 2 RAM
> Seagate Cheetah ST3300655SS [300GB] * 2 HDD
> 100 (Mbps) port speed
>
> On Thu, Nov 24, 2011 at 12:49 AM, Anis Jendoubi 
> <[email protected]>wrote:
>
>> and honestly, >15 seconds for each message is veeeeeeery baaaaad!!!!!!!
>> check your HDD I/O maybe that's the bottleneck?
>>
>>
>> On 23 November 2011 19:17, Anis Jendoubi <[email protected]> wrote:
>>
>>> it all depend on what are the server resources, how much RAM? how much
>>> CPU power? is it a VM machine? How many inbound and outbound mails you're
>>> filtering? do you use shared storage? NFS? iSCSI? SAN? etc etc.....
>>> the delay is definetly dependant on your hardware resources quality and
>>> how did you configure your postfix/AV/filetring rules etc etc.... so
>>> there's no specific answer to your request/question.
>>>
>>>
>>> On 23 November 2011 19:11, [email protected] <[email protected]>wrote:
>>>
>>>> Nov 21 04:53:42 mx MailScanner[9427]: Batch (1 message) processed in
>>>> 16.00 seconds
>>>> Nov 21 04:53:46 mx MailScanner[9590]: Batch (1 message) processed in
>>>> 15.45 seconds
>>>> Nov 21 04:53:56 mx MailScanner[9305]: Batch (1 message) processed in
>>>> 15.61 seconds
>>>> Nov 21 04:54:00 mx MailScanner[9562]: Batch (2 messages) processed in
>>>> 29.93 seconds
>>>>
>>>> Each message is taking  > 15 seconds.
>>>>
>>>> it is default configuration of Baruwa and MailScanner.
>>>>
>>>> Which parameter should i tune to increase it ?
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Nov 24, 2011 at 12:33 AM, [email protected] <
>>>> [email protected]> wrote:
>>>>
>>>>>
>>>>> Why it is taking too much time while scanning ?
>>>>>
>>>>>
>>>>>     Nov 23 12:30:07 mx postfix/qmgr[4030]: 07EE83208502: from=<
>>>>> [email protected]>, size=7116, nrcpt=1 (queue active)
>>>>>     Nov 23 12:30:07 mx postfix/qmgr[4030]: 7FB1E3208396: from=<
>>>>> [email protected]>, size=2647, nrcpt=9 (queue active)
>>>>>     Nov 23 12:30:07 mx MailScanner[4251]: Deleted 30 messages from
>>>>> processing-database
>>>>>     Nov 23 12:30:07 mx MailScanner[4251]: Batch completed at 1461
>>>>> bytes per second (577340 / 395)
>>>>> *    Nov 23 12:30:07 mx MailScanner[4251]: Batch (30 messages)
>>>>> processed in 395.15 seconds*
>>>>>     Nov 23 12:30:07 mx MailScanner[4251]: Baruwa: Logging message
>>>>> 94D9E320852C.ABF91 to SQL
>>>>>     Nov 23 12:30:07 mx MailScanner[4251]: Baruwa: Logging message
>>>>> 8FF1B3208502.AAE5E to SQL
>>>>>     Nov 23 12:30:07 mx MailScanner[4251]: Baruwa: Logging message
>>>>> 9698032082B2.AA246 to SQL
>>>>>     Nov 23 12:30:07 mx MailScanner[4251]: Baruwa: Logging message
>>>>> E87533208739.A09E4 to SQL
>>>>>     Nov 23 12:30:07 mx MailScanner[4251]: Baruwa: Logging message
>>>>> 1814C320821B.A7A55 to SQL
>>>>>     Nov 23 12:30:07 mx MailScanner[4251]: Baruwa: Logging message
>>>>> 7262D32085A0.AA16B to SQL
>>>>>
>>>>> Even I have deleted all rules which we have added for better spam
>>>>> filtration. And restarted server.
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>>>
>>>>>> On Wed, Nov 23, 2011 at 11:59 PM, Jeremy McSpadden <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>>  That does no one any good. We need errors. Keep looking at the
>>>>>>> logs until you see some
>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>>> Jeremy McSpadden
>>>>>>>
>>>>>>> On Nov 23, 2011, at 12:24 PM, "[email protected]" <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>   Hi,
>>>>>>>
>>>>>>> [root@mx ~]# postsuper -r ALL
>>>>>>> postsuper: Requeued: 1602 messages
>>>>>>>
>>>>>>> [root@mx ~]# postqueue -f
>>>>>>> No data
>>>>>>>
>>>>>>> [root@mx ~]# mailq | wc -l
>>>>>>> 5293
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Nov 23, 2011 at 11:50 PM, Jeremy McSpadden <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> postsuper -r ALL; postqueue -f; tail -f /var/log/maillog .. what is
>>>>>>>> the delivery on outbound say ?
>>>>>>>>
>>>>>>>>  --****
>>>>>>>>  Jeremy McSpadden****
>>>>>>>>  Flux Labs, Inc****
>>>>>>>>  http://www.fluxlabs.net
>>>>>>>> Endless Solutions****
>>>>>>>>  *Office* : 850-588-4626****
>>>>>>>>  *Cell* : 850-890-2543
>>>>>>>> *Fax* : 850-254-2955
>>>>>>>>
>>>>>>>>   On Nov 23, 2011, at 12:17 PM, [email protected] wrote:
>>>>>>>>
>>>>>>>> HI,
>>>>>>>>
>>>>>>>> maillogs are as below:
>>>>>>>>
>>>>>>>> Nov 23 12:16:05 mx MailScanner[4380]: Content Checks: Detected and
>>>>>>>> have disarmed web bug tags in HTML message in 227D33208464.A7786 from
>>>>>>>> [email protected]
>>>>>>>> Nov 23 12:16:05 mx MailScanner[4380]: Content Checks: Detected and
>>>>>>>> have disarmed web bug tags in HTML message in 40A1032085DA.ACDF0 from
>>>>>>>> [email protected]
>>>>>>>> Nov 23 12:16:05 mx MailScanner[4380]: Requeue: A4D60320868B.A5EF4
>>>>>>>> to 308BC320813C
>>>>>>>> Nov 23 12:16:05 mx MailScanner[4380]: Requeue: 54593320810B.AAA83
>>>>>>>> to 826E032081B3
>>>>>>>> Nov 23 12:16:05 mx MailScanner[4380]: Requeue: 983A932086E3.AA44B
>>>>>>>> to 5EADA320810B
>>>>>>>> Nov 23 12:16:05 mx MailScanner[4380]: Requeue: 27D4532082C6.A3D7D
>>>>>>>> to A21783208255
>>>>>>>> Nov 23 12:16:05 mx MailScanner[4380]: Requeue: 096833208679.A2111
>>>>>>>> to D7B5B3208292
>>>>>>>> Nov 23 12:16:06 mx MailScanner[4380]: Requeue: 1D1CE3208677.AF1B3
>>>>>>>> to 8197632082C6
>>>>>>>> Nov 23 12:16:06 mx MailScanner[4380]: Requeue: 0FB4632085BE.A1C83
>>>>>>>> to 47F4A32082F1
>>>>>>>> Nov 23 12:16:06 mx MailScanner[4380]: Requeue: 932F03208621.ACEE9
>>>>>>>> to D5AA8320837E
>>>>>>>> Nov 23 12:16:06 mx MailScanner[4380]: Requeue: C0ECB32080DC.A2D8C
>>>>>>>> to AF4A432083D9
>>>>>>>> Nov 23 12:16:06 mx MailScanner[4380]: Requeue: 227D33208464.A7786
>>>>>>>> to D800C32080DC
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> 2186332084D4.A0864 to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> CD320320842E.A126E to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> BAB6D32085EB.A16F5 to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> 9FB8D320855F.A03BB to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> E9FC3320848D.A116B to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> 3BD32320828E.A166D to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> D32DF3208473.A25E2 to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> 8F9503208550.A04D2 to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> 506E532084FC.A0BE8 to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> A1FFF3208389.AF4D4 to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> C711F3208583.AF674 to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> 30E4232084F6.A1D1F to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Baruwa: Logging message
>>>>>>>> DA490320858C.A06F1 to SQL
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: "Always Looked Up Last" took
>>>>>>>> 0.02 seconds
>>>>>>>> Nov 23 12:16:55 mx postfix/smtpd[4547]: connect from
>>>>>>>> mailc-ae.linkedin.com[69.28.147.156]
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Making attempt 4 at
>>>>>>>> processing message D6BD53208409.A4489
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Making attempt 2 at
>>>>>>>> processing message EBE4232082CC.A71B9
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Making attempt 4 at
>>>>>>>> processing message DBF6D3208173.A5237
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Making attempt 2 at
>>>>>>>> processing message 3F27332081FF.ADBE5
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Making attempt 2 at
>>>>>>>> processing message 3C0B4320833D.AAD56
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Making attempt 3 at
>>>>>>>> processing message C13ED32086BA.A0FEE
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Making attempt 2 at
>>>>>>>> processing message 4E0B93208682.A2432
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Making attempt 4 at
>>>>>>>> processing message A90CD3208213.AE451
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Making attempt 3 at
>>>>>>>> processing message E9ED0320818B.A8E57
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: New Batch: Found 1597
>>>>>>>> messages waiting
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: New Batch: Scanning 30
>>>>>>>> messages, 656677 bytes
>>>>>>>> Nov 23 12:16:55 mx postfix/smtpd[4547]: 70593320819F: client=
>>>>>>>> mailc-ae.linkedin.com[69.28.147.156]
>>>>>>>> Nov 23 12:16:55 mx postfix/cleanup[4548]: 70593320819F: hold:
>>>>>>>> header Received: from mailc-ae.linkedin.com 
>>>>>>>> (mailc-ae.linkedin.com[69.28.147.156])??by
>>>>>>>> mx.server.com (Postfix) with ESMTP id 70593320819F??for <
>>>>>>>> [email protected]>; Wed, 23 Nov 2011 12:16:55  from
>>>>>>>> mailc-ae.linkedin.com[69.28.147.156]; from=<
>>>>>>>> s-vjd4ngkizxai3rgqtczbadi90ngll8lqzedq6jjotxvm5nuhoqv...@bounce.linkedin.com>
>>>>>>>> to=<[email protected]> proto=ESMTP helo=<mailc-ae.linkedin.com>
>>>>>>>> Nov 23 12:16:55 mx postfix/cleanup[4548]: 70593320819F: message-id=<
>>>>>>>> 2133469260.232054008.1322072214798.javamail....@ela4-app0105.prod>
>>>>>>>> Nov 23 12:16:55 mx postfix/smtpd[4040]: connect from
>>>>>>>> ks34746.kimsufi.com[213.251.174.136]
>>>>>>>> Nov 23 12:16:55 mx MailScanner[4380]: Virus and Content Scanning:
>>>>>>>> Starting
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Nov 23, 2011 at 11:38 PM, [email protected] <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> I am not getting any error log while checking maillog. I did
>>>>>>>>> spamassassin --lint and MailScanner --lint. Both went ok without any 
>>>>>>>>> error.
>>>>>>>>>
>>>>>>>>> My mailq is ~ 6000
>>>>>>>>>
>>>>>>>>> Mails are not getting delivered to destination mail server.
>>>>>>>>>
>>>>>>>>> I can see those in maillogs but not in baruwa interface.
>>>>>>>>>
>>>>>>>>> Also do let me know what should I provide else?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Nov 23, 2011 at 11:33 PM, Jeremy McSpadden <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> When you email the ML, make sure you've pasted some sort of logs.
>>>>>>>>>> We cannot troubleshoot something this vague. Check your logs and see 
>>>>>>>>>> what
>>>>>>>>>> their telling you.
>>>>>>>>>>  --****
>>>>>>>>>>  Jeremy McSpadden****
>>>>>>>>>>  Flux Labs, Inc****
>>>>>>>>>>  http://www.fluxlabs.net
>>>>>>>>>> Endless Solutions****
>>>>>>>>>>  *Office* : 850-588-4626****
>>>>>>>>>>  *Cell* : 850-890-2543
>>>>>>>>>> *Fax* : 850-254-2955
>>>>>>>>>>
>>>>>>>>>>   On Nov 23, 2011, at 12:00 PM, [email protected] wrote:
>>>>>>>>>>
>>>>>>>>>>   Hello,
>>>>>>>>>>
>>>>>>>>>> We have installed Baruwa and it is running fine. But now baruwa
>>>>>>>>>> interface is not showing or refreshing new mails and mails are 
>>>>>>>>>> getting
>>>>>>>>>> placed in mailq.
>>>>>>>>>>
>>>>>>>>>> What could be the reason ?
>>>>>>>>>>
>>>>>>>>>> Even it takes too much time to deliver.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Kind regards,
>>>>>>>>>> Dhaval Soni ( RHCA )
>>>>>>>>>>
>>>>>>>>>> Active Contributor of *LinuxArticles.org*<http://LinuxArticles.org/>
>>>>>>>>>>
>>>>>>>>>>  _______________________________________________
>>>>>>>>>> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Kind regards,
>>>>>>>>> Dhaval Soni ( RHCA )
>>>>>>>>>
>>>>>>>>> Active Contributor of *LinuxArticles.org*<http://LinuxArticles.org/>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Kind regards,
>>>>>>>> Dhaval Soni ( RHCA )
>>>>>>>>
>>>>>>>> Active Contributor of *LinuxArticles.org*<http://LinuxArticles.org/>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Kind regards,
>>>>>>> Dhaval Soni ( RHCA )
>>>>>>>
>>>>>>> Active Contributor of *LinuxArticles.org* <http://LinuxArticles.org>
>>>>>>>
>>>>>>>   _______________________________________________
>>>>>>> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Kind regards,
>>>>>> Dhaval Soni ( RHCA )
>>>>>>
>>>>>> Active Contributor of *LinuxArticles.org* <http://LinuxArticles.org>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Kind regards,
>>>>> Dhaval Soni ( RHCA )
>>>>>
>>>>> Active Contributor of *LinuxArticles.org* <http://LinuxArticles.org>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Kind regards,
>>>> Dhaval Soni ( RHCA )
>>>>
>>>> Active Contributor of *LinuxArticles.org* <http://LinuxArticles.org>
>>>>
>>>>
>>>> _______________________________________________
>>>> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>>
>>
>
>
> --
> Kind regards,
> Dhaval Soni ( RHCA )
>
> Active Contributor of *LinuxArticles.org* <http://LinuxArticles.org>
>
>


-- 
Kind regards,
Dhaval Soni ( RHCA )

Active Contributor of *LinuxArticles.org* <http://LinuxArticles.org>
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to