server time out

Friday, 31 May 2013 · 2 messages · last reply 5 Jun 2013
CM
Cerstin Elisabeth Mahlow31 May 2013 11:51 #
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.mahlow at unibas.ch Web: http://www.oldphras.net
CG
Christian Grün5 Jun 2013 12:05 #
..has/will be discussed offline. – Christian ___________________________ 2013/5/31 Cerstin Elisabeth Mahlow <cerstin.mahlow at unibas.ch>:
Quoted text · Cerstin Elisabeth Mahlow · 32 lines
> 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.mahlow at unibas.ch > Web: http://www.oldphras.net > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

⚡Generated with XQuery