<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">user.info</a> pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200</div><div>Sep  1 22:49:49 (none) <a href="http://user.info">user.info</a> pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation</div><div>Sep  1 22:49:50 (none) <a href="http://user.info">user.info</a> pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200</div><div>Sep  1 22:49:50 (none) <a href="http://user.info">user.info</a> pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation</div><div>Sep  1 22:49:51 (none) <a href="http://user.info">user.info</a> pcscd: winscard_svc.c:183: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">user.info</a> pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation</div><div>Sep  1 22:56:36 (none) <a href="http://user.info">user.info</a> pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200</div><div>Sep  1 22:56:36 (none) <a href="http://user.info">user.info</a> pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation</div><div>Sep  1 22:56:37 (none) <a href="http://user.info">user.info</a> pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200</div><div>Sep  1 22:56:37 (none) <a href="http://user.info">user.info</a> pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation</div><div>Sep  1 22:56:38 (none) <a href="http://user.info">user.info</a> pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200</div><div>Sep  1 22:56:38 (none) <a href="http://user.info">user.info</a> pcscd: pcscdaemon.c:138: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>