From: Vlad S. <vl...@cr...> - 2009-11-23 04:49:59
|
I just tried upload.tcl on my 32bit linux, latest sources with maxupload 10000000 maxinput 8904984589 works without problem, memory usage during upload of the nsd process stays the same and in /tmp i can see the file is growing i attached piece from my log, at the end there should be line reporting about the file, i do not see it in your log file John Buckman wrote: > I've enabled debugging to try to find the spooler-on-linux problem I'm having. Unfortunately, I don't think it's very enlightening: > > [-driver:nssock-] Debug: Spooler: 0: started fd=7: 1687742 bytes > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: create nslog:initinterp /usr/local/naviserver/logs/access.log > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: allocate ns:tcltrace ns_init > [-conn:amagnatune:0] Notice: upload.tcl: /upload.tcl: > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: deallocate ns:tcltrace ns_cleanup > > Once, I also saw this (but not on repeated runs) which shows the driver debug info is being logged: > [-driver:nssock-] Debug(ns:driver): SockRelease: Unable to shutdown socket (9: Bad file descriptor), sock: -1, peer: 64.62.148.4:3361, request: > > I'm using Vlad's upload.tcl example, to keep things simple. I'm attaching the larger naviserver startup log, in case that helps. > > When I set > ns_param maxupload 2048000000 > > the debug log implies the spooler is working correctly, it's just that the old-style MIME parser kicks in at the end, using lots of memory: > [-driver:nssock-] Debug: Spooler: 0: started fd=7: 1687742 bytes > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: create nslog:initinterp /usr/local/naviserver/logs/access.log > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: allocate ns:tcltrace ns_init > [-conn:amagnatune:0] Notice: upload.tcl: /upload.tcl: 778212 1687742 > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: deallocate ns:tcltrace ns_cleanup > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: allocate ns:tcltrace ns_init > [-conn:amagnatune:0] Notice: upload.tcl: /upload.tcl: 1074812 1687742 > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: deallocate ns:tcltrace ns_cleanup > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: allocate ns:tcltrace ns_init > [-conn:amagnatune:0] Notice: upload.tcl: /upload.tcl: 1383236 1687742 > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: deallocate ns:tcltrace ns_cleanup > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: allocate ns:tcltrace ns_init > [-conn:amagnatune:0] Notice: upload.tcl: /upload.tcl: 1687316 1687742 > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: deallocate ns:tcltrace ns_cleanup > [-spooler0-] Debug: spooling content to file: readahead=1024, filesize=1687743 > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: allocate ns:tcltrace ns_init > [-conn:amagnatune:1] Debug: ns:interptrace[amagnatune]: create nslog:initinterp /usr/local/naviserver/logs/access.log > [-conn:amagnatune:1] Debug: ns:interptrace[amagnatune]: allocate ns:tcltrace ns_init > [-conn:amagnatune:0] Debug: ns:interptrace[amagnatune]: deallocate ns:tcltrace ns_cleanup > [-conn:amagnatune:1] Notice: upload.tcl: /upload.tcl: > [-conn:amagnatune:1] Debug: ns:interptrace[amagnatune]: deallocate ns:tcltrace ns_cleanup > > Other question you guys had: > > - CVS -- I had previously used the sourceforge CVS from my memory, there wasn't a link I followed. I'm now using the bitbucket source. > > - nslog - I added "ns_logctl severity Debug(ns:driver) true" to my config file. > > -john > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > 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 > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Vlad Seryakov vl...@cr... http://www.crystalballinc.com/vlad/ |