Re: [basex-talk] Too Many Open Files

2012-05-26 Thread Christian Grün
Hi Andreas, just a short one: you may also want to experiment with the KEEPALIVE option [1], which specifies how long a session is kept open. Hope this helps, Christian [1] http://docs.basex.org/wiki/Options#KEEPALIVE On Sat, May 26, 2012 at 8:05 AM, Andreas Rulle wrote: > Hello Christian, >

Re: [basex-talk] Too Many Open Files

2012-05-25 Thread Andreas Rulle
Hello Christian, sorry for the delay of the response. 1.Tests with the BaseX722-20120526.024641.zip show that a telnet connection is effectively interrupted with the new parameter AUTHTIMEOUT and no socket remains open, in contrast to version 7.2. 2.But I'm sorry to say Basex when te

Re: [basex-talk] Too Many Open Files

2012-05-22 Thread Christian Grün
Dear Andreas, have you been successful with the latest snapshots? Christian ___ On Wed, May 16, 2012 at 1:11 AM, Christian Grün wrote: > Hi Andreas, > > seems you managed to get half of our team up and running.. ;) We have > added a new option to limit the maximum time for

Re: [basex-talk] Too Many Open Files

2012-05-15 Thread Christian Grün
Hi Andreas, seems you managed to get half of our team up and running.. ;) We have added a new option to limit the maximum time for connecting to the server [1]. By default, it is currently set to 10 seconds; after that, a client will be dismissed. As the implementation is still subject to change,

Re: [basex-talk] Too Many Open Files

2012-05-15 Thread Jens Erat
Hi all, I just proposed a fix (see pull request). Connections to clients in authentification phase are closed by the server now after `KEEPALIVE` seconds have passed. Kind regards from Lake Constance, Jens -- Jens Erat [phone]: tel:+49-151-56961126 [mail]: mailto:em...@jenserat.de [jabber

Re: [basex-talk] Too Many Open Files

2012-05-15 Thread Andreas Weiler
Hi there, i guess the problem is that the load balancer is just sending a message over the socket connection to the BaseX server, which does not correspond to the BaseX client-server protocol. So the client thread on the BaseX server side is waiting for the credentials in the appropriate form.

Re: [basex-talk] Too Many Open Files

2012-05-14 Thread Dimitar Popov
On May 14, 2012, at 3:22 PM, Andreas Rulle wrote: > 3.The tcpdump - viewed with wireshark - shows that the healthy check of > the load balancer - mon and ldirectoryd do the same - sends a RST (Connection > reset) message TCP to the BaseX database. > > Each RST message from the mon or ldirec

Re: [basex-talk] Too Many Open Files

2012-05-14 Thread Andreas Weiler
Hello Andreas, the only file that i can think of that is opened for each client is the log file of BaseX. Normally the log file should just be opened by the server and the clients are referring to it, however, you should give it a try and start the basexserver with the "-z" option (http://docs

Re: [basex-talk] Too Many Open Files

2012-05-11 Thread Andreas Rulle
Hello Andreas, this email informs you that *with the tool mon (1), *that is often used together, see (3), the LVS load balancer (2) it has been able to reproduce the java.net.SocketException: Too many open files with the following configuration watch basex servic

Re: [basex-talk] Too Many Open Files

2012-05-11 Thread Andreas Rulle
Hello Andreas, thank you very much for your valuable hints. sudo lsof -p basex-ps-no delivers many lines of java11489 root 962u sock 0,6 0t0 10449645 can't identify protocol and (1) sudo lsof -p 11489 | wc -l gets reports an increasing number of used "files

Re: [basex-talk] Too Many Open Files

2012-05-11 Thread Andreas Rulle
Hello Ditimar, thank you for your question. The following code sequence is the only one that issues queries to the database in the production context. It is a EJB application, it does not share connections. ClientSession session = null; ClientQuery queryBaseX = null; S

Re: [basex-talk] Too Many Open Files

2012-05-11 Thread Dimitar Popov
Could you please check if your application always closes the active client sessions, i.e. the method org.basex.server.Session.close() is called? Regards, Dimitar On May 11, 2012, at 10:59 AM, Andreas Rulle wrote: > Hello BaseX-Experts! > > Let me first thank you who drive this fantastic BaseX

Re: [basex-talk] Too Many Open Files

2012-05-11 Thread Andreas Rulle
Hello Andreas, thank you for devoting your attention to this point. At the moment there is just a handful number of databases, and we checked that show databases results in 0 opened databases(s) after the test suites have been finished. And the "too many open files" have been repo

Re: [basex-talk] Too Many Open Files

2012-05-11 Thread Andreas Weiler
Hello Andreas, do you have a lot of opened databases? -- Andreas Am 11.05.2012 um 12:25 schrieb Andreas Rulle: > Hello Stefan, > > thank you for your quick response. > > For testing purposes the basex database is started within a screen and in > this screen the number of open files has been

Re: [basex-talk] Too Many Open Files

2012-05-11 Thread Andreas Rulle
Hello Stefan, thank you for your quick response. For testing purposes the basex database is started within a screen and in this screen the number of open files has been set as recommended by you. It remains the vague feeling that this might only cure a symptom ... With best regards, Andreas

[basex-talk] Too Many Open Files

2012-05-11 Thread Andreas Rulle
Hello BaseX-Experts! Let me first thank you who drive this fantastic BaseX project! For the use of BaseX as a backend to a soap-webservice project we have seen very encouraging load test results. On the systems that is intended to become productive very soon we see on a daily basis (on two dat