[rt-users] How to handle high volume in rt-mailgate (rt2)

Sven Sternberger sven.sternberger at desy.de
Wed Oct 22 11:43:40 EDT 2003


Hi!

the last day i got massive problems with my rt installtion due to
several thousands of autogenerated emails. The biggest problem is that mails
from "human" customers are rejected with the error message:

Diagnostic-Code: X-Postfix; Command died with status 255:
    "/opt/rt2/bin/rt-mailgate --queue Systems --action correspond". Command
    output: DBI->connect(dbname=rt2;host=localhost) failed: Can't connect to
    local MySQL server through socket '/tmp/mysql.sock' (2) at
    /opt/perl/lib/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line 132 Connect
    Failed Can't connect to local MySQL server through socket '/tmp/mysql.sock'
    (2)  at /opt/rt2/lib/RT.pm line 27


I tried to patch rt-mailgate to only allow 10 instances to run at the 
same time, but this
is not the problem, because the postfix already serilize the mail stream.

Any ideas how to get a stable service when so much mail comming in?

bye!




More information about the rt-users mailing list