ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
738 stars 134 forks source link

Too many open files with large number of databases #44

Open Fuuzetsu opened 10 years ago

Fuuzetsu commented 10 years ago

I ran hoogle data all and then wanted to combine it all to the default database.

✓ misaki shana % hoogle combine *.hoo                                                  % [P ~/.cabal/share/i386-linux-ghc-7.6.3/hoogle-4.2.26/databases ] [J 0 ] [L 28 ] 
Combining 4275 databases
hoogle: elm-yesod.hoo: openFile: resource exhausted (Too many open files)
✗ 1 misaki shana % hoogle --version                                                    % [P ~/.cabal/share/i386-linux-ghc-7.6.3/hoogle-4.2.26/databases ] [J 0 ] [L 29 ] 
Hoogle v4.2.26, (C) Neil Mitchell 2004-2012
http://haskell.org/hoogle
ndmitchell commented 10 years ago

That is the current expected behaviour, although general improvements are aimed at lifting that limitation eventually.

ndmitchell commented 9 years ago

Fixed in the development version.

Fuuzetsu commented 9 years ago

Should I close?

ndmitchell commented 9 years ago

Not yet - I was going to wait until v5 is ready, since it's still a legitimate bug with the current version. Once it's released I'll close.