Once the server started, connect to nscp console and issue

ns_logctl severity Debug(ns:driver) true

now in the nsd.log there must be a lot of driver and spooler related 
messages


Vlad Seryakov wrote:
> I am using it on 32 and 64 bit with default configure, so it is 
> something different.
> 
> First, enable debug
> 
> ns_section ns/parameters
> ns_param logdebug true
> 
> ns_section ns/server/server/module/nssock
> ns_param readahead 1024
> ns_param maxupload 1024
> 
> 
> maxupload and readahead are used for uploads and readahead is the limit 
> when to use spooler, maxupload is used to decide what temp file to use, 
> by default temp file which is deleted is used, just for mmap, if length 
>  > maxupload, then regular temp file with name.
> 
> Try with it, also debugging would be good to enable but i forgot how to 
> enable driver debug, now it uses special severity and i am not sure it 
> works via config file. It's beed a while since i used it.
> 
> John Buckman wrote:
>> I put naviserver into production today, and found that the spooler 
>> wouldn't work for me, on my production linux (32bit) machine.  
>> However, the same config file works perfectly under OSX.  All 
>> spooler-enabled uploads get an immediate "The connection was reset" 
>> error in Firefox.
>>
>> My config has:
>>>          ns_param maxinput       3000000000
>>>          ns_param maxupload      1024
>>>          ns_param spoolerthreads  1
>>
>> and nsd reports:
>>> [21/Nov/2009:17:42:35][18975.1065a6000][-spooler0-] Notice: spooler0: 
>>> accepting connections
>>
>>
>> --> Any ideas on how to go about debugging the problem?
>>
>> -john
>>
>> ps:
>> Changing "maxupload" to a large value makes uploads work the old 
>> (memory hogging) way.
>>
>> Perhaps the problem is how I built my naviserver on linux?  I simply 
>> ran "autogen.sh" from the cvs tree, and I also tried it with
>> ./autogen.sh --enable-threads --enable-symbols  --with-tcl=/usr/local/lib
>>
>>
>>
>> ------------------------------------------------------------------------------
>>  
>>
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
>> 30-Day trial. Simplify your report design, integration and deployment 
>> - and focus on what you do best, core application coding. Discover 
>> what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> naviserver-devel mailing list
>> naviserver-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
>>
> 

-- 
Vlad Seryakov
v...@crystalballinc.com
http://www.crystalballinc.com/vlad/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to