[rt-users] REST mail-gateway using 100% cpu

andriuss andrius.kulbis at ktu.lt
Thu Jan 16 03:37:34 EST 2014


The situation become a little bit clearer:

The failing mail header:
From:
=?UTF-8?B?ICJUb21hcyBNYXLEjWl1bGlvbmlzIiA8VG9tYXMuTWFyY2l1bGlvbmlzQGJp?=
 =?UTF-8?B?dGVzcGFydG5lcmlzLmx0Pg==?= 

But it should be the following (RT works just fine with that):
From: =?UTF-8?B?VG9tYXMgTWFyxI1pdWxpb25pcw==?=
 <Tomas.Marciulionis at bitespartneris.lt>

Clients mail program, probably encodes all the header, no matter that there
are no non-ascii symbols in the second part of the header (
<Tomas.Marciulionis at bitespartneris.lt>);

The RT somehow can't handle the second encoded part of FROM header and after
180s timeout I get:

HTTP request failed: 500 read timeout. Your webserver logs may have more
information or there may be a network problem.
/opt/rt4/bin/rt-mailgate: undefined server error

In the logs I can only see: 
[8944] [Thu Jan 16 06:23:10 2014] [debug]: Encode::Guess guessed encoding:
ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:594)
[8946] [Thu Jan 16 08:35:30 2014] [debug]: Converting 'utf-8' to 'utf-8' for
text/plain - Subjectless message (/opt/rt4/sbin/../lib/RT/I18N.pm:294)
[8946] [Thu Jan 16 08:35:30 2014] [debug]: Converting 'cp1257' to 'utf-8'
for text/plain - Subjectless message (/opt/rt4/sbin/../lib/RT/I18N.pm:294)
[8946] [Thu Jan 16 08:35:30 2014] [debug]: Converting 'cp1257' to 'utf-8'
for text/html - Subjectless message (/opt/rt4/sbin/../lib/RT/I18N.pm:294)
[8946] [Thu Jan 16 08:35:30 2014] [debug]: Encode::Guess guessed encoding:
ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:594)
[8946] [Thu Jan 16 08:35:30 2014] [debug]: Encode::Guess guessed encoding:
ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:594)
[8946] [Thu Jan 16 08:35:30 2014] [debug]: Encode::Guess guessed encoding:
ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:594)
[8946] [Thu Jan 16 08:35:30 2014] [debug]: Encode::Guess guessed encoding:
ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:594)
[8946] [Thu Jan 16 08:35:30 2014] [debug]: Encode::Guess guessed encoding:
ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:594)
[8946] [Thu Jan 16 08:35:30 2014] [debug]: Encode::Guess guessed encoding:
ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:594)



Kevin Falcone-2 wrote
> On Wed, Jan 15, 2014 at 12:26:28PM -0800, andriuss wrote:
>> From:
>> =?UTF-8?B?ICJUb21hcyBNYXLEjWl1bGlvbmlzIiA8VG9tYXMuTWFyY2l1bGlvbmlzQGJp?=
>>  =?UTF-8?B?dGVzcGFydG5lcmlzLmx0Pg==?=
>> 
>> This line, in the mail was the problem, RT somehow hang when parsing this
>> in
>> I18N.pm. Any solution for this?
> 
> RT Version?
> 
> Also, send along your perl module version list from System
> Configuration.
> 
> -kevin
> 
> 
> attachment0 (243 bytes)
> <http://requesttracker.8502.n7.nabble.com/attachment/56306/0/attachment0>


Kevin Falcone-2 wrote
> On Wed, Jan 15, 2014 at 12:26:28PM -0800, andriuss wrote:
>> From:
>> =?UTF-8?B?ICJUb21hcyBNYXLEjWl1bGlvbmlzIiA8VG9tYXMuTWFyY2l1bGlvbmlzQGJp?=
>>  =?UTF-8?B?dGVzcGFydG5lcmlzLmx0Pg==?=
>> 
>> This line, in the mail was the problem, RT somehow hang when parsing this
>> in
>> I18N.pm. Any solution for this?
> 
> RT Version?
> 
> Also, send along your perl module version list from System
> Configuration.
> 
> -kevin
> 
> 
> attachment0 (243 bytes)
> <http://requesttracker.8502.n7.nabble.com/attachment/56306/0/attachment0>


Kevin Falcone-2 wrote
> On Wed, Jan 15, 2014 at 12:26:28PM -0800, andriuss wrote:
>> From:
>> =?UTF-8?B?ICJUb21hcyBNYXLEjWl1bGlvbmlzIiA8VG9tYXMuTWFyY2l1bGlvbmlzQGJp?=
>>  =?UTF-8?B?dGVzcGFydG5lcmlzLmx0Pg==?=
>> 
>> This line, in the mail was the problem, RT somehow hang when parsing this
>> in
>> I18N.pm. Any solution for this?
> 
> RT Version?
> 
> Also, send along your perl module version list from System
> Configuration.
> 
> -kevin
> 
> 
> attachment0 (243 bytes)
> <http://requesttracker.8502.n7.nabble.com/attachment/56306/0/attachment0>





--
View this message in context: http://requesttracker.8502.n7.nabble.com/REST-mail-gateway-using-100-cpu-tp56255p56316.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



More information about the rt-users mailing list