Quote:
Originally Posted by immortalbikram
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