Livewire,
actually my inode count was around 40,000, but when I deleted a course, it nearly reached 50,000. While I was waiting for a reply here, I read about moodle everywhere I could and discovered that I might try to clean a couple of folders (trashdir & backup) by hand. It really helped...