Please ignore my previous email, it looks that I have a bug in one of
the loading packages, thus script initscript is interrupted before
setting variables. I looks I will able to fix it by myself. Sorry!
On 09/21/2017 11:49 AM, Alexey Noskov wrote:
Dear Massimo,
As per our earlier conversation, I'd like to inform that after
building the latest version I don't need to restart apache
periodically anymore.
Again thank you for the suggestion, it helped. Apache works properly
for many days already without any crashes.
I have a new trouble, probably, because some misunderstanding of rivet
concepts. In order to have a several, prototypes of
the web site, I need to use multiple virtualhosts with their separate
global variables and db connections. Thus I am trying to
use this apache configuration:
/RivetServerConf SeparateVirtualInterps yes//
//RivetServerConf SeparateChannels yes/
And the following in VirtualHosts:
/RivetServerConf ChildInitScript "source /path/to/initscript.tcl"/
The problem is that global variables and db connections defined
/initscript.tcl /are unreachable from *.rvt/*.tcl files of the
website. In my view,
/ChildInitScript/ defines global variable in the master interpreter
instead of slave, but I am not sure. Tried to define /ChildInitScript
/ouside
from VirtualHosts - no effect...
Any suggestions?
Thank you,
Regards,
Alexey
On 09/13/2017 10:35 AM, Massimo Manghi wrote:
On 09/13/2017 09:43 AM, Alexey Noskov wrote:
Dear Massimo,
thank you for the patch and very fast responses,
yesterday I finally built rivet3.0.
I disabled cron job for restarting apache, after 1 day
everything works fine without any crashes.
I am going to try to fix problems with SQLite,
in the worst case I will move to Postgres.
Regards,
Alexey
Dear Alexey, thank you for reporting this to the list, do not hesitate
to tell us what's going on with your project in connection with Rivet
3.0. You are like a beta tester in this situation so your opinion and
remarks are valuable.
I recommend you move on to PostgreSQL if you can't find a safe way to
properly orchestrate the clients while accessing the database
-- Massimo
Il 5xmille a favore dell’Università di Parma (indicando il codice
fiscale 00308780345) è un gesto tanto semplice quanto importante per
creare nuove opportunità di lavoro per giovani di talento nell'ambito
della ricerca scientifica.
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org