Temporary files issue

Hi all.

I have RT 3.4.4 with number of custom modifications. Now we have the
following issue:

When:

  1. I attach a number of files
    or
  2. I attach one file, click “Add more files” and then I write text

one or several temporary file(s) are being deleted by File::Temp->cleanup.

Where can be the root of such incorrect behavior?

We’re thinking about rewriting Interface::Web->MakeMIMEEntity method
with the newest (from 3.8 branch) to use memory instead of tempfiles.
Can you advice, is it a good idea or not?

WBR,
Agnislav Onufrijchuk
PortaOne, Inc., RT Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7670

Meet us at Internet Telephony East
February 2-4, 2009 - Booth 826
Miami Beach Convention Center

Hi all.

I have RT 3.4.4 with number of custom modifications. Now we have the
following issue:

When:

  1. I attach a number of files
    or
  2. I attach one file, click “Add more files” and then I write text

one or several temporary file(s) are being deleted by File::Temp->cleanup.

Where can be the root of such incorrect behavior?

We’re thinking about rewriting Interface::Web->MakeMIMEEntity method
with the newest (from 3.8 branch) to use memory instead of tempfiles.
Can you advice, is it a good idea or not?

This is but one of many fairly important bugfixes. Rather than further
customizing your RT 3.4 instance, I’d strongly consider putting that
effort toward coming up to 3.8.

-j

Dear Jesse,

Thank you for your quick response.

You wrote:

This is but one of many fairly important bugfixes. Rather than further
customizing your RT 3.4 instance, I’d strongly consider putting that
effort toward coming up to 3.8.

We have some reasons to postpone upgrading to 3.8-latest. Can you advice
something in our current situations?

We made a workaround - set “UNLINK => 0” and cleanup procedure is
running by cron. It seems it’s workable.

Agnislav Onufrijchuk
PortaOne, Inc., RT Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7670

Meet us at Internet Telephony East
February 2-4, 2009 - Booth 826
Miami Beach Convention Center