Re: [Sqlrelay-discussion] short write
Brought to you by:
mused
From: Matt F. <ma...@eq...> - 2005-08-24 15:45:38
|
typo in original message: 'I assume...writebufferspace=8 are default values...' should be '...writebufferspace=0...' Matt Flynn wrote: > 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 > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |