<div dir="ltr">Additional information, in this situation any smart card reader is connected, we have /smartcard always defined to ensure that we add smartcard support in any situation.<div>We are using in last years same config but with older pcsc and rdesktop versions with win 2003 and working without any problems</div><div><br></div><div>Where is the problem?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-01 23:05 GMT+02:00 Trenta sis <span dir="ltr"><<a href="mailto:trenta.sis@gmail.com" target="_blank">trenta.sis@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I am using freerdp 2 and ccid 1.4.19 + pcsc-liste 1.8.13 and I have detected taht after disconnect to windows 2012 r2 with freerdp using /smartcard then after some time appear an error in /var/log/messages like </div><div><br></div><div><div>Sep 1 22:49:49 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: winscard_svc.c:183:<wbr>CreateContextThread() Too many context running: 200</div><div>Sep 1 22:49:49 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: pcscdaemon.c:138:<wbr>SVCServiceRunLoop() Problem during the context thread creation</div><div>Sep 1 22:49:50 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: winscard_svc.c:183:<wbr>CreateContextThread() Too many context running: 200</div><div>Sep 1 22:49:50 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: pcscdaemon.c:138:<wbr>SVCServiceRunLoop() Problem during the context thread creation</div><div>Sep 1 22:49:51 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: winscard_svc.c:183:<wbr>CreateContextThread() Too many context running: 200</div><div><br></div><div>during more than 7 minutes </div></div><div><br></div><div><div>Sep 1 22:56:35 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: pcscdaemon.c:138:<wbr>SVCServiceRunLoop() Problem during the context thread creation</div><div>Sep 1 22:56:36 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: winscard_svc.c:183:<wbr>CreateContextThread() Too many context running: 200</div><div>Sep 1 22:56:36 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: pcscdaemon.c:138:<wbr>SVCServiceRunLoop() Problem during the context thread creation</div><div>Sep 1 22:56:37 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: winscard_svc.c:183:<wbr>CreateContextThread() Too many context running: 200</div><div>Sep 1 22:56:37 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: pcscdaemon.c:138:<wbr>SVCServiceRunLoop() Problem during the context thread creation</div><div>Sep 1 22:56:38 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: winscard_svc.c:183:<wbr>CreateContextThread() Too many context running: 200</div><div>Sep 1 22:56:38 (none) <a href="http://user.info" target="_blank">user.info</a> pcscd: pcscdaemon.c:138:<wbr>SVCServiceRunLoop() Problem during the context thread creation</div><div><br></div><div>and after this we can't print from freerdp</div></div><div><br></div><div>If we kill /sbin/pcscd then we can print, and re-execute /sbin/pcscd also can print fore some time, but then error is reproduced after some time</div><div><br></div><div><br></div><div>During errors we detected high cpu usage in freerdp and pcscd, for example:</div><div><div> 5482 5175 root S 1704m 99.8 0 0.0 xfreerdp /f /kbd:0x0000040A /bpp:16 /u:'' /d:pfgg /printer:usb,'Brother HL-5240 series' /printer:Laser_taller,'HP Universal Printing PCL 6' /smartcard /cert-ignore /sec:tls</div><div> 4545 1 root S 1612m 94.4 0 0.0 /sbin/pcscd</div></div><div><br></div><div>Where is the problem and how can be solved?</div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>