On Jan 2, 2008 6:31 AM, Jeff Krebs <jkrebs@xxxxxxxxx> wrote: > * Tod Merley (todbot88@xxxxxxxxx) wrote: > > > On Jan 1, 2008 9:51 PM, Jeff Krebs <jkrebs@xxxxxxxxx> wrote: > > > Oddest issue with pcsc. I'm getting 100% CPU usage while running pcscd. > > > > > > Now to story... > > > > > > Finally got my CAC Card setup running and working. I'm able to do what > > > I need to do with PKI certificates and such. Athena reader, Athena > > > driver. Started with java-1.7.0-icedtea. Joy and happiness abounding > > > except... > > > > > > IcedTea just wasn't doing it. CNN video wasn't working. Odds and ends > > > borked or not functioning. > > > > > > Managed to get all SunJava 1.6.0r3 packages built and installed under > > > Fedora 8. Even the jdbc and fonts. My machine passed the Java.com test > > > and even updated the java applets (hadn't seen that before). Java works > > > wonderful, everything seems to function very well. Except... > > > > > > Now, after removing IcedTea and installing Sun-Java, my CPU is at 100%. > > > Top shows pcscd as #1, burning over 91% of the CPU. This is a P4 1.6 > > > Ghz, and I have 1.2 G of RAM. I can stop pcscd through the "Services" > > > configuration interface (via /usr/sbin/system-config-services). The > > > system CPU usage immediately drops to around 7%. Much weeping and > > > gnashing of teeth... > > > > > > Now, the question. What's going on? Why does Java appear to cause a > > > race condition in pcscd? I can certainly disable pcscd when I don't > > > need it, but when I do need it, will I have to face high CPU usage? > > > > > > > > > Jeff Krebs > > > > > > -- > > > fedora-list mailing list > > > fedora-list@xxxxxxxxxx > > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > > > > > > > Hi Jeff Krebs! > > > > I too do not understand what would make the smart card reader manager > > go bonkers. Perhaps Sun's java makes it look for the CAC verification > > module which perhaps it cannot find? > > > > The question your e-mail made me ponder is "how can one find out" > > "what's going on?". I have found some possible answers. Some I have > > heard mentioned in this forum. > > > > strace - ltrace - lsof ... : > > > > http://en.wikipedia.org/wiki/Strace (also man strace) > > > > http://en.wikipedia.org/wiki/Ltrace (also man ltrace) > > > > http://en.wikipedia.org/wiki/Lsof_%28Unix%29 (also man lsof) > > > > http://en.wikipedia.org/wiki/Gdb (also man gdb) > > > > Looking from the Java end: > > > > http://jamonapi.sourceforge.net/ > > > > Probably for the developer - The Linux Test Project: > > > > http://ltp.sourceforge.net/ > > > > I have never gone so far into finding the actual problem as these > > tools can take us. Hopefully someone who has will chime in. > > > > I would love to hear what you do find and how you found it! > > > > Good Hunting! > > > > Tod > > > > -- > > fedora-list mailing list > > fedora-list@xxxxxxxxxx > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > > Thank you for the interesting insight and the list of all of the > development tools. > > I rebuilt the rawhide pcsc .src.rpm (version 1.4.4, vice the 1.3.3 > distro provide) and installed. Seems to do the trick. Bugzilla > indicated that others were having this issue as well. Hopefully we'll > see the update in FC7/F8 soon. > > > Jeff Krebs > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > Hi Jeff Krebs! I am very glad to hear that you found your fix and implemented it! Google Rocks! I have been wanting to find out about those tools since I heard that they existed. Thanks for moving me to find them! Have a lot of fun! Tod