I am running a fairly recent build of rockbox (110723) on the D2+. When I initialize the database, it just keeps counting up. I let it go for about 3 hours and it got to maybe 250,000, at which point I stopped it. I have less than 10,000 songs on the player.
With a previous build I had a different problem where it would always get to a certain count (around 9,000) and then hang. I read a different thread where someone had only 3MB of free space on the player and the database init was really slow. When they freed up space it fixed the problem. For me, the initialization isn't counting slowly, it just never stops counting. I probably have less than 5MB free on the internal memory and at least 1GB on the SD card. I will try freeing some more space on internal and see if it helps. (Rockbox runs from the SD on the D2 though.) Any other suggestions are appreciated.