[rt-users] Bulk Load Performance Problem

Jesse Vincent jesse at bestpractical.com
Tue Jan 27 12:02:41 EST 2004




On Tue, Jan 27, 2004 at 10:12:23AM -0500, Stephen Turner wrote:
> I've written a bulk-load script for loading user info in RT(3) and have a
> strange performance issue.
> 
> My tests have been loading 6,000 users into an empty RT mysql database
> using the RT API. The first 500 users take 4 minutes. From then on
> each batch of 500 users created takes progressively longer - the
> last 500 users takes 1 hr, 13 minutes to load!
> 
> I am using the RT API's transactions with commits every 500 creations.
> 
> One odd thing is that when I run the program a second time to load the
> next 6000 users (with 6000 already in the database), the speed is comparable
> to the first run - in other words the speed is the same regardless of how
> many users are already in the database.
> 
> Any suggestions as to why this process would get slower and slower as
> it progresses?


That _sounds_ like a memory leak might be causing you to eat into swap.
First up, are you running 3.0.8 or something earlier?  Does RT's memory
use keep increasing throughout a program run?


> 
> Thanks,
> Steve
> 
> 
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.bestpractical.com
> http://lists.bestpractical.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
> 

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list