PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > sendmail big queue
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

sendmail big queue

Réponse
 
LinkBack Outils de la discussion
Vieux 25/04/2007, 16h49   #1
Tester
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut sendmail big queue

Hi there,
I have sendmail 8.13.8 running on linux fedora 6.
How can I configure how many processes sendmail is spawning since they
seem to take up all the memory? Also how can I deal with a 20,000
messages queue since messages do not seem to be delivered, just get
stuck in the queue with message from maillog:
grew worklist for /var/spool/mqueue to 2000...12000. How can I either
break up this spool directory into 2 of 10,000 messages each or
increase the sendmail settings to deal with 20,000 messages?
Thanks a lot

  Réponse avec citation
Vieux 26/04/2007, 00h25   #2
Res
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendmail big queue

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 25 Apr 2007, Tester wrote:

> Hi there,
> I have sendmail 8.13.8 running on linux fedora 6.
> How can I configure how many processes sendmail is spawning since they
> seem to take up all the memory? Also how can I deal with a 20,000
> messages queue since messages do not seem to be delivered, just get
> stuck in the queue with message from maillog:
> grew worklist for /var/spool/mqueue to 2000...12000. How can I either
> break up this spool directory into 2 of 10,000 messages each or
> increase the sendmail settings to deal with 20,000 messages?
> Thanks a lot


in your mc file try adding these and then rehashing...

define(`confMAX_QUEUE_CHILDREN',`2000')dnl
define(`confQUEUE_SORT_ORDER', `modification')dnl

** on dual xeon 3G's 2G memory we use kiddies of 2000 and sendmail
sits there still saying ' bring it on ' you could up it more, but if its
lesser spec machine, like only a single cpu P4, with at least 1G memory,
set it to 1000, of course also factor in your available bandwith, if you
only have this on isdn or dsl, drop it to 200 or 300.

The queue sort order, well I've tried 'time' and 'modification', mod..
seems to be the best, but YMMV.
Sendmail uses 'host' as the order which is not good with large queues.

However the bigger question, is how did your queue get to be THAT large in
the first place.

20K messages in a queue, I've seen that occasionally on secondary MX if
we drop the front end MTA's for maint or whatever, that takes less than
10 mins to clear out.

HOTD: Dont just apply the workaround, find and fix the root cause first.

- --

Cheers
Res

Vote for your favourite MTA at http://polls.ausics.net/v3.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGL+NlsWhAmSIQh7MRAuC4AJ9zcbtaHGXtwVEvJLn0AV PZpM0TZgCeIeZ+
lLYlYWxPRSBpLwZ5gY6wDkw=
=psEI
-----END PGP SIGNATURE-----
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h27.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11080 seconds with 10 queries