Faisal N Jawdat wrote: > On Apr 21, 2007, at 2:11 PM, Matt Kettler wrote: >> Ok, I just did some testing. Something is *VERY* wrong with your >> system.. Are you running out of ram and swapping? > > Hrm. top currently reports 123mb free (out of 2g physical, with some > swapping. sa-learn has a 62M RSS. This is a shared system with a > bunch of activity, so I can't easily isolate all issues, but I'll keep > digging. > > Repeated the test almost (but not completely) as you described and it > still took 20 seconds. File lock-contention sounds plausible.
Try adding a -D to sa-learn.. if it's lock contention, you should see a bunch of messages about it waiting for the lock.