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

    How do I delete the cache of Squid

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 5 Posters 49.1k 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.
    • F
      firefox
      last edited by

      i am using linux ubuntu

      Is there a parallel software to winscp for linux

      1 Reply Last reply Reply Quote 0
      • M
        Metu69salemi
        last edited by

        scp on command line at least if not any other

        1 Reply Last reply Reply Quote 0
        • D
          dataking
          last edited by

          @firefox:

          i am using linux ubuntu

          Is there a parallel software to winscp for linux

          Open up a terminal and

          ssh admin@yourpfssensebox
          
          1 Reply Last reply Reply Quote 0
          • F
            firefox
            last edited by

            i use this command
            and i got to this

            1. Logout (SSH only)                                8) Shell
            2. Assign Interfaces                                9) pfTop
            3. Set interface(s) IP address                  10) Filter Logs
            4. Reset webConfigurator password      11) Restart webConfigurator
            5. Reset to factory defaults                    12) pfSense Developer Shell
            6. Reboot system                                    13) Upgrade from console
            7. Halt system                                        14) Disable Secure Shell (sshd)
            8. Ping host

            this is the same screen i have in the old computer i install pfsense
            how i can see squid cache from here ?

            1 Reply Last reply Reply Quote 0
            • M
              Metu69salemi
              last edited by

              at least press 8 to go shell. But i don't know any further

              1 Reply Last reply Reply Quote 0
              • D
                dataking
                last edited by

                @Metu69salemi:

                at least press 8 to go shell. But i don't know any further

                `cd /var/squid/cache`, `rm -rf *`??
                
                1 Reply Last reply Reply Quote 0
                • F
                  firefox
                  last edited by

                  i get an error says
                  there to many Parameters

                  `cd /var/squid/cache`, `rm -rf *`??
                  
                  1 Reply Last reply Reply Quote 0
                  • M
                    Metu69salemi
                    last edited by

                    I've read this that you have to use several phases
                    first

                    
                    cd /var/squid/cache
                    
                    

                    and then

                    rm -rf *
                    
                    1 Reply Last reply Reply Quote 0
                    • F
                      firefox
                      last edited by

                      It did not do anything
                      the mark go only one line down

                      1 Reply Last reply Reply Quote 0
                      • F
                        fluca1978
                        last edited by

                        You have to stop squid, then from  a shell the command

                        squid -z
                        

                        should suffice (it recreates the swap area, and therefore should clean also the cache).

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