Skip to content
Tcl Source Code Artifact [3b2643ef41]
Login

Artifact [3b2643ef41]

Artifact 3b2643ef410b96f357b743daab5865dbc449644799560bc558ec60463bb52985:

Ticket change [3b2643ef41] - New ticket [21280817d1c5bc6f|21280817d1] <i>Too many threads created on Windows for stdio channels</i>. by apnadkarni on 2022-06-27 15:36:42.
D 2022-06-27T15:36:42.970
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment Originally\sreported\sby\sSteve\sShaw\s(HammerDB)\sbased\son\sa\squery\sfrom\sMicrosoft\swhen\sload\stesting\sSQLServer.\sRunning\s900+\sthreads\sfor\sTPC-C\sbenchmarks,\sthey\swere\sobserving\sseveral\stimes\sthat\snumber\sof\sthreads\sin\stclsh\sbut\snot\sin\swish.\r\n\r\nThe\sreason\sturned\sout\sto\sbe\sthat\stclsh\s(on\sWindows\sonly)\screates\sthree\s*additional*\sthreads\sfor\sstdin,\sstdout\sand\sstderr\sfor\seach\sTcl\sthread\screated.\sThis\sis\strue\seven\sif\sthe\sadditional\sthreads\sdo\snot\sactually\sdo\soperations\son\sstdio.\sObviously\sthis\sis\swasteful\sin\sterms\sof\ssystem\sresources\sbut\salso\sperformance\ssince\seach\sTcl\sthread\screation\sactually\sspawns\s4\sthreads.\swish\sdoes\snot\shave\sany\sconsole\schannels\sand\sthus\sdoes\snot\sexhibit\sthis\sissue.
J foundin 8.6
J is_private 0
J login apnadkarni
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter apnadkarni
J subsystem 27.\sChannel\sTypes
J title Too\smany\sthreads\screated\son\sWindows\sfor\sstdio\schannels
J type Bug
K 21280817d1c5bc6f65972a4050d51f79d2ba470c
U apnadkarni
Z cb4bc62506b562f3a36466984ebf122f