Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

incoming mail lost after possible httpd crash

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


marcus at better

Oct 23, 2009, 5:52 AM

Post #1 of 3 (475 views)
Permalink
incoming mail lost after possible httpd crash

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

Hi,

today we almost lost an incoming e-mail that was processed by rt-mailgate
but never appeared in RT as a ticket. The only thing I can see in the web
server logs around the time of the event is the following line:

[Fri Oct 23 08:41:31 2009] [notice] child pid 21284 exit signal Segmentation
fault (11)

So it looks like the Apache process crashed, and the ticket was never
created. We only noticed because we copy all mail to another mailbox for
manual inspection.

Now my questions:

* How can I avoid future web server crashes, or at least get better
diagnostics when it happens?

* Can rt-mailgate be configured not to drop the mail on the floor if the
reception fails? I would like the mail delivery to be retried by the mail
system.

System details: RT 3.8.5 installed from the Debian package (request-
tracker3.8 3.8.5-1), Debian amd64, 4 GB RAM, Apache 2.2.9-10+lenny4 with
prefork mpm and mod-perl2 2.0.4.

Cheers,

Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkrhpywACgkQXjXn6TzcAQmGYQCfXRWvQXnU57FrIH3OYVSN5ll0
KN0AoPl73tg1pmlww8dhnOgudQ6a2t/j
=o5Zs
-----END PGP SIGNATURE-----


_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales [at] bestpractical


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


jesse at bestpractical

Oct 23, 2009, 10:38 AM

Post #2 of 3 (436 views)
Permalink
Re: incoming mail lost after possible httpd crash [In reply to]

> today we almost lost an incoming e-mail that was processed by rt-mailgate
> but never appeared in RT as a ticket. The only thing I can see in the web
> server logs around the time of the event is the following line:
>
> [Fri Oct 23 08:41:31 2009] [notice] child pid 21284 exit signal Segmentation
> fault (11)
>
> So it looks like the Apache process crashed, and the ticket was never
> created. We only noticed because we copy all mail to another mailbox for
> manual inspection.
>
> Now my questions:
>
> * How can I avoid future web server crashes, or at least get better
> diagnostics when it happens?

That's a segfault inside apache. Dealing with apache segfaults is...not
really RT specific. One option here is to switch to fastcgi. If RT is
making Perl crash, that's much more "our problem" and much easier for us
to track down and fix.

> * Can rt-mailgate be configured not to drop the mail on the floor if the
> reception fails? I would like the mail delivery to be retried by the mail
> system.

..it should already be doing this. rt-mailgate only tells your MTA that
it has dealt successfully with a message after the server comes back and
says that it's written the message into the database. Otherwise, it
will tell the MTA "tempfail" and the MTA will try again.


> System details: RT 3.8.5 installed from the Debian package (request-
> tracker3.8 3.8.5-1), Debian amd64, 4 GB RAM, Apache 2.2.9-10+lenny4 with
> prefork mpm and mod-perl2 2.0.4.
>

Best,
Jesse
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales [at] bestpractical


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


marcus at better

Oct 26, 2009, 1:18 AM

Post #3 of 3 (411 views)
Permalink
Re: incoming mail lost after possible httpd crash [In reply to]

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

Jesse Vincent wrote:
>> * Can rt-mailgate be configured not to drop the mail on the floor if the
>> reception fails? I would like the mail delivery to be retried by the mail
>> system.
>
> ..it should already be doing this. rt-mailgate only tells your MTA that
> it has dealt successfully with a message after the server comes back and
> says that it's written the message into the database.

Ok, that's good to know. Off to check the mail configuration then...

Cheers,

Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkrlW1UACgkQXjXn6TzcAQkQAACdEgnAEg7xngy1neX3FfpDr4hh
Jd0AoJtXjO+ntb56YuGCLQnNErNzIiab
=kMxt
-----END PGP SIGNATURE-----


_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales [at] bestpractical


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.