Hi, I run several web applications using various CGI scripts to read and update BaseX databases via various XQUERIES. I use the "basexserver -S" command to start the server on a CentOS Server. Maybe this is not the very best idea.
I already split the data into various databases to avoid concurrent reading and writing. And I have a simple cron job running, that tests whether the BaseX server is still running and restarts it if it isn't running any more. However, my users get (or rather create) a time out from time to time. If the basex server then shut's down, the cron job would restart it and everything is fine again. In the last weeks, however, I discovered that after such a time out the Basex server seems to still be running, but doesn't answer any xquery any more. So I have to kill the process by hand and restart it again. Could you recommend a better solution to ensure smooth running of the Basex server even it sometimes a time out occurs? Thanks in advance and best regards Cerstin -- Dr. phil. Cerstin Mahlow Universität Basel Departement Sprach- und Literaturwissenschaften Fachbereich Deutsche Sprach- und Literaturwissenschaft Nadelberg 4 4051 Basel Schweiz Tel: +41 61 267 07 65 Fax: +41 61 267 34 40 Mail: cerstin.mah...@unibas.ch Web: http://www.oldphras.net _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk