[rt-users] RTx::Shredder time gap between tickets wipeout

Konstantin Naryzhniy konstantinn at parallels.com
Thu Mar 22 10:24:42 EDT 2007


Hi Ruslan!

Thanks for the tip, but I'm still not sure what to do.

 

Here's what I got using DPRof. In attachment I list the full cycle for
deleting 2 tickets including Shredder's log.

 

[root at rtlocal sbin]# perl -d:DProf rtx-shredder --plugin
"Tickets=status,deleted;limit,2"

....

[Thu Mar 22 14:14:10 2007] [warning]: RT::Ticket-21251 wiped out
(/work/opt/rt3/local/lib/RTx/Shredder/Record.pm:198)

[Thu Mar 22 14:14:52 2007] [warning]: RT::CachedGroupMember-283631 wiped out
(/work/opt/rt3/local/lib/RTx/Shredder/Record.pm:198)

....

[root at rtlocal sbin]# dprofpp -u

Total Elapsed Time = 132.7458 Seconds

         User Time = 34.69583 Seconds

Exclusive Times

%Time ExclSec CumulS #Calls sec/call Csec/c  Name

 23.6   8.214 10.053 238190   0.0000 0.0000
DBIx::SearchBuilder::Record::LoadF

                                             romHash

 17.0   5.923  8.124 238854   0.0000 0.0000  DBI::st::fetchrow_hashref

 8.36   2.899  2.899    729   0.0040 0.0040  DBI::st::execute

 7.36   2.553  3.599 238338   0.0000 0.0000
DBIx::SearchBuilder::Record::Cacha

                                             ble::_primary_RecordCache_key

 5.71   1.980  1.980    365   0.0054 0.0054
Cache::Simple::TimedExpiry::expire

 4.87   1.691  1.691 238854   0.0000 0.0000  DBI::st::fetch

 4.74   1.645 21.221 238190   0.0000 0.0001
DBIx::SearchBuilder::Record::Cacha

                                             ble::LoadFromHash

 4.59   1.594  3.483 238127   0.0000 0.0000
DBIx::SearchBuilder::Unique::AddRe

                                             cord

 4.25   1.473  2.285 478207   0.0000 0.0000
DBIx::SearchBuilder::Record::_Prim

                                             aryKey

 4.23   1.469  1.469 481148   0.0000 0.0000  RT::Base::CurrentUser

 4.19   1.454  3.740 477933   0.0000 0.0000  DBIx::SearchBuilder::Record::Id

 4.01   1.392  1.991 238343   0.0000 0.0000
Cache::Simple::TimedExpiry::store

 3.37   1.169  9.523 238234   0.0000 0.0000
DBIx::SearchBuilder::Record::Cacha

                                             ble::_store

 3.29   1.143  1.143 716545   0.0000 0.0000  RT::Record::_PrimaryKeys

 3.27   1.134  1.507 238612   0.0000 0.0000
DBIx::SearchBuilder::Record::Cacha

                                             ble::_RecordCache

 

 

Does this clear anything to you?

 

Thanks,

Kostya.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070322/1840ca4f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dprofpp.lg
Type: application/octet-stream
Size: 9448 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070322/1840ca4f/attachment.obj>


More information about the rt-users mailing list