Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    "pcscd PC/SC Smart Card Daemon" ?

    Scheduled Pinned Locked Moved General pfSense Questions
    70 Posts 22 Posters 30.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dereitz
      last edited by

      I was investigating why my pfsense box was using over 6GB of "laundry memory" and additionally was using swap space and finally ran across this thread. Sure enough, pcscd was running on my box and was the culprit. Thanks to this thread, I was able to disable the service and immediately my memory usage went back to normal!

      Another great catch by the community.. Thank you all!
      -David

      1 Reply Last reply Reply Quote 0
      • SjMS
        SjM
        last edited by SjM

        This is interesting.

        2.5.2-RELEASE (amd64)
        built on Fri Jul 02 15:33:00 EDT 2021
        FreeBSD 12.2-STABLE

        pfBlockerNG was starting cron jobs which didn't complete to the extent that it was consuming 100% of CPU time. Couldn't figure out what was going awry. I came across this discussion and saw the process pcscd was running on my system. After I killed pcscd the system is behaving as it should on about 4-7% CPU utilization!

        Weird.

        Next thing is how do I apply the patch to stop pcscd loading at startup? I don't seem to have the option to apply a patch under the system menu of pfSense.

        M 1 Reply Last reply Reply Quote 0
        • M
          mcury @SjM
          last edited by

          @sjm Install this package:

          a1578b45-5ec6-4504-b074-51378a178fd9-image.png

          Then apply the patch afcc0e9c97c1993ae6b95f886665fcb4375d26c7

          dead on arrival, nowhere to be found.

          SjMS D 3 Replies Last reply Reply Quote 3
          • SjMS
            SjM @mcury
            last edited by

            @mcury laughing just discovered the very thing. ๐Ÿ‘

            1 Reply Last reply Reply Quote 0
            • SjMS
              SjM @mcury
              last edited by

              @mcury how many path levels do I need to strip? 1??

              M 1 Reply Last reply Reply Quote 0
              • M
                mcury @SjM
                last edited by

                @sjm I left everything default settings..

                41c792cd-0076-44d1-ac94-f64ed2b5ecac-image.png

                dead on arrival, nowhere to be found.

                SjMS 1 Reply Last reply Reply Quote 2
                • SjMS
                  SjM @mcury
                  last edited by

                  @mcury pfSense is again purring along like it should.

                  Many thanks!

                  1 Reply Last reply Reply Quote 1
                  • B
                    bluepill
                    last edited by

                    Thanks for this thread - like others it has helped me a lot.

                    1 Reply Last reply Reply Quote 0
                    • D
                      drees @mcury
                      last edited by

                      Thanks, applying the patch and stopping/started IPsec fixed the issue for me.

                      Not sure how long it was going on, but I found two different pfSense boxes (a SG-1100 and SG-3100) with a site-to-site IPsec VPN with this issue. On the SG-3100, we were seeing weird delays/pauses in OpenVPN traffic. Logging in we saw high CPU load and found the characteristic large number of bzip2 processes compressing ipsec logs. On the SG-1100, didn't really notice anything, but did find that the snmp daemon had died.

                      1 Reply Last reply Reply Quote 0
                      • P
                        PeteRage
                        last edited by

                        Ran into this problem also. Disabled the daemon. My next step is to establish site-to-site ipsec tunnel. Is this pcscd required to establish an ip-sec tunnel?

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          SteveITS Galactic Empire @PeteRage
                          last edited by

                          @peterage said in "pcscd PC/SC Smart Card Daemon" ?:

                          Is this pcscd required to establish an ip-sec tunnel

                          No.

                          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                          Upvote ๐Ÿ‘ helpful posts!

                          1 Reply Last reply Reply Quote 0
                          • chudakC
                            chudak
                            last edited by

                            "pcscd PC/SC Smart Card Daemon" is gone in 2.6.0!!!

                            jimpJ 1 Reply Last reply Reply Quote 0
                            • jimpJ
                              jimp Rebel Alliance Developer Netgate @chudak
                              last edited by

                              @chudak said in "pcscd PC/SC Smart Card Daemon" ?:

                              "pcscd PC/SC Smart Card Daemon" is gone in 2.6.0!!!

                              It's still there, just disabled by default. If someone needs it they can enable it.

                              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

                              chudakC 1 Reply Last reply Reply Quote 2
                              • chudakC
                                chudak @jimp
                                last edited by

                                @jimp that's what I meant :)

                                Thank you !

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.