Here is the data I have at the moment: * Server crashes every 40 page requests (times 39 dependent files, i.e. js, css, ajax, etc)
* Only one thread per page request is used (background delivery mechanism). Hence, the number 40 matches the allowable maxthreads/minthreads (see configuration below). * Crashes with/without zippy allocator. * Crashes with/without HackContentEncoding. * gdb output: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 49156 (LWP 29203)] 0xb7f433cc in Ns_SetFindCmp () from /opt/naviserver-4.99.2/lib/libnsd.so (gdb) continue Continuing. Program received signal SIGABRT, Aborted. 0xb7d30c51 in kill () from /lib/libc.so.6 * However, the Ns_SetFindCmp code does not seem to be the culprit. * Request handler is as follows: proc ::defaultRequestHandler {args} { set o [::xo::RequestHandler new] $o respond $o destroy #ns_set cleanup return } foreach method {GET HEAD POST} { ns_register_proc $method / ::defaultRequestHandler } * If you uncomment the "ns_set cleanup" line, no fatal signal is received. However, a server error occurs at the threshold (40 requests times 39 dependent files) due to the fact that the form-conn ns_set is not found (I haven't checked how NS uses sets per thread (my guess is that it creates a persistent ns_set per thread). * NS configuration synopsis: - 4.99.1 init.tcl (see previous thread, i.e. xotcl) - without nstrace - progressminsize/uploadsize 10000 bytes - 4 spooler writer/reader - MaxThreads 40 - MinThreads 40 - MaxConnections 120 - MaxDropped 0 I plan to investigate this further in the following days. If you have any suggestions/comments/help please do not hesitate to post (or contact me). Best wishes, Neophytos ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel