As the hard file limit is around 2^16, depending on your system, it's very unlikely to burst the roof in a real world application. Somebody might correct me if I'm wrong ...
Glad to hear that it works now! (fingers crossed ... )
On Tue, Jan 4, 2011 at 10:14 PM, Charles F. Munat <charles.munat@gmail.com> wrote:
I think that the problem might have been that I had the ClientGUI open and was accessing the embedded database at the same time (same database) and had numerous other databases possibly "open" (plus a couple hundred files). If it doesn't happen on the server, I'm happy.
I'm not very clear what the scenario is either...
If no one else has a problem with this, it was probably just an extremely unusual situation.
Thanks!
Chas.
On 01/04/2011 5:48 PM, Lukas Kircher wrote:
Hey Chas,
I'm not quite sure if I understand your scenario so this is just a quick
guess. The maximum number of opened files is depending on your operating
system. Are you sure you close all files, sockets, streams that are no
longer needed?
Otherwise you could try to raise the file limit depending on your system
... but this might be a no-go for you as the problem is eventually
postponed, but not fixed.
Cheers,
Lukas
On Tue, Jan 4, 2011 at 8:57 PM, Charles F. Munat<charles.munat@gmail.com <mailto:charles.munat@gmail.com>> wrote:<mailto:BaseX-Talk@mailman.uni-konstanz.de>
Got this error:
org.basex.core.BaseXException: /var/www/xxx/db/data/atv.basex (Too
many open files)
Oh, noes! What does this mean? I was just hitting the page quickly.
I'm sunk if people can't hit the page repeatedly. Is there a setting
to adjust this? Is it a heap space issue? How can I make sure this
never happens?
I have an embedded database. I load it through the application (no
file). I don't know what you call that. It uses one big XQuery to
generate the page. Any ideas?
Thanks very much!
Chas.
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de