LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-15-2011, 07:05 AM   #1
immortalbikram
LQ Newbie
 
Registered: Nov 2011
Location: Nepal
Distribution: Ubuntu,Centos
Posts: 1

Rep: Reputation: Disabled
Send Mail consuming lots of memory.


I run couple of web server using ispconfig. From few weeks i came across that memory of my cpu was too much from mail . how to hold down the memory consumed by mail. In my server i am hosting around 10 website which actually donot consume too much memory.
 
Old 11-16-2011, 04:42 AM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by immortalbikram View Post
I run couple of web server using ispconfig. From few weeks i came across that memory of my cpu was too much from mail . how to hold down the memory consumed by mail. In my server i am hosting around 10 website which actually donot consume too much memory.

You can limit the no. of reciepents in sendmail.mc
Code:
define(`confMAX_RCPTS_PER_MESSAGE', `10')dnl
maximum number of child processes that sendmail will spawn
Code:
define(`confMAX_DAEMON_CHILDREN', `500')dnl
if this option is enabled you can disable as it sends greeting message every time you login
Code:
define(`confSMTP_LOGIN_MSG', `$j Sendmail; $b')dnl
If the load-average goes above REFUSE_LA, then sendmail refuses all new connections until the load is lower.
Code:
define(`confQUEUE_LA', `5')dnl
define(`confREFUSE_LA', `20')dnl

Last edited by deep27ak; 11-16-2011 at 04:53 AM.
 
Old 11-20-2011, 02:06 AM   #3
Qaadir
LQ Newbie
 
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
Thanks deep27ak very helpful
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Squid excessive memory consuming on Fedora 12 dracuss Linux - Server 3 06-23-2012 06:24 AM
Application consuming all available memory causing thrashing question. tuxtutorials Solaris / OpenSolaris 1 11-14-2009 05:29 AM
Server consuming cache memory vikas027 Linux - Server 10 03-06-2009 01:28 AM
Consuming Memory problem aloneattack Linux - Server 2 04-08-2008 11:07 PM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration