Too many open files

Ryan Schmidt ryandesign at macports.org
Sun Dec 20 11:57:28 PST 2009


On Dec 20, 2009, at 07:41, David Evans wrote:

> I upped the max number of open files using ulimit from
> 256 to 10000 and ran my massive build again.
> 
> While the build was running I monitored the files opened
> by tclsh8.5 using
> 
> sudo lsof | grep -i tcl | grep receipts | wc -l
> 
> There were 272 instances of
> 
> /opt/local/var/macports/receipts/file_map.db
> 
> open.  I think we have a file open leak.

I have seen the "too many open files" problem myself when having MacPorts install a lot of ports at once. Thanks for finding out which file is the problem. Could you please file an issue in the issue tracker with your findings?




More information about the macports-users mailing list