[rt-users] RT-Shredder error

2012-09-20 Thread Wagner Sartori Junior
Any clue on why am I receiving this error?
Couldn't wipeout object: Wrong link link_meta, no record for RunsOn

Complete error:
http://pastebin.com/ax5ER1K7

I have a 70Gb RT database and I can't shred my database anymore. I already
ran rt-validator --check --resolve --force.

Thanks,

Wagner Sartori Junior


Final RT training for 2012 in Atlanta, GA - October 23  24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


[rt-users] Tuning RT4

2011-07-13 Thread Wagner Sartori Junior
Hi,

I have a huge(2M Tickets, ~500 tickets/day) 3.8.1 RT installation and
I'm trying to upgrade to 4.0.1.

I'm facing some performance problems on my staging server(it's almost
the same spec as my production server).

I'm using on 3.8.1:
Alias /rt/ /opt/rt3/share/html/
Directory /opt/rt3/share/html/
   Order allow,deny
   Allow from all
/Directory
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
PerlSetVar MasonStaticSource true
PerlSetVar MasonBufferPreallocateSize 4096000
PerlSetVar MasonDataCacheDefaults cache_class= MemoryCache, cache_depth = 4
PerlSetVar MasonPreloads '/Elements/*'
Location /rt/
   AddDefaultCharset UTF-8
   SetHandler perl-script
   PerlHandler RT::Mason
/Location

To make 4.0.1 works I'd have to change to:
Location /rt
Order allow,deny
Allow from all

SetHandler modperl
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
/Location
Perl
use Plack::Handler::Apache2;
Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
/Perl

The question is: How can I assign the Mason variables(StaticSource,
BufferSize, Preloads, ...) on RT4?

Thanks,

Wagner Sartori Junior


2011 Training: http://bestpractical.com/services/training.html