Re: [naviserver-devel] threads and stability

2014-01-03 Thread Gustaf Neumann
Am 02.01.14 20:53, schrieb John Buckman: After rebuilding tcl and naviserver (current) from source, with -ltcmalloc, my naviserver is stable. great. the tip version of naviserver have already some modifications to help against concurrency bugs in tcl (e.g. reducing the frequency of interp crea

Re: [naviserver-devel] threads and stability

2014-01-03 Thread Gustaf Neumann
Am 02.01.14 19:02, schrieb John Buckman: 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? In order to avoid tcl

Re: [naviserver-devel] threads and stability

2014-01-02 Thread John Buckman
After rebuilding tcl and naviserver (current) from source, with -ltcmalloc, my naviserver is stable. One small thing: I can crash naviserver on ctrl-c exit fairly easily: [02/Jan/2014:11:41:01][15491.7fee7ed75700][-conn:magnatune3:8] Fatal: nsthreads: pthread_join failed in Ns_ThreadJoin: Invali

Re: [naviserver-devel] threads and stability

2014-01-02 Thread John Buckman
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: LDFLA

Re: [naviserver-devel] threads and stability

2014-01-02 Thread Wolfgang Winkler
Am 2014-01-02 12:20, schrieb John Buckman: We had crashes on startup as well. Here is a description and the solution of the problem: http://sourceforge.net/p/tcl/bugs/5238/ Hi Wolfgang, thanks for the tip. I don't see anything in your bug log indicating that you had a _startup_ problem, bu

Re: [naviserver-devel] threads and stability

2014-01-02 Thread Gustaf Neumann
Hi John, we are using naviserver on 20-30 installations with quite different configurations without the symptoms you are describing, so i would expect a problem in the configuration file. Is your setup heavy-weight (like OpenACS) or rather light-weight? If one is running a heavy-weight installa

Re: [naviserver-devel] threads and stability

2014-01-02 Thread John Buckman
> > We had crashes on startup as well. Here is a description and the solution of > the problem: > http://sourceforge.net/p/tcl/bugs/5238/ Hi Wolfgang, thanks for the tip. I don't see anything in your bug log indicating that you had a _startup_ problem, but rather a problem under load, which a

Re: [naviserver-devel] threads and stability

2014-01-01 Thread Wolfgang Winkler
Hello! We had crashes on startup as well. Here is a description and the solution of the problem: http://sourceforge.net/p/tcl/bugs/5238/ There is a very good information, why you should do this, even when you experience no crashes here: