email clients timeouts and [cp] defunct zombie processes

This forum is for all copfilter version 2 support related questions in English. (IPCop version 2)
Post Reply
dimiszk
Posts: 6
Joined: 25 Nov 2014 12:06

email clients timeouts and [cp] defunct zombie processes

Post by dimiszk » 20 May 2015 09:09

Hi
i'm using ipcop v 2.1.9 with copfilter 2.1.93beta1
i' ve got several problems with timeouts at email clients and have noticed this:
i' ve got A LOT of Zombies cp defunct processes
When i stop p3scan, zombies processes killed and everything is fine but no
emails are scanning anymore. When i started again the same problem occurs.
Could someone helps me to solve the problem, because my client
complaints is those timeouts??

Thank you

ShelbyGT500
Posts: 846
Joined: 13 May 2010 22:37
Location: FRANCE

Re: email clients timeouts and [cp] defunct zombie processes

Post by ShelbyGT500 » 21 May 2015 20:06

Hi,

What about P3scan log ?

This issue can be observed if you use few RAM and low CPU, and enable Spamassassin with all options (Razor, RBL,...) and enable Clamav with all third party sigs, and other virus scanner.
What are your RAM, CPU, and settings ?

Regards.

ShelbyGT500

dimiszk
Posts: 6
Joined: 25 Nov 2014 12:06

Re: email clients timeouts and [cp] defunct zombie processes

Post by dimiszk » 22 May 2015 07:29

My configuration is
CPU: Intel(R) Atom(TM) CPU D2550 @ 1.86GHz
Memory:3GB
HDD: Samsung SSD 850 EVO 120GB

I am not using ClamaAV and all Razor, DCC, DNSBL, RBK Checks and 3rd Party Rules on Spamassassin are Off

and the problem still exists.

ShelbyGT500
Posts: 846
Joined: 13 May 2010 22:37
Location: FRANCE

Re: email clients timeouts and [cp] defunct zombie processes

Post by ShelbyGT500 » 23 May 2015 10:48

Hi,
dimiszk wrote:My configuration is
CPU: Intel(R) Atom(TM) CPU D2550 @ 1.86GHz
Memory:3GB
HDD: Samsung SSD 850 EVO 120GB
I am not using ClamaAV and all Razor, DCC, DNSBL, RBK Checks and 3rd Party Rules on Spamassassin are Off
Ok, it should work fine.

What about the P3scan log?

if there is nothing , please try from console

Code: Select all

/var/log/copfilter/default/opt/p3scan/etc/init.d/copfilter_p3scan debug >> /tmp/p3scandebug 2>&1
Then try another download of your mails and then watch the debug log when you've the issue.

After debugging restart with

Code: Select all

/var/log/copfilter/default/opt/p3scan/etc/init.d/copfilter_p3scan restart
Post the debug informations from /tmp/p3scandebug .

Regards.

ShelbyGT500

dimiszk
Posts: 6
Joined: 25 Nov 2014 12:06

Re: email clients timeouts and [cp] defunct zombie processes

Post by dimiszk » 26 May 2015 07:08

Yesterday i had a lot of hangs and very big problems...
What i have noticed in the log files always before p3scan hangs is that

May 25 13:08:48 ipcop p3scan[18261]: ERR: Unable to free memory not previously allocated: (null)
May 25 13:08:48 ipcop p3scan[18239]: ERR: Attention: child with pid 18261 died with abnormal termsignal (11)! This is probably a bug. Please report to the author. numprocs is now 7
May 25 13:09:09 ipcop p3scan[18239]: P3Scan terminates now
May 25 13:09:32 ipcop p3scan[20594]: Session done (Clean Exit). Mails: 1 Bytes: 2018
May 25 13:12:40 ipcop p3scan[19933]: ERR: Sending mail to client
May 25 13:12:40 ipcop p3scan[19933]: ERR: Exiting now...#012
May 25 13:12:40 ipcop p3scan[19933]: ERR: Unable to free memory not previously allocated: (null)
May 25 13:14:22 ipcop p3scan[20912]: Session done (Clean Exit). Mails: 1 Bytes: 2018
May 25 13:16:14 ipcop p3scan[20147]: ERR: Sending mail to client
May 25 13:16:14 ipcop p3scan[20147]: ERR: Exiting now...#012
May 25 13:16:14 ipcop p3scan[20147]: ERR: Unable to free memory not previously allocated: (null)
May 25 13:19:53 ipcop p3scan[20423]: ERR: Sending mail to client
May 25 13:19:53 ipcop p3scan[20423]: ERR: Exiting now...#012
May 25 13:19:53 ipcop p3scan[20423]: ERR: Unable to free memory not previously allocated: (null)
May 25 13:25:00 ipcop p3scan[20752]: ERR: Sending mail to client
May 25 13:25:00 ipcop p3scan[20752]: ERR: Exiting now...#012
May 25 13:25:00 ipcop p3scan[20752]: ERR: Unable to free memory not previously allocated: (null)
May 25 13:29:45 ipcop p3scan[21181]: ERR: Sending mail to client
May 25 13:29:45 ipcop p3scan[21181]: ERR: Exiting now...#012
May 25 13:29:45 ipcop p3scan[21181]: ERR: Unable to free memory not previously allocated: (null)

ShelbyGT500
Posts: 846
Joined: 13 May 2010 22:37
Location: FRANCE

Re: email clients timeouts and [cp] defunct zombie processes

Post by ShelbyGT500 » 27 May 2015 21:31

Hi,
dimiszk wrote:May 25 13:08:48 ipcop p3scan[18261]: ERR: Unable to free memory not previously allocated: (null)
Ok. This issue is known, but not fixed for now (see bugtracker: http://www.copfilter.org/bugtracker/pri ... ?bug_id=73)

The solution for now is to uninstall and then re install Copfilter. Then, it should work.

Regards.

ShelbyGT500

Post Reply