too many open files...SOLVED

11 views
Skip to first unread message

bblais

unread,
Sep 18, 2007, 9:47:09 AM9/18/07
to buzhug
Hello everyone,

I figured out the reason for the too many open files, and it turns out
not to be a buzhug issue (although it seems to open a lot of files).
In Unix, you can check your own limits on these things with:

ulimit -n

mine was set to 256, so when buzhug opens all the permutations of the
referenced objects, it goes past this. I did:

ulimit -n 1000

and it solved the problem.


thanks again,

Brian Blais

Nicolas Pinault

unread,
Sep 18, 2007, 12:39:23 PM9/18/07
to buz...@googlegroups.com
Hi,

> I figured out the reason for the too many open files, and it turns out
> not to be a buzhug issue (although it seems to open a lot of files).
>

Buzhug creates one file per database field + 6 other for base management.

Nicolas

bblais

unread,
Sep 21, 2007, 9:24:07 PM9/21/07
to buzhug

On Sep 18, 12:39 pm, Nicolas Pinault <nico...@famillepinault.fr>
wrote:

If I open a database, and then don't need it anymore, and want to open
another one, is there a way to close all the files of the first one?

On the system I am running this on, I don't have control over the open
file limit, and don't want to run into it.


thanks,

Brian Blais

Pierre Quentel

unread,
Sep 29, 2007, 1:57:27 AM9/29/07
to buzhug
Hi,

Good point ; I have added a close() method to close all the files open
for the database. It will be in version 0.9, published probably today

Regards,
Pierre

Reply all
Reply to author
Forward
0 new messages