Re: [AMaViS-user] Amavis-new memory usage

2007-07-24 Thread Prashant Dabre
Hi Mark

Can you comment on this issue ?

-Prashant Dabre


Gary V wrote:
 Prashant wrote:

   
 Hi,
 

   
 I am also facing the same problem while upgrading  amavis to version 
 2.4.5. I have not included any blacklist rule in spamassassin
 

   
   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
  8487 amavis16   0  273m 263m 5004 S  0.0 13.0   1:42.57 amavisd
  8484 amavis15   0  260m 250m 4960 S  0.0 12.3   2:19.15 amavisd
  8481 amavis16   0  217m 207m 5000 S  0.0 10.2   1:53.16 amavisd
  8479 amavis16   0  217m 207m 4960 S  0.0 10.2   1:26.47 amavisd
  8483 amavis16   0  208m 193m 4952 S  0.0  9.5   1:37.21 amavisd
  8482 amavis16   0  142m 131m 4960 S  0.0  6.5   1:45.12 amavisd
  8480 amavis16   0  133m 121m 4952 S  4.7  6.0   0:44.37 amavisd
 

   
 --Prashant Dabre
 

 Right, it seems your problem is unrelated. I don't recall seeing
 anything like this happen before so the cause is unknown and I'm not sure
 how you would go about trying to debug this. Mark is out of town
 for 3 weeks, he may offer some idea when he returns.

 Gary V


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 AMaViS-user mailing list
 AMaViS-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/amavis-user
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
 AMaViS-HowTos:http://www.amavis.org/howto/

   





--
 The sender of this email subscribes to Perimeter eSecurity's email
 anti-virus service. This email has been scanned for malicious code and is
 believed to be virus free. For more information on email security please
 visit: http://www.perimeterusa.com/email-defense-content.html
 This communication is confidential, intended only for the named recipient(s)
 above and may contain trade secrets or other information that is exempt from
 disclosure under applicable law. Any use, dissemination, distribution or
 copying of this communication by anyone other than the named recipient(s) is
 strictly prohibited. If you have received this communication in error, please
 delete the email and immediately notify our Command Center at 203-541-3444.

 Thanks 
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Amavis-new memory usage

2007-07-04 Thread Prashant Dabre
Hi,

I am also facing the same problem while upgrading  amavis to version 
2.4.5. I have not included any blacklist rule in spamassassin

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 8487 amavis16   0  273m 263m 5004 S  0.0 13.0   1:42.57 amavisd
 8484 amavis15   0  260m 250m 4960 S  0.0 12.3   2:19.15 amavisd
 8481 amavis16   0  217m 207m 5000 S  0.0 10.2   1:53.16 amavisd
 8479 amavis16   0  217m 207m 4960 S  0.0 10.2   1:26.47 amavisd
 8483 amavis16   0  208m 193m 4952 S  0.0  9.5   1:37.21 amavisd
 8482 amavis16   0  142m 131m 4960 S  0.0  6.5   1:45.12 amavisd
 8480 amavis16   0  133m 121m 4952 S  4.7  6.0   0:44.37 amavisd


--Prashant Dabre

Gary V wrote:
 Steven wrote:

   
 We're running amavis-new on  an internal mail server that doesn't see a
 whole lot of traffic and only has about 15 users, but seeing a LOT of memory
 usage at all times by amavisd.
 

   
 The server is a VMware virtual image of CentOS 4.3.  It's got two processors
 and about 1.5GB of ram allocated.  We're using postfix with virtual users in
 MySQL as our MTA and the amavis version is 2.5.0
 

   
 This is the sort of system usage we see from amavis all the time.  Once the
 process gets ramped up and the children get created it sits at this memory
 usage and basically never moves up or down more than a percentage point.
 

   
 top - 09:32:20 up 7 days, 20:01,  1 user,  load average: 0.69, 0.60, 0.39
 Tasks: 137 total,   1 running, 136 sleeping,   0 stopped,   0 zombie
 Cpu(s):  0.2% us,  0.5% sy,  0.0% ni, 99.3% id,  0.0% wa,  0.0% hi,  0.0% si
 Mem:   1814836k total,  1400840k used,   413996k free,67656k buffers
 Swap:  2031608k total,  208k used,  2031400k free,   257344k cached
 

   
   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
  1212 amavis18   0  437m 412m 2968 S  0.0 23.3   3:11.92 amavisd
  4760 amavis16   0  436m 411m 2876 S  0.0 23.2   1:08.40 amavisd
 21985 amavis16   0  434m 409m 2732 S  0.0 23.1   2:03.53 amavisd
 

   
 Turning off Clam altogether has no affect.  
 

   
 Does anyone have any idea why we're seeing this and what we can do to bring
 it down?  A few hundred megs of memory per process is pretty steep.  
 

   
 Thanks,
 Steven
 

 This looks like you have included a *blacklist* rule set.
 http://marc.info/?l=spamassassin-usersm=118346997827114

 Gary V



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 AMaViS-user mailing list
 AMaViS-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/amavis-user
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
 AMaViS-HowTos:http://www.amavis.org/howto/

   





--
 The sender of this email subscribes to Perimeter eSecurity's email
 anti-virus service. This email has been scanned for malicious code and is
 believed to be virus free. For more information on email security please
 visit: http://www.perimeterusa.com/email-defense-content.html
 This communication is confidential, intended only for the named recipient(s)
 above and may contain trade secrets or other information that is exempt from
 disclosure under applicable law. Any use, dissemination, distribution or
 copying of this communication by anyone other than the named recipient(s) is
 strictly prohibited. If you have received this communication in error, please
 delete the email and immediately notify our Command Center at 203-541-3444.

 Thanks 
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] memory leak problem in version, amavisd-new-2.4.3 (20060930)

2007-07-02 Thread Prashant Dabre
 6244 4340 S  0.0  0.3   0:00.00 httpd
10468 apache18   0 16288 6244 4340 S  0.0  0.3   0:00.00 httpd
 2955 root  16   0 14008 5816 4040 S  0.0  0.3   0:01.19 httpd

# ps auxwww |grep amavisd
amavis8476  0.0  2.0 51896 41536 ?   Ss   
03:13   0:00 amavisd (master)
amavis8479  0.2  4.8 *110628*   100524   ?S
03:13   0:38 amavisd (ch4-08479-04-40-idle)
amavis8480  0.0  3.5 83296 73124 ?S
03:13   0:06 amavisd (ch1-avail)
amavis8481  0.0  2.5 63344 53144 ?S
03:13   0:16 amavisd (ch3-avail)
amavis8482  0.3  3.7 88168 77912 ?S
03:13   0:58 amavisd (ch4-08482-04-12-idle)
amavis8484  0.2  5.7 *128576*   118296?   S
03:13   0:40 amavisd (ch3-08484-03-15-idle)
amavis8485  0.0  2.1 54496 44388 ?S
03:13   0:02 amavisd (ch1-avail)
amavis8487  0.1  3.7 87204 77020 ?S
03:13   0:19 amavisd (ch3-08487-03-56-idle)
amavis8488  0.0  2.7 67532 57344 ?   S
03:13   0:12 amavisd (ch1-avail)
amavis8486  0.2  3.4 81264 70900 ?   S
03:13   0:40 amavisd (ch2-avail)
amavis8483  0.1  7.7 *170560*160348   ?  S
03:13   0:24 amavisd (ch2-08483-02-15-idle)


I wonder what could be the problem. As I don't see any errors in maillog 
/ amavis log. Mails were getting properly scanned in a moderate amount 
of time.
What I have observed, when I upgraded to new amavisd, mosts of the 
amavisd processes started eating the available memory in the span of 6 
hours.


--
Prashant Dabre

 
[EMAIL PROTECTED] wrote:

Date: Tue, 26 Jun 2007 20:19:29 +0200 From: Mark Martinec 
[EMAIL PROTECTED] Subject: Re: [AMaViS-user] memory leak 
problem in version amavisd-new-2.4.3 (20060930) To: 
amavis-user@lists.sourceforge.net Message-ID: 
[EMAIL PROTECTED] Content-Type: 
text/plain; charset=us-ascii Prashant Dabre,

  I am currently using amavisd-new-2.3.1. While upgrading to version 2.4.3
   

Why would one want to 'upgrade' to a nine months old version?


  I have not changed my old amavisd conf file which I am using
  with amavisd-new-2.3.1 . 
   
Ok.

  I started getting memory problem. I have also tried to increase
  the log level of amavis to 5 but not found any error in maillog.
   

  Are there any memory related issues reported for 
  this version amavisd-new-2.4.3 (20060930) ?
   
Not that I would know.

  I am using Red Hat Enterprise Linux ES release 4 (Nahant). Following is
  the output of top command :
   

This doesn't tell much. The output of ps would be more informative.

PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
  30679 amavis16   0 86492  74m 4948 S  0.0  3.7   0:16.58 amavisd
   
Ok, and what was the VIRT/RES/SHR with previous version?
50-90 MB of virtual memory per process looks pretty much normal.
Have you kept the number of child processes the same?

  Mark







--
 The sender of this email subscribes to Perimeter eSecurity's email
 anti-virus service. This email has been scanned for malicious code and is
 believed to be virus free. For more information on email security please
 visit: http://www.perimeterusa.com/email-defense-content.html
 This communication is confidential, intended only for the named recipient(s)
 above and may contain trade secrets or other information that is exempt from
 disclosure under applicable law. Any use, dissemination, distribution or
 copying of this communication by anyone other than the named recipient(s) is
 strictly prohibited. If you have received this communication in error, please
 delete the email and immediately notify our Command Center at 203-541-3444.

 Thanks 
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] memory leak problem in version amavisd-new-2.4.3 (20060930)

2007-06-26 Thread Prashant Dabre
Hi,

I am currently using amavisd-new-2.3.1. While upgrading to version 2.4.3 
, I started getting memory problem. I have not changed my old amavisd 
conf file which I am using with amavisd-new-2.3.1 .

I have also tried to increase the log level of amavis to 5 but not found 
any error in maillog.  Are there any memory related issues reported for 
this version amavisd-new-2.4.3 (20060930) ?

I am using Red Hat Enterprise Linux ES release 4 (Nahant). Following is 
the output of top command :
*
1. **Available **Memory  before upgrading amavis*
-
top - 02:26:41 up 6 days, 15:13,  4 users,  load average: 0.05, 0.16, 0.11
Tasks: 111 total,   1 running, 110 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2% us,  0.1% sy,  0.0% ni, 99.8% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:   2075220k total,  1194740k used,   *880480k free*,45140k buffers
Swap:  1048568k total,64512k used,   984056k free,   403400k cached
-

*2. **Available** Memory after **upgrading amavis to 2.4.3 (after 3 hours)*
-
top - 05:38:55 up 6 days, 18:25,  4 users,  load average: 0.17, 0.05, 0.01
Tasks: 108 total,   1 running, 107 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.8% us,  0.3% sy,  0.0% ni, 96.6% id,  2.1% wa,  0.1% hi,  0.1% si
Mem:   2075220k total,  1783916k used,   *291304k free*,49876k buffers
Swap:  1048568k total,64504k used,   984064k free,   862464k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
30679 amavis16   0 86492  74m 4948 S  0.0  3.7   0:16.58 amavisd
30682 amavis16   0 62076  51m 4948 S  3.0  2.5   0:16.00 amavisd
30685 amavis16   0 60760  49m 4944 S  0.0  2.5   0:07.40 amavisd
 3276 root  16   0  509m  48m  15m S  0.0  2.4  43:59.04 ns-slapd
30678 amavis16   0 54208  43m 4952 S  0.0  2.1   0:10.68 amavisd
30686 amavis16   0 52700  41m 4944 S  0.0  2.1   0:03.15 amavisd
30687 amavis16   0 52452  41m 4948 S  0.0  2.1   0:03.89 amavisd
30684 amavis16   0 52396  41m 4944 S  0.0  2.0   0:02.75 amavisd
30645 amavis16   0 50912  39m 4816 S  0.0  2.0   0:00.38 amavisd
30680 amavis16   0 50912  39m 4816 S  0.0  2.0   0:00.00 amavisd
30681 amavis16   0 50912  39m 4816 S  0.0  2.0   0:00.00 amavisd
30683 amavis16   0 50912  39m 4816 S  0.0  2.0   0:00.00 amavisd


Thanks,
Prashant Dabre





--
 The sender of this email subscribes to Perimeter eSecurity's email
 anti-virus service. This email has been scanned for malicious code and is
 believed to be virus free. For more information on email security please
 visit: http://www.perimeterusa.com/email-defense-content.html
 This communication is confidential, intended only for the named recipient(s)
 above and may contain trade secrets or other information that is exempt from
 disclosure under applicable law. Any use, dissemination, distribution or
 copying of this communication by anyone other than the named recipient(s) is
 strictly prohibited. If you have received this communication in error, please
 delete the email and immediately notify our Command Center at 203-541-3444.

 Thanks 
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/