[rt-users] Submitting tickets via emai is causing rt-server.fcgi to hang

Charlie Garrison garrison at zeta.org.au
Mon Aug 1 05:31:16 EDT 2011

Good evening,

I've upgraded a v3.6.6 setup to v4.0.1 and some tickets being 
created via email are causing perl process to hang (or appear to 
hang) with 99% CPU (& ticket doesn't get created either). It 
doesn't happen with all messages and I'm stuck trying to work 
out why some messages are causing it.

The upgrade is using a fresh rt4 directory. The RT_SiteConfig 
file was re-created (carefully). I created a new database, 
imported from old database, and ran the various db upgrade processes.

I'm using the following plugins:

Set(@MailPlugins,(qw(Auth::MailFrom Filter::TakeAction)));

I get the following in the error_log:

[Mon Aug 01 18:38:45 2011] [error] [client] 
FastCGI: comm with server "/usr/local/rt4/sbin/rt-server.fcgi" 
aborted: idle timeout (300 sec)
[Mon Aug 01 18:38:45 2011] [error] [client] 
FastCGI: incomplete headers (0 bytes) received from server "/usr/local/rt4/sbin/rt-server.fcgi"
[Mon Aug 01 18:38:45 2011] [error] [client] 
FastCGI: server "/usr/local/rt4/sbin/rt-server.fcgi" stderr: 
[Mon Aug  1 08:38:45 2011] [error]: Couldn't find sender's 
address (/usr/local/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:74)
[Mon Aug 01 18:38:45 2011] [error] [client] 
FastCGI: server "/usr/local/rt4/sbin/rt-server.fcgi" stderr: 
[Mon Aug  1 08:38:45 2011] [error]: Could not record email: 
Could not load a valid user (/usr/local/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)

I added some warn statements to GetCurrentUser sub in 
MailFrom.pm, but warn statements don't get logged. So I'm 
apparently not understanding the code flow.

Can anyone suggest what I need to do to troubleshoot this further.


    Ꮚ Charlie Garrison ♊ <garrison at zeta.org.au>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt

More information about the rt-users mailing list