Re: [AOLSERVER] server reload function

2002-03-11 Thread Wojciech Kocjan
You shouldn't rely on server not being restarted - if you for example need to reboot or need to reload AOLserver for other reasons. If you use C, you need to use Ns_RegisterAtExit(), and in Tcl use ns_atshutdown. Besides just for being more secure you should save your current data from time to t

Re: [AOLSERVER] server reload function

2002-03-10 Thread Rob Mayoff
+-- On Mar 11, å¼ æ^ٓ海 said: > I have my AOLserver in inittab already. > But i should maintain many online user's information and i should not stop the >sevice. You can enable and use the ns_eval function to make all threads re-source a .tcl file. You cannot change ns_config data af

Re: [AOLSERVER] server reload function

2002-03-10 Thread Jerry Asher
At 12:05 AM 3/11/2002, you wrote: >I have my AOLserver in inittab already. >But i should maintain many online user's information and i should not stop >the sevice. >Thanks. I am not sure what you need to reload, but you can use ns_eval [list source ] to have the contents of filename sourced

Re: [AOLSERVER] server reload function

2002-03-10 Thread 张晓海
I have my AOLserver in inittab already. But i should maintain many online user's information and i should not stop the sevice. Thanks.

Re: [AOLSERVER] server reload function

2002-03-10 Thread Wojciech Kocjan
I have my AOLserver in inittab. So I just ns_shutdown it and everything gets reloaded in under 5s (unless there's a really big Tcl init module). ??? wrote: > I have a module written by c as a part of Aolserver and i want reload some config >files and static pages of this module when aolserver i

[AOLSERVER] server reload function

2002-03-10 Thread 张晓海
I have a module written by c as a part of Aolserver and i want reload some config files and static pages of this module when aolserver is running. Is there any api or build-in solutions about it of Aolserver? If none,is DomainSocket possible? Sorry for my poor english. Thanks a lot.