Hi Gustaf,
I found today your great article on alternative mallocs:
https://next-scripting.org/xowiki/docs/misc/thread-mallocs/index1
could you possibly let me know what the correct way is to build Tcl and
Naviserver with tcmalloc?
My way to do it, was the modify the Tcl Makefile like so:
LDFLAGS = $(LDFLAGS_DEBUG) -Wl,--export-dynamic -ltcmalloc
but that way doesn't carry the -ltcmalloc through to tclConfig.sh, and so
loadable extensions aren't built with tcmalloc, and so I suspect that my way
wasn't the right way to do it.
Or should I just hand-modify the Naviserver makefile, and tclConfig.sh to have
that -ltcmalloc line on it?
As to your question about stability of naviserver, I see now that I had
previously built Naviserver using the Tcl binaries from ActiveTcl and I suspect
that's the problem. I'm in the process of rebuilding entirely from source.
I *have* successfully been using naviserver as a staging server, and for
development for the past 6 months. There's lots to love.
My config file is lightweight, just a slight mod from one of the samples I
found from naviserver. My hunch of the source of the problem is that binary
ActiveTcl distribution. I'm using Tcl 8.5.15
-john
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel