[Sqlrelay-discussion] short write
Brought to you by:
mused
From: Matt F. <ma...@eq...> - 2005-08-24 15:30:29
|
I am receiving the message 'aaaah, short write!!!!!' from librudiments.so using rudiments 0.28.2 and sqlrelay 0.36.4. I have enabled DEBUG_WRITE in rudiments-0.28.2/src/filedescriptor.C and here is a sample of the output during error conditions: 22687: string write(5,sjir,4) bufferedWrite of 4 bytes writebuffersize=8192 writebufferspace=0 byteswritten=0 bytesunwritten=4 just buffering 0 bytes safeWrite of 8192 bytes aaaaah, short write!!!!! 22687: ushort write(5,1) bufferedWrite of 2 bytes writebuffersize=8192 writebufferspace=0 byteswritten=0 bytesunwritten=2 just buffering 0 bytes safeWrite of 8192 bytes aaaaah, short write!!!!! I assume writebuffersize=8192 and writebufferspace=8 are default values. Under normal working conditions writebuffersize is usually less than 8192 and writebufferspace is always greater than 0. Possibly memory not being initialized properly? Possibly flaky network card? Any suggestions? Thanks, Matt |