From: Zoran V. <zv...@ar...> - 2005-11-24 19:34:59
|
Hi! I'm spending some time with purifying the server code as we will soon enter last stage of our beta testing, hence we need a stable code. Now, I have noticed that the way NsMain() exits is not clean in terms of garbage collection. Lots of things is left in memory (Tcl interpreters most notably) and I've tried to fix that, as you might have seen from the various checkins. But... it seems to me that you can't that easily fix that i.e. make the server exit clean, w/o breaking other things like watchdog or regular ns_shutdown call, for example. I have tried several options but none of them lead to success. Hence I had to remove all those things from the code so do not be surprised. The code in CVS is now left in the initial state, that is, before my changes. I guess I will have to make a custom handling of process exit when purifying, in order to get the better memory picture, but this should not affect the "usual" operation of the server. Sorry for the confusion. Cheers Zoran |