.
D 2001-09-18T07:21:28
J icomment Logged\sIn:\sYES\s\nuser_id=326095\n\nI\shave\sbeen\stalking\swith\sDon\sLibes.\nHe\sthinks\sthis\sis\sa\sTcl\sproblem.\n\nI\swas\soriginally\shaving\sthe\sproblem\nwith\sthe\sstock\sExpect\sfrom\sRedHat\n7.1,\sand\she\sgot\sme\sto\stry\sthe\slater\nrelease.\s\sI\scan\slook\sup\sdetails\sif\syou\nreally\sneed\sthem.\n\nThe\schannel\sis\sthe\spipe\sto\sa\schild\sof\nexpect,\sand\sas\sfar\sas\sI\sknow,\sthere's\nno\scontrol\sat\sthe\sscript\slevel\sabout\nblocking\sthat.\n\nThe\strace\sincludes\sall\ssystem\scalls,\nexpect\sor\sotherwise,\sfrom\sthe\sgiven\nprocess.\s\s\sI\sremoved\ssome\sthat\swere\ntoo\sprolix\s(do\syou\sreally\sneed\sto\scall\ntime()\sthat\soften?\s\sit's\s90%\sof\sthe\nsystem\scalls).\sSome\sof\sthe\sprintfs\sare\nin\sexpect,\ssome\sin\sTcl.\n\nMy\sown\sguess\sis\sthat\sthis\sis\sonly\ngoing\sto\sbe\sa\sproblem\swith\smultiple\nchannels,\sproducing\sblocks\sof\sdata\nbigger\sthan\sexpect's\sbuffer\s(4096),\nso\sthat\sthere\sis\sdata\sleft\safter\sa\sread.\nThen,\sas\snear\sas\sI\scan\stell,\sthe\stimer\nis\simmortal\sand\scan\sfire\slater\sat\san\ninappropriate\stime.\s\sIt\swon't\sget\sa\nchance\sif\sthere's\sonly\sone\schannel\nactive,\sbecause\sof\sthe\sdetails\sof\sthe\ncode.\s\sBut\swith\smultiple\schannels\noperating\sconcurrently,\s.....\n\nI'll\swork\son\s__FILE__\sand\s__LINE__,\nbut\syou\sknow,\smy\sprintfs\sare\sgoing\nto\smake\shash\sof\sLINE.\s\sThey\salready\nmostly\ssay\swhere\sthey\sare.\n\nFinally,\sI'm\snot\ssure\show\sto\slook\sinto\nwhat's\sin\sthe\stcl\sbuffers.\n\nSee\sthe\sattached\sscript.\s\sIt\sisn't\sgoing\nto\swork\sunless\syou\scan\srun\s10\sSQL*Plus\nclients\sagainst\sa\sTPC\sdatabase.\s:o(\n\n\n
J login kogorman
J mimetype text/plain
J status Open
J username kogorman
K 462317ffffffffffffffffffffffffffffffffff
U kogorman
Z fe77f3cffc7844c2881f33ea6330106b