Hello in graph new version, seems sendmail-mta work over 29.18% of memory, but apart spam on my wordpress websites i don’t use a lot sendmail....
How i can make a check about memory consuption by sendmail

thanks for help

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Others say this can happen when the queue gets clogged with messages.
Have a look at the answer here: http://serverfault.com/questions/615116/abnormal-sendmail-activity-using-up-the-server-memory-on-my-ubuntu-12-04-server

  • Nice thank you it’s a good place to start!
    I did the following:

    with command

    sendmail -O QueueSortOrder=none -Am -bp
    

    Total requests: 136906

    with command

    sendmail -O QueueSortOrder=none -Ac -bp
    

    Total requests: 549

    Instruction

    Stop Sendmail

    service sendmail stop
    
    rm /var/spool/mqueue/*
    

    about error /bin/rm: Argument list too long use command: find . -name '*' | xargs rm

    If you want to remove messages in waiting, use:

    rm /var/spool/mqueue-client/*.
    

    Restart Sendmail

    service sendmail start
    

Plus if you use Wordpress is a nice idea disable comments for non registered users!

Submit an Answer