Alan,

>I using a version 2

what version ?

>At 05:03:39 Nagios reported free memory was 71M
>Next alert at 05:39:39 - 436 MB of free memory

So assp has used ~365 MB - this is an expected minimum value. Havy load 
systems are running at 1 GB RAM (or even more - depending on the 
configuration).

Thomas






Alan McNeil <[email protected]> 
30.10.2009 00:15
Bitte antworten an
ASSP development mailing list <[email protected]>


An
ASSP development mailing list <[email protected]>
Kopie

Thema
[Assp-test] Memory Leakage and crash under linux






Linux assp users,
Is anyone else having major memory leakage problems under linux? Scott 
MacLean reported leakage under windows - msg03975.

I'm seeing 15Mb / hour of size creep on assp. Yes, it is just assp 
doing it. I've isolated everything in a virtual server. When I stop 
assp, free memory return to the exact value before starting assp. I 
using a version 2. All versions I've used have had leakage but it's 
gotten worse. I'm using clamav but no other add-ons like OCR.

I used to be able to survive most of a day before needing a restart 
but last night assp crashed with no sign of why in the log after just 
a 6 hour run.

At 05:03:39 Nagios reported free memory was 71M (Nagios warning level 
75M). Memory dropped 2Meg a minute for the next 6 minutes but
never hit the magic 50M free level that would have paged me.

Next alert at 05:39:39 - 436 MB of free memory followed by loads of 
assp down critical notices. We usually get 4-8 emails from our store 
server at that time.

Here's the last two minutes in a combined postfix and assp log 
slightly edited to protect client domains. Looks like everything was 
fine and then assp just croaked. Looking far back in the log I see 5 
workers at once is the high point. No FATAL's found.

Alan

11:37:09 [Main_Thread] Info: Main_Thread got connection request
11:37:09 [Worker_1] Worker_1 wakes up
11:37:09 [Worker_1] Info: Worker_1 got connection from MainThread
11:37:09 [Main_Thread] Info: Main_Thread freed by idle Worker_1 in 
0.009 seconds
11:37:09 smtp postfix/smtpd[26174]: connect from submit[10.0.0.102]
11:37:09 16229-12933 [Worker_1] 123.238.184.212 
<[email protected] 
 > Regex:InvalidFormatHeloRe 'PB 10: for fc3'
11:37:09 16229-12933 [Worker_1] 123.238.184.212 
<[email protected] 
 > Message-Score: added 10 for check invalid HELO: 'fc3', total score 
for this message is now 10
11:37:09 16229-12933 [Worker_1] [InvalidHELO] 123.238.184.212 
<[email protected] 
 > [spam found] (invalid HELO: 'fc3')
11:37:09 16229-12933 [Worker_1] 123.238.184.212 
<[email protected] 
 > [SMTP Error] 554 5.7.1 Helo invalid .
11:37:09 [Worker_1] Worker_1 will sleep now
11:37:09 smtp postfix/smtpd[26174]: lost connection after HELO from 
submit[10.0.0.102]
11:37:09 smtp postfix/smtpd[26174]: disconnect from submit[10.0.0.102]
11:37:27 [Worker_10000] Info: Name Server 216.187.125.130: 
ResponseTime = 1229 ms
11:37:59 [Main_Thread] Info: Main_Thread got connection request
11:37:59 [Worker_1] Worker_1 wakes up
11:37:59 [Worker_1] Info: Worker_1 got connection from MainThread
11:37:59 [Main_Thread] Info: Main_Thread freed by idle Worker_1 in 
0.009 seconds
11:37:59 smtp postfix/smtpd[26150]: connect from submit[10.0.0.102]
11:38:01 16281-07733 [Worker_1] 213.33.254.162 <[email protected]> 
Message-Score: added 5 for Suspicious HELO - contains IP: 
'spb-213-33-254-162.sovintel.ru', total score for this message is now 5
11:38:01 smtp postfix/smtpd[26150]: NOQUEUE: reject: RCPT from 
submit[10.0.0.102]: 550 5.1.1 <[email protected]>: Recipient address 
rejected: User unknown in virtual mailbox table; from=<c...@x- 
domain.com> to=<[email protected]> proto=SMTP 
helo=<spb-213-33-254-162.sovintel.ru>
11:38:02 smtp postfix/smtpd[26150]: lost connection after RCPT from 
submit[10.0.0.102]
11:38:02 smtp postfix/smtpd[26150]: disconnect from submit[10.0.0.102]
11:38:02 [Worker_1] Worker_1 will sleep now
11:38:08 [Main_Thread] Info: Main_Thread got connection request
11:38:08 [Worker_1] Worker_1 wakes up
11:38:08 [Worker_1] Info: Worker_1 got connection from MainThread
11:38:08 [Main_Thread] Info: Main_Thread freed by idle Worker_1 in 
0.009 seconds
11:38:08 smtp postfix/smtpd[26174]: connect from submit[10.0.0.102]
11:38:08 [Main_Thread] Info: Main_Thread got connection request
11:38:08 [Worker_2] Worker_2 wakes up
11:38:08 [Worker_2] Info: Worker_2 got connection from MainThread
11:38:08 [Main_Thread] Info: Main_Thread freed by idle Worker_2 in 
0.009 seconds
11:38:08 smtp postfix/smtpd[26150]: connect from submit[10.0.0.102]
11:38:08 smtp postfix/smtpd[26150]: CB78C10C14F: 
client=submit[10.0.0.102]
11:38:08 smtp postfix/smtpd[26174]: EC10A10C3EB: 
client=submit[10.0.0.102]
11:38:09 16288-08578 [Worker_2] 72.52.134.203 
<[email protected] 
 > to: [email protected] [monitoring] SenderBase -- White 
Organization/Domain 'FoxyCart.com' in cache
11:38:09 16288-02992 [Worker_1] 72.52.134.203 
<[email protected] 
 > to: [email protected] [monitoring] SenderBase -- White 
Organization/Domain 'FoxyCart.com' in cache
11:38:11 [Main_Thread] Info: Main_Thread got connection request
11:38:11 [Worker_3] Worker_3 wakes up
11:38:11 [Worker_3] Info: Worker_3 got connection from MainThread
11:38:11 [Main_Thread] Info: Main_Thread freed by idle Worker_3 in 
0.009 seconds
11:38:11 smtp postfix/smtpd[26200]: connect from submit[10.0.0.102]
11:38:11 [Main_Thread] Info: Main_Thread got connection request
11:38:11 [Worker_3] Info: Worker_3 is interrupted to get new connection
11:38:11 [Worker_3] Info: Worker_3 got connection from MainThread
11:38:11 [Main_Thread] Info: Main_Thread freed by interrupted Worker_3 
in 0.062 seconds
11:38:11 smtp postfix/smtpd[26201]: connect from submit[10.0.0.102]
11:38:11 16291-10505 [Worker_3] 72.52.134.203 
<[email protected] 
 > to: [email protected] [monitoring] SenderBase -- White 
Organization/Domain 'FoxyCart.com' in cache
11:38:11 smtp postfix/smtpd[26200]: 7647F10C419: 
client=submit[10.0.0.102]
11:38:11 smtp postfix/smtpd[26201]: 9429310C41A: 
client=submit[10.0.0.102]
11:38:14 16291-10505 [Worker_3] [SPF] 72.52.134.203 
<[email protected] 
 > to: [email protected] [scoring] SPF: pass (cache) 
ip=72.52.134.203 [email protected] 
helo=mailer.foxycart.com
11:38:14 16291-10505 [Worker_3] 72.52.134.203 
<[email protected] 
 > to: [email protected] Message-Score: added -10 for SPF 
pass, total score for this message is now -10
11:38:14 [Main_Thread] Info: Main_Thread got connection request
11:38:14 [Worker_3] Info: Worker_3 is interrupted to get new connection
11:38:14 [Worker_3] Info: Worker_3 got connection from MainThread
11:38:14 [Main_Thread] Info: Main_Thread freed by interrupted Worker_3 
in 0.037 seconds
11:38:14 smtp postfix/smtpd[26204]: connect from submit[10.0.0.102]
11:38:14 smtp postfix/smtpd[26174]: lost connection after DATA (0 
bytes) from submit[10.0.0.102]
11:38:14 smtp postfix/smtpd[26174]: disconnect from submit[10.0.0.102]
11:38:14 smtp postfix/smtpd[26204]: lost connection after CONNECT from 
submit[10.0.0.102]
11:38:14 smtp postfix/smtpd[26204]: disconnect from submit[10.0.0.102]
11:38:14 smtp postfix/smtpd[26150]: lost connection after DATA (0 
bytes) from submit[10.0.0.102]
11:38:14 smtp postfix/smtpd[26150]: disconnect from submit[10.0.0.102]
11:38:14 smtp postfix/smtpd[26200]: lost connection after DATA (0 
bytes) from submit[10.0.0.102]
11:38:14 smtp postfix/smtpd[26200]: disconnect from submit[10.0.0.102]
11:38:14 smtp postfix/smtpd[26201]: lost connection after RCPT from 
submit[10.0.0.102]
11:38:14 smtp postfix/smtpd[26201]: disconnect from submit[10.0.0.102]

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to