[rt-users] tmp directory consuming all my disk space
Mª Eugenia Moreno
meugeniamg at gmail.com
Tue May 14 05:21:14 EDT 2013
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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130514/b49783fb/attachment.htm>
More information about the rt-users
mailing list