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
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
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
Hi Vlad,
Looks like in your environment, writer cannot send buffers greater than
512, not sure why
yep, I have many directions to look for... It's NaviServer in a chroot, on a
SUSE LINUX Enterprise Server 9.
I set logmaxlevel to 6 (dev) and I sometimes see lines like:
Debug: SockSend:
On 07.11.2006, at 17:02, Bernd Eidenschink wrote:
I set logmaxlevel to 6 (dev) and I sometimes see lines like:
Debug: SockSend: Resource temporarily unavailable
Debug: SockSend: Resource temporarily unavailable
(...)
Out of the blue, I would not consider this a problem.
This is reading on
On 11/7/06, Zoran Vasiljevic [EMAIL PROTECTED] wrote:
On 07.11.2006, at 17:02, Bernd Eidenschink wrote:
I set logmaxlevel to 6 (dev) and I sometimes see lines like:
Debug: SockSend: Resource temporarily unavailable
Debug: SockSend: Resource temporarily unavailable
(...)
Out of the blue,
Ns_SockSendBufs() is not supposed to send all at once, that is the
problem. That's why small change i sent to Bernd should fix it, i just
do not want to commit it before the test.
Stephen Deasey wrote:
On 11/7/06, Zoran Vasiljevic [EMAIL PROTECTED] wrote:
On 07.11.2006, at 17:02, Bernd
Ns_SockSendBufs() is not supposed to send all at once, that is the
problem. That's why small change i sent to Bernd should fix it, i just
do not want to commit it before the test.
Looks good, I changed the driver.c line, replaced nsd and libnsd.so and
changed writerbufsize in config to 8192: