[rt-users] tmp directory consuming all my disk space
Ruslan Zakirov
ruz at bestpractical.com
Tue May 14 10:35:00 EDT 2013
On Tue, May 14, 2013 at 6:21 PM, Mª Eugenia Moreno <meugeniamg at gmail.com>wrote:
> What I have are directories like 0QMkXkZEI3 containing the following
> files:
> part-28302-1.txt
> part-28302-2.html
> part-28302-3.CSV
> part-28302-4.CSV
> part-28302-5.CSV
>
> The txt file contains the content of an email. The html file seems the
> same email but in html format.
>
hm. this needs investigation. If you want this thread not to disappear in
the mailing list then file a bug report to
http://issues.bespractical.comwith summary and link to this thread in
some online archive.
What is the different between using WebDomain or WebBaseURL? What is the
> reason to set WebDomain instead?
>
The reason is that WebDomain now is not set to correct value.
http://bestpractical.com/rt/docs/latest/RT_Config.html#WebBaseURL-WebURL
Thanks,
> Maria
>
>
>
>
> 2013/5/14 Ruslan Zakirov <ruz at bestpractical.com>
>
>> Hi,
>>
>> Can you check content of those tmp files and send head of a file?
>>
>> Set WebDomain instead of WebBaseURL. Otherwise your config is very simple.
>>
>>
>> On Tue, May 14, 2013 at 1:21 PM, Mª Eugenia Moreno <meugeniamg at gmail.com>wrote:
>>
>>> Sure! Here you are: RT_SiteConfig.pm
>>>
>>> Set($Organization, "company.com");
>>>
>>> Set($DatabaseHost, "localhost");
>>> Set($DatabaseRTHost, "localhost");
>>>
>>> Set($DatabasePort, "3306");
>>>
>>> Set($DatabaseUser, "user");
>>>
>>> Set($DatabasePassword, "psw");
>>>
>>> Set($DatabaseName, "rt4");
>>>
>>> Set($DatabaseRequireSSL, undef);
>>>
>>> Set($WebBaseURL, "http://server.com:80");
>>>
>>> Set($WebPath, "");
>>>
>>> Set(@LexiconLanguages, qw(en));
>>>
>>> Set($Timezone, "Europe/London");
>>>
>>> Set($CorrespondAddress, 'correspond at gmail.com');
>>>
>>> Set($CommentAddress, 'comment at gmail.com');
>>>
>>> Set(%Lifecycles,
>>> default => {
>>> initial => [ 'new' ],
>>> active => [ 'open', 'stalled' ],
>>> inactive => [ 'resolved', 'rejected', 'deleted' ],
>>>
>>> defaults => {
>>> on_create => 'new',
>>> on_merge => 'resolved',
>>> approved => 'open',
>>> denied => 'rejected',
>>> reminder_on_open => 'open',
>>> reminder_on_resolve => 'resolved',
>>> },
>>>
>>> transitions => {
>>> '' => [qw(new open resolved)],
>>>
>>> # from => [ to list ],
>>> new => [qw(open stalled resolved rejected deleted)],
>>> open => [qw(new stalled resolved rejected deleted)],
>>> stalled => [qw(new open rejected resolved deleted)],
>>> resolved => [qw(new open stalled rejected deleted)],
>>> rejected => [qw(new open stalled resolved deleted)],
>>> deleted => [qw(new open stalled rejected resolved)],
>>> },
>>> rights => {
>>> '* -> deleted' => 'DeleteTicket',
>>> '* -> *' => 'ModifyTicket',
>>> },
>>> actions => [
>>> 'new -> open' => {
>>> label => 'Open It', # loc
>>> update => 'Respond',
>>> },
>>> 'new -> resolved' => {
>>> label => 'Resolve', # loc
>>> update => 'Comment',
>>> },
>>> 'new -> rejected' => {
>>> label => 'Reject', # loc
>>> update => 'Respond',
>>> },
>>> 'new -> deleted' => {
>>> label => 'Delete', # loc
>>> },
>>> 'open -> stalled' => {
>>> label => 'Stall', # loc
>>> update => 'Comment',
>>> },
>>> 'open -> resolved' => {
>>> label => 'Resolve', # loc
>>> update => 'Comment',
>>> },
>>> 'open -> rejected' => {
>>> label => 'Reject', # loc
>>> update => 'Respond',
>>> },
>>> 'stalled -> open' => {
>>> label => 'Open It', # loc
>>> },
>>> 'resolved -> open' => {
>>> label => 'Re-open', # loc
>>> update => 'Comment',
>>> },
>>> 'rejected -> open' => {
>>> label => 'Re-open', # loc
>>> update => 'Comment',
>>> },
>>> 'deleted -> open' => {
>>> label => 'Undelete', # loc
>>> },
>>> ],
>>> },
>>> # don't change lifecyle of the approvals, they are not capable to deal
>>> with
>>> # custom statuses
>>> approvals => {
>>> initial => [ 'new' ],
>>> active => [ 'open', 'stalled' ],
>>> inactive => [ 'resolved', 'rejected', 'deleted' ],
>>>
>>> defaults => {
>>> on_create => 'new',
>>> on_merge => 'resolved',
>>> reminder_on_open => 'open',
>>> reminder_on_resolve => 'resolved',
>>> },
>>>
>>> transitions => {
>>> '' => [qw(new open resolved)],
>>>
>>> # from => [ to list ],
>>> new => [qw(open stalled resolved rejected deleted)],
>>> open => [qw(new stalled resolved rejected deleted)],
>>> stalled => [qw(new open rejected resolved deleted)],
>>> resolved => [qw(new open stalled rejected deleted)],
>>> rejected => [qw(new open stalled resolved deleted)],
>>> deleted => [qw(new open stalled rejected resolved)],
>>> },
>>> rights => {
>>> '* -> deleted' => 'DeleteTicket',
>>> '* -> rejected' => 'ModifyTicket',
>>> '* -> *' => 'ModifyTicket',
>>> },
>>> actions => [
>>> 'new -> open' => {
>>> label => 'Open It', # loc
>>> update => 'Respond',
>>> },
>>> 'new -> resolved' => {
>>> label => 'Resolve', # loc
>>> update => 'Comment',
>>> },
>>> 'new -> rejected' => {
>>> label => 'Reject', # loc
>>> update => 'Respond',
>>> },
>>> 'new -> deleted' => {
>>> label => 'Delete', # loc
>>> },
>>> 'open -> stalled' => {
>>> label => 'Stall', # loc
>>> update => 'Comment',
>>> },
>>> 'open -> resolved' => {
>>> label => 'Resolve', # loc
>>> update => 'Comment',
>>> },
>>> 'open -> rejected' => {
>>> label => 'Reject', # loc
>>> update => 'Respond',
>>> },
>>> 'stalled -> open' => {
>>> label => 'Open It', # loc
>>> },
>>> 'resolved -> open' => {
>>> label => 'Re-open', # loc
>>> update => 'Comment',
>>> },
>>> 'rejected -> open' => {
>>> label => 'Re-open', # loc
>>> update => 'Comment',
>>> },
>>> 'deleted -> open' => {
>>> label => 'Undelete', # loc
>>> },
>>> ],
>>> },
>>> );
>>>
>>> 1;
>>>
>>>
>>>
>>> 2013/5/13 Ruslan Zakirov <ruz at bestpractical.com>
>>>
>>>>
>>>>
>>>>
>>>> On Mon, May 13, 2013 at 1:59 PM, Mª Eugenia Moreno <
>>>> meugeniamg at gmail.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I am using rt-4.0.10 with apache and I just realized that apache is
>>>>> creating a bunch of directories and files like zOBPrM6MZE, yvO466rLPh,
>>>>> ... in /tmp directory which are filling up my disk space.
>>>>>
>>>>> Is it safe to remove all this temporary files/directories? is there a
>>>>> way to tell RT to remove this tmp files periodically?
>>>>>
>>>>
>>>> We treat such situations as a bug and fix them. Can you show us your RT
>>>> site config (w/o passwords)?
>>>>
>>>>
>>>>
>>>>>
>>>>> I hope someone can help.
>>>>>
>>>>> Thanks,
>>>>> Maria
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> RT Training in Seattle, June 19-20: http://bestpractical.com/training
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best regards, Ruslan.
>>>>
>>>
>>>
>>
>>
>> --
>> Best regards, Ruslan.
>>
>
>
--
Best regards, Ruslan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130514/56ba8749/attachment.htm>
More information about the rt-users
mailing list