From: Vlad S. <vl...@cr...> - 2006-11-07 15:12:40
|
Also, for test sake, can you change driver.c:2777 from if (n < curPtr->bufsize) { to if (n < 0) { and see if it will work, Ns_SockSend may send less bytes which is not an error condition Vlad Seryakov wrote: > in my config it works fine with bufsize 8192. This parameter tells the > writer size of the buffer and size of the chunk to sent on each > iteration. Minimum is 512, so when you set it to 1 actually it is 512. > Looks like in your environment, writer cannot send buffers greater than > 512, not sure why > > ns_param writerthreads 1 > ns_param writersize [expr 1024*1024] > > > [07/Nov/2006:10:01:06][17239.3055905696][-conn:oss2:0] Notice: Writer: > 0: started sock=6, fd=8: size=1125737214, flags=10: /.Movies/AeonFlux.avi > [07/Nov/2006:10:01:39][17239.3000527776][-writer0-] Notice: Writer: > closed sock=6, fd=8, error=0/0, sent=1125737214, flags=10 > > > Bernd Eidenschink wrote: >> Hi, >> >> with the default config (writerbufsize 8192) I immediately get this error >> (probably SOCK_WRITEERROR) when trying to download the testfile on my server: >> >> [-writer0-] Notice: Writer: closed sock=5, fd=7, error=-8/0, sent=8192, >> flags=10 >> >> When I set writerbufsize to something very small, let's say "1", it works. >> >> Do you have a tip in what direction to look for the cause? >> >> Bernd. >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |