Memory on my Debian always running low

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Memory on my Debian always running low

Kebba Foon
Hi List

I have install the Exim4u on a Debian, right now its acting as my backup
mail server. everything seems to be working fine but my server is always
running low on memory sometimes upto 90% of my memory is consume i have
a 2gig memory. There is this warning always showing on my syslog:

Jun 17 14:02:22 <hostname.ltd> spamd[5159]: prefork: periodic ping from
spamd parent
Jun 17 14:02:22  s<hostname.ltd> pamd[5159]: prefork: sysread(9) not
ready, wait max 300 secs
Jun 17 14:02:22  <hostname.ltd>s spamd[2461]: prefork: periodic ping
from spamd parent
Jun 17 14:02:22 <hostname.ltd> spamd[2461]: prefork: sysread(9) not
ready, wait max 300 secs

Also i can seems to get the https redirect to work with the horde, the
secure page will show up but when i type in a username and password
nothing happens am always stuck on the login page. i really want to
start using my new server as my primary mail exchanger but with this
issues am afraid that i will have lots of problems if i switch over.

someone please help.

Kebba



On Fri, 2010-06-11 at 12:00 -0400, [hidden email] wrote:

> Send users mailing list submissions to
> [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://exim4u.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
>    1. Re: users Digest, Vol 6, Issue 1 (Daniel)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 10 Jun 2010 23:12:57 +0200
> From: Daniel <[hidden email]>
> Subject: Re: [Exim4U] users Digest, Vol 6, Issue 1
> To: [hidden email]
> Message-ID:
> <[hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Gordon!
>
> Thx for the replies!
>
> I am still a newbie, so the TO DO number 3 is something that is out of the
> question for me at the moment, but if I stumble upon an elegant or even
> working solution, I will contact you!
>
> Thx for the maillists! Groups are not what I need unfortunately, but almost.
> All it would need is a from-rewrite and external mail-address support +
> subject rewrite :-)
>
> Regards,
> Daniel
>
>
> ------------------------------
>
> >
> > Message: 3
> > Date: Thu, 10 Jun 2010 10:01:08 -0400
> > From: Gordon Dickens <[hidden email]>
> > Subject: Re: [Exim4U] user based whitelisting for HAM
> > To: Exim4U General Discussion <[hidden email]>
> > Message-ID: <[hidden email]>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > On 06/10/2010 07:27 AM, Daniel wrote:
> > > Hi everyone!
> > >
> > > Does anyone know of a elegant and efficient solution to integrate
> > > user-based whitelisting of HAM mail int Exim4U?
> > > The admin interface of exim4u has a header blocking feature, but that is
> > > not what I need.
> >
> > Hi Daniel,
> >
> > I believe that your suggestion is item 3 in the Exim4U "TO DO" list here:
> >
> > http://exim4u.org/svn/exim4u_src/trunk/TODO
> >
> > Would you like to have a go at it?
> >
> > FYI,
> >
> > Gordon
> >
> >
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Thu, 10 Jun 2010 10:43:24 -0400
> > From: Gordon Dickens <[hidden email]>
> > Subject: Re: [Exim4U] simple maillist
> > To: Exim4U General Discussion <[hidden email]>
> > Message-ID: <[hidden email]>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > On 06/10/2010 07:31 AM, Daniel wrote:
> > > Hi!
> > >
> > > I am searching for a very-very simple maillist solution which only does
> > > the following:
> > > - if a mail is sent to for instance [hidden email] then it is sent to
> > > all the addresses in a mysql database associated to this list
> > > - during the distribution of the mails, it changes the from or reply-to
> > > header to match [hidden email], so that the replys also go to the whole
> > > list
> > > - if needed it takes a prefix from the mysql database and puts it in the
> > > front of the subject
> > >
> > > That is it, very simple. No subscribe, no unsubscribe, no nothing. No
> > > admin interface required at the moment for this, but I think that for
> > > the functions above, mailman is an overkill (and it doesn't even know
> > > mysql).http://mlmmj.org/
> >
> > You could try the Groups functionality in Exim4U. Alternatively, you
> > could look at mailman alternatives such as sympa, mlmmj, majordomo,
> > lyris and phplist:
> >
> > http://www.sympa.org/
> > http://mlmmj.org/
> > http://www.greatcircle.com/majordomo/
> > http://www.lyris.com/solutions/listmanager/
> > http://www.phplist.com/
> >
> > Lyris is not FOSS but are free for under 200 users.
> >
> > Here is Wikipedia's list of free mailing list software:
> >
> > http://en.wikipedia.org/wiki/Category%3AFree_mailing_lists
> >
> > FYI,
> >
> > Gordon
> >
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > https://exim4u.org/mailman/listinfo/users
> >
> >
> > End of users Digest, Vol 6, Issue 1
> > ***********************************
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://exim4u.org/pipermail/users/attachments/20100610/70f6fa8d/attachment-0001.html 
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> [hidden email]
> https://exim4u.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 6, Issue 2
> ***********************************



Reply | Threaded
Open this post in threaded view
|

Re: Memory on my Debian always running low

gldickens3
Administrator
Hi Kebba,

All of my Exim4U installations use less than 1GB of memory for all
application software. I would recommend that you use the "top" command
to confirm that spamd is the culprit and use "free -m"  to understand
your memory usage.  If spamd is the problem then I would research a
solution on the SpamAssassin website and mailing list. I would also
consult the Debian website and mailing lists. BTW, Googling "spamd uses
too much memory" produces tons of articles.

Here are a couple of things to try. The usual default is for spamd to
spawn 5 child processes. However, spamd usually will run just fine with
1, 2 or 3 processes instead.  You can change the number of child
processes in the spamd service script in /etc/init.d (which on CentOS is
/etc/init.d/spamassassin).  Look in the service script for -m5, -m 5 or
--max-children=5, lower the value and see if that helps.  You can also
try reducing the MaxScanSize in /etc/exim/exim4u_global_spam_virus and
see if that helps reduce spamd's memory usage.

As far as your horde problem, I would recommend that you look in your
apache logs and see what is happening when you try to log on to horde.
Specifically, look at /var/log/apache2/error.log and see what it tells you.

FYI,

Gordon



On 06/17/2010 10:07 AM, Kebba Foon wrote:

> Hi List)
>
> I have install the Exim4u on a Debian, right now its acting as my backup
> mail server. everything seems to be working fine but my server is always
> running low on memory sometimes upto 90% of my memory is consume i have
> a 2gig memory. There is this warning always showing on my syslog:
>
> Jun 17 14:02:22<hostname.ltd>  spamd[5159]: prefork: periodic ping from
> spamd parent
> Jun 17 14:02:22  s<hostname.ltd>  pamd[5159]: prefork: sysread(9) not
> ready, wait max 300 secs
> Jun 17 14:02:22<hostname.ltd>s spamd[2461]: prefork: periodic ping
> from spamd parent
> Jun 17 14:02:22<hostname.ltd>  spamd[2461]: prefork: sysread(9) not
> ready, wait max 300 secs
>
> Also i can seems to get the https redirect to work with the horde, the
> secure page will show up but when i type in a username and password
> nothing happens am always stuck on the login page. i really want to
> start using my new server as my primary mail exchanger but with this
> issues am afraid that i will have lots of problems if i switch over.
>
> someone please help.
>
> Kebba
>
>
>
> On Fri, 2010-06-11 at 12:00 -0400, [hidden email] wrote:
>> Send users mailing list submissions to
>> [hidden email]
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://exim4u.org/mailman/listinfo/users
>> or, via email, send a message with subject or body 'help' to
>> [hidden email]
>>
>> You can reach the person managing the list at
>> [hidden email]
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of users digest..."
>>
>>
>> Today's Topics:
>>
>>     1. Re: users Digest, Vol 6, Issue 1 (Daniel)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 10 Jun 2010 23:12:57 +0200
>> From: Daniel<[hidden email]>
>> Subject: Re: [Exim4U] users Digest, Vol 6, Issue 1
>> To: [hidden email]
>> Message-ID:
>> <[hidden email]>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hi Gordon!
>>
>> Thx for the replies!
>>
>> I am still a newbie, so the TO DO number 3 is something that is out of the
>> question for me at the moment, but if I stumble upon an elegant or even
>> working solution, I will contact you!
>>
>> Thx for the maillists! Groups are not what I need unfortunately, but almost.
>> All it would need is a from-rewrite and external mail-address support +
>> subject rewrite :-)
>>
>> Regards,
>> Daniel
>>
>>
>> ------------------------------
>>
>>>
>>> Message: 3
>>> Date: Thu, 10 Jun 2010 10:01:08 -0400
>>> From: Gordon Dickens<[hidden email]>
>>> Subject: Re: [Exim4U] user based whitelisting for HAM
>>> To: Exim4U General Discussion<[hidden email]>
>>> Message-ID:<[hidden email]>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>
>>> On 06/10/2010 07:27 AM, Daniel wrote:
>>>> Hi everyone!
>>>>
>>>> Does anyone know of a elegant and efficient solution to integrate
>>>> user-based whitelisting of HAM mail int Exim4U?
>>>> The admin interface of exim4u has a header blocking feature, but that is
>>>> not what I need.
>>>
>>> Hi Daniel,
>>>
>>> I believe that your suggestion is item 3 in the Exim4U "TO DO" list here:
>>>
>>> http://exim4u.org/svn/exim4u_src/trunk/TODO
>>>
>>> Would you like to have a go at it?
>>>
>>> FYI,
>>>
>>> Gordon
>>>
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 4
>>> Date: Thu, 10 Jun 2010 10:43:24 -0400
>>> From: Gordon Dickens<[hidden email]>
>>> Subject: Re: [Exim4U] simple maillist
>>> To: Exim4U General Discussion<[hidden email]>
>>> Message-ID:<[hidden email]>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>
>>> On 06/10/2010 07:31 AM, Daniel wrote:
>>>> Hi!
>>>>
>>>> I am searching for a very-very simple maillist solution which only does
>>>> the following:
>>>> - if a mail is sent to for instance [hidden email] then it is sent to
>>>> all the addresses in a mysql database associated to this list
>>>> - during the distribution of the mails, it changes the from or reply-to
>>>> header to match [hidden email], so that the replys also go to the whole
>>>> list
>>>> - if needed it takes a prefix from the mysql database and puts it in the
>>>> front of the subject
>>>>
>>>> That is it, very simple. No subscribe, no unsubscribe, no nothing. No
>>>> admin interface required at the moment for this, but I think that for
>>>> the functions above, mailman is an overkill (and it doesn't even know
>>>> mysql).http://mlmmj.org/
>>>
>>> You could try the Groups functionality in Exim4U. Alternatively, you
>>> could look at mailman alternatives such as sympa, mlmmj, majordomo,
>>> lyris and phplist:
>>>
>>> http://www.sympa.org/
>>> http://mlmmj.org/
>>> http://www.greatcircle.com/majordomo/
>>> http://www.lyris.com/solutions/listmanager/
>>> http://www.phplist.com/
>>>
>>> Lyris is not FOSS but are free for under 200 users.
>>>
>>> Here is Wikipedia's list of free mailing list software:
>>>
>>> http://en.wikipedia.org/wiki/Category%3AFree_mailing_lists
>>>
>>> FYI,
>>>
>>> Gordon
>>>
>>>
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> users mailing list
>>> [hidden email]
>>> https://exim4u.org/mailman/listinfo/users
>>>
>>>
>>> End of users Digest, Vol 6, Issue 1
>>> ***********************************
>>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://exim4u.org/pipermail/users/attachments/20100610/70f6fa8d/attachment-0001.html
>>
>> ------------------------------
>>
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> https://exim4u.org/mailman/listinfo/users
>>
>>
>> End of users Digest, Vol 6, Issue 2
>> ***********************************
>
>
> _______________________________________________
> users mailing list
> [hidden email]
> https://exim4u.org/mailman/listinfo/users