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

    Lusca_Surya

    Scheduled Pinned Locked Moved Indonesian
    68 Posts 14 Posters 38.3k 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.
    • J
      jundi49
      last edited by

      Punya ku kok aneh ya mas,
      client akses ke cache kenapa 0
      Mohon bantuannya ?

      $ squidclient -p 80 mgr:info
      HTTP/1.0 200 OK
      Server: Lusca
      Date: Thu, 16 Feb 2012 04:20:57 GMT
      Content-Type: text/plain
      Expires: Thu, 16 Feb 2012 04:20:57 GMT
      X-Cache: MISS from askrnet1_router
      Connection: close

      Squid Object Cache: Version LUSCA r14850 patched: chudy r14
      Start Time: Thu, 16 Feb 2012 01:56:53 GMT
      Current Time: Thu, 16 Feb 2012 04:20:57 GMT
      Connection information for squid:
      Number of clients accessing cache: 0
      Number of HTTP requests received: 17469
      Number of ICP messages received: 0
      Number of ICP messages sent: 0
      Number of queued ICP replies: 0
      Request failure ratio: 0.00
      Average HTTP requests per minute since start: 121.3
      Average ICP messages per minute since start: 0.0
      Select loop called: 563123 times, 15.350 ms avg
      Cache information for squid:
      Request Hit Ratios: 5min: 67.0%, 60min: 47.8%
      Byte Hit Ratios: 5min: 71.3%, 60min: 57.3%
      Request Memory Hit Ratios: 5min: 2.1%, 60min: 4.9%
      Request Disk Hit Ratios: 5min: 37.8%, 60min: 59.0%
      Storage Swap size: 16465208 KB
      Storage Mem size: 16372 KB
      Mean Object Size: 25.03 KB
      Requests given to unlinkd: 0
      Median Service Times (seconds)  5 min    60 min:
      HTTP Requests (All):  0.02317  0.12106
      Cache Misses:          0.46965  0.58309
      Cache Hits:            0.02742  0.02592
      Near Hits:            0.11465  0.24524
      Not-Modified Replies:  0.01164  0.00919
      DNS Lookups:          0.00000  0.00000
      ICP Queries:          0.00000  0.00000
      Resource usage for squid:
      UP Time: 8643.771 seconds
      CPU Time: 142.268 seconds
      CPU Usage: 1.65%
      CPU Usage, 5 minute avg: 1.94%
      CPU Usage, 60 minute avg: 2.33%
      Process Data Segment Size via sbrk(): 0 KB
      Maximum Resident Size: 121824 KB
      Page faults with physical i/o: 4
      Memory accounted for:
      Total accounted:        63329 KB
      memPoolAlloc calls: 5238663
      memPoolFree calls: 3844070
      File descriptor usage for squid:
      Maximum number of file descriptors:  11095
      Largest file desc currently in use:    121
      Number of file desc currently in use:  72
      Files queued for open:                  0
      Available number of file descriptors: 11023
      Reserved number of file descriptors:  100
      Store Disk files open:                  0
      IO loop method:                    kqueue
      Internal Data Structures:
      657782 StoreEntries
        2864 StoreEntries with MemObjects
        2862 Hot Object Cache Items
      657746 on-disk objects

      1 Reply Last reply Reply Quote 0
      • K
        kaptenhook
        last edited by

        itu karna client_db off, coba dirubah jadi on entar lak keliatan yang akses  ;D ;D ;D ;D

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

          buseetttt dah , master2 neh yg unjuk gigi… hohohoho, saya masih belum berhasil.. hiks2.. masih 0% HITnya..pdhall udah 4 hari jlan.. instal ulang lagi deh, install dari awal lagi, ada yg bisa bantuin??  ;D  ;D  ;D

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

            @debula:

            buseetttt dah , master2 neh yg unjuk gigi… hohohoho, saya masih belum berhasil.. hiks2.. masih 0% HITnya..pdhall udah 4 hari jlan.. instal ulang lagi deh, install dari awal lagi, ada yg bisa bantuin??  ;D  ;D  ;D

            yah pak dari proses seringnya kita instal ulang tahapannya akan lebih memahami
            liat berbedaannya..

            1 Reply Last reply Reply Quote 0
            • J
              jundi49
              last edited by

              @kaptenhook:

              itu karna client_db off, coba dirubah jadi on entar lak keliatan yang akses  ;D ;D ;D ;D

              Dimana setnya gan?
              Saya ga paham.

              1 Reply Last reply Reply Quote 0
              • K
                kaptenhook
                last edited by

                @jundi49:

                @kaptenhook:

                itu karna client_db off, coba dirubah jadi on entar lak keliatan yang akses  ;D ;D ;D ;D

                Dimana setnya gan?
                Saya ga paham.

                letaknya kira kira di
                /usr/local/etc/squid
                setelah masuk cari tuning.conf
                client_db ada di situ

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

                  @kaptenhook:

                  @jundi49:

                  @kaptenhook:

                  itu karna client_db off, coba dirubah jadi on entar lak keliatan yang akses  ;D ;D ;D ;D

                  Dimana setnya gan?
                  Saya ga paham.

                  letaknya kira kira di
                  /usr/local/etc/squid
                  setelah masuk cari tuning.conf
                  client_db ada di situ

                  yahbetul #client_db off # this needs to be on for acl maxconn to work (chudi)
                  ,tapi klo pake yg include bukan tunning dah on default nya ( sy juga pake yg include.conf )

                  Number of clients accessing cache: 2 <<<<<<<<<<<< ini
                  Number of HTTP requests received: 611
                  Number of ICP messages received: 0
                  Number of ICP messages sent: 0
                  Number of queued ICP replies: 0
                  Request failure ratio: 0.00
                  Average HTTP requests per minute since start: 21.2
                  Average ICP messages per minute since start: 0.0
                  Select loop called: 109472 times, 15.833 ms avg

                  1 Reply Last reply Reply Quote 0
                  • J
                    jundi49
                    last edited by

                    ok tq gan, udah bisa dan dah diubah jadi db on.
                    Terima kasih.

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

                      hanya untuk test cache hd 2tera…...

                      [2.0-RELEASE][admin@serverxxxx]/root(1): df -h
                      Filesystem       Size    Used   Avail Capacity  Mounted on
                      /dev/mfid0s1a    413G    280M    379G     0%    /
                      devfs            1.0K    1.0K      0B   100%    /dev
                      /dev/md0         3.6M     46K    3.3M     1%    /var/run
                      /dev/mfid0s1d    3.8G     76M    3.4G     2%    /var/squid/log
                      /dev/mfid0s1e    581G    1.3G    533G     0%    /cache0
                      /dev/mfid0s1f    775G    2.9G    710G     0%    /cache1
                      devfs            1.0K    1.0K      0B   100%    /var/dhcpd/dev
                      [2.0-RELEASE][admin@serverxxxx]/root(2): tail -f /var/squid/log/cache.log
                      2012/04/09 15:03:54|         0 Objects expired.
                      2012/04/09 15:03:54|         0 Objects cancelled.
                      2012/04/09 15:03:54|         0 Duplicate URLs purged.
                      2012/04/09 15:03:54|     17784 Swapfile clashes avoided.
                      2012/04/09 15:03:54|   Took 2.2 seconds (68089.6 objects/sec).
                      2012/04/09 15:03:54| Beginning Validation Procedure
                      2012/04/09 15:03:54|   Completed Validation Procedure
                      2012/04/09 15:03:54|   Validated 150134 Entries
                      2012/04/09 15:03:54|   store_swap_size = 4230780k
                      2012/04/09 15:03:54| storeLateRelease: released 0 objects

                      minimum_object_size 0 KB
                      maximum_object_size 256 MB
                      offline_mode off
                      cache_swap_low 96
                      cache_swap_high 98

                      No redirector configured

                      Setup some default acls

                      acl all src 0.0.0.0/0.0.0.0
                      acl localhost src 127.0.0.1/255.255.255.255
                      acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 82 3128 1025-65535
                      acl sslports port 443 563 82
                      acl manager proto cache_object
                      acl purge method PURGE
                      acl connect method CONNECT
                      acl partialcontent_req req_header Range .*
                      acl mallware url_regex "/usr/local/etc/squid/mallware.url"
                      acl conficker url_regex "/usr/local/etc/squid/conficker.url"

                      #acl dynamic urlpath_regex cgi-bin ?
                      include /usr/local/etc/squid/include.conf
                      acl allowed_subnets src 10.8.8.0/24 10.10.1.0/24 10.10.2.0/24 10.10.4.0/24 10.10.10.0/28 192.168.1.0/24
                      #cache deny dynamic
                      http_access allow manager localhost

                      16gb mem
                      Intel(R) Xeon(R) CPU E5620 @ 2.40GHz

                      baru gunting pita
                      server louncing dilepas beberapa jam (baru masuk warnet2 kecil)

                      Squid Object Cache: Version LUSCA r14850 patched: chudy r14
                      Start Time: Mon, 09 Apr 2012 08:11:23 GMT
                      Current Time: Mon, 09 Apr 2012 09:16:28 GMT
                      Connection information for squid:
                      Number of clients accessing cache: 48
                      Number of HTTP requests received: 358122
                      Number of ICP messages received: 0
                      Number of ICP messages sent: 0
                      Number of queued ICP replies: 0
                      Request failure ratio: 0.00
                      Average HTTP requests per minute since start: 5501.6
                      Average ICP messages per minute since start: 0.0
                      Select loop called: 9005064 times, 0.434 ms avg
                      Cache information for squid:
                      Request Hit Ratios: 5min: 19.6%, 60min: 24.9%
                      Byte Hit Ratios: 5min: 30.4%, 60min: 26.5%
                      Request Memory Hit Ratios: 5min: 2.5%, 60min: 3.0%
                      Request Disk Hit Ratios: 5min: 80.7%, 60min: 72.8%
                      Storage Swap size: 7867492 KB
                      Storage Mem size: 12672 KB
                      Mean Object Size: 28.11 KB
                      Requests given to unlinkd: 0
                      Median Service Times (seconds)  5 min    60 min:
                      HTTP Requests (All):   0.07825  0.07014
                      Cache Misses:          0.20843  0.22004
                      Cache Hits:            0.00286  0.00286
                      Near Hits:             0.07014  0.01648
                      Not-Modified Replies:  0.00091  0.00091
                      DNS Lookups:           0.03223  0.00779
                      ICP Queries:           0.00000  0.00000
                      +++++++++++++++++++++++++++++++++++++++++++++++

                      Uptime : 03:05  >>>>>>>>>> jam yang lalu

                      Filesystem       Size    Used   Avail Capacity  Mounted on
                      /dev/mfid0s1a    413G    280M    379G     0%    /
                      devfs            1.0K    1.0K      0B   100%    /dev
                      /dev/md0         3.6M     46K    3.3M     1%    /var/run
                      /dev/mfid0s1d    3.8G    359M    3.1G    10%    /var/squid/log
                      /dev/mfid0s1e    581G    4.7G    530G     1%    /cache0
                      /dev/mfid0s1f    775G     12G    701G     2%    /cache1   <<<<<<<<<<<<< 03:05 beberapa ip subnet dibuka
                      devfs            1.0K    1.0K      0B   100%    /var/dhcpd/dev

                      ++++++++++++++++++++++++++++++
                      trafic hit ga bisa liat karena yg didepan mkt, hit interface di mkt dan liat puty :)

                      lusca.png
                      lusca.png_thumb

                      1 Reply Last reply Reply Quote 0
                      • K
                        kaptenhook
                        last edited by

                        wah wah ngegunting pita mulu nih bung poscom, kapan nih ada pembagian pita sama kita kita wakakakak…..sukses ya bung selamat

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

                          pak kapten adalah salah satu guru sy yg baik, trims tar dikirim pitanya
                          coba2 instal isp orang wakakak…
                          sedih jg ngeliat agresifnya lusca di puty takutnya umurnya pendek
                          dari pertama naek pagi sampe malam tadi dah 30gb lebih yg file berat
                          c area isp (tangerang, serang, cilegon, pandeglang, rangkas dan sekitarnya)

                          karena masih test.. racikannya jd pitanya belum full :) wait

                          1 Reply Last reply Reply Quote 0
                          • J
                            joyojogja
                            last edited by

                            Maaf para master. saya kok dari dulu kok yang bagian ini gak nambah nambah yaa??
                            Number of clients accessing cache:  48
                            padahl udah di ganti ''on''

                            HTTP/1.0 200 OK
                            Server: Lusca/LUSCA r14850 patched: chudy r14
                            Date: Sun, 06 May 2012 16:01:31 GMT
                            Content-Type: text/plain
                            Expires: Sun, 06 May 2012 16:01:31 GMT
                            X-Cache: MISS from localhost
                            Connection: close

                            Squid Object Cache: Version LUSCA r14850 patched: chudy r14
                            Start Time:    Sun, 06 May 2012 15:53:35 GMT
                            Current Time:  Sun, 06 May 2012 16:01:31 GMT
                            Connection information for squid:
                                    Number of clients accessing cache:      3
                                    Number of HTTP requests received:      1717
                                    Number of ICP messages received:        0
                                    Number of ICP messages sent:    0
                                    Number of queued ICP replies:  0
                                    Request failure ratio:  0.00
                                    Average HTTP requests per minute since start:  216.4
                                    Average ICP messages per minute since start:    0.0
                                    Select loop called: 100435 times, 4.741 ms avg
                            Cache information for squid:
                                    Request Hit Ratios:    5min: 10.9%, 60min: 10.5%
                                    Byte Hit Ratios:        5min: 37.1%, 60min: 31.4%
                                    Request Memory Hit Ratios:      5min: 2.9%, 60min: 2.6%
                                    Request Disk Hit Ratios:        5min: 68.3%, 60min: 71.1%
                                    Storage Swap size:      12779666 KB
                                    Storage Mem size:      1780 KB
                                    Mean Object Size:      28.91 KB
                                    Requests given to unlinkd:      0
                            Median Service Times (seconds)  5 min    60 min:
                                    HTTP Requests (All):  0.14252  0.15888
                                    Cache Misses:          0.16775  0.18699
                                    Cache Hits:            0.00919  0.01309
                                    Near Hits:            0.12783  0.12783
                                    Not-Modified Replies:  0.00179  0.00179
                                    DNS Lookups:          0.00669  0.00779
                                    ICP Queries:          0.00000  0.00000
                            Resource usage for squid:
                                    UP Time:        476.130 seconds
                                    CPU Time:      26.590 seconds
                                    CPU Usage:      5.58%
                                    CPU Usage, 5 minute avg:        4.63%
                                    CPU Usage, 60 minute avg:      5.72%
                                    Process Data Segment Size via sbrk(): 0 KB
                                    Maximum Resident Size: 83416 KB
                                    Page faults with physical i/o: 0
                            Memory accounted for:
                                    Total accounted:        47750 KB
                                    memPoolAlloc calls: 2095497
                                    memPoolFree calls: 1200063
                            File descriptor usage for squid:
                                    Maximum number of file descriptors:  58982
                                    Largest file desc currently in use:    186
                                    Number of file desc currently in use:  167
                                    Files queued for open:                  0
                                    Available number of file descriptors: 58815
                                    Reserved number of file descriptors:  100
                                    Store Disk files open:                  1
                                    IO loop method:                    kqueue
                            Internal Data Structures:
                                    442063 StoreEntries
                                      446 StoreEntries with MemObjects
                                      444 Hot Object Cache Items
                                    442036 on-disk objects

                            Mohon pencerahannya. trimakasih

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

                              Request Disk Hit Ratios:        5min: 68.3%, 60min: 71.1% dah mantep tuh

                              mestinya nambah dong clients accessing cachenya

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

                                om poscom emang top sama lusca suryanya  ;D semoga di turunkan lagi jurus2 rahasianya biar nubi yg sau ini makin cerah ::)

                                1 Reply Last reply Reply Quote 0
                                • V
                                  vhantrenk
                                  last edited by

                                  @poscom:

                                  Device                Mountpoint      FStype  Options         Dump    Pass#

                                  /dev/da0s1a             /               ufs     rw              1       1
                                  /dev/da0s1b             none            swap    sw              0       0
                                  /dev/da0s1d             /var/squid/log  ufs     rw,noatime      2       2
                                  /dev/da1s1a             /cache1         ufs     rw,noatime      2       2
                                  /dev/ad4s1a             /cache2         ufs     rw,noatime      2       2
                                  /dev/ad6s1a             /cache3         ufs     rw,noatime      2       2
                                  /dev/ad8s1a             /cache4         ufs     rw,noatime      2       2

                                  cache kecil, Lusca surya baru naek
                                  [2.0-RC1][admin@proxy.xxxxxx.net]/root(1): df -h
                                  Filesystem     Size    Used   Avail Capacity  Mounted on
                                  /dev/da0s1a    117G    262M    107G     0%    /
                                  devfs          1.0K    1.0K      0B   100%    /dev
                                  /dev/md0       3.6M     46K    3.3M     1%    /var/run
                                  /dev/da0s1d    7.7G     37M    7.1G     1%    /var/squid/log
                                  /dev/da1s1a    122G    2.0G    110G     2%    /cache1
                                  /dev/ad4s1a    451G    4.5G    411G     1%    /cache2
                                  /dev/ad6s1a    451G    769M    414G     0%    /cache3
                                  /dev/ad8s1a    451G    438M    415G     0%    /cache4
                                  devfs          1.0K    1.0K      0B   100%    /var/dhcpd/dev

                                  $ squidclient -p 80 mgr:info
                                  HTTP/1.1 200 OK
                                  Server: Lusca
                                  Date: Sat, 07 May 2011 14:56:45 GMT
                                  Content-Type: text/plain
                                  Expires: Sat, 07 May 2011 14:56:45 GMT
                                  X-Cache: MISS from sorrow_xxxxxxx
                                  Transfer-Encoding: chunked
                                  Via: 1.0 sorrow_xxxxxxx:3128 (Lusca)
                                  Connection: close

                                  853
                                  Squid Object Cache: Version LUSCA r14850 patched: chudy r14
                                  Start Time: Sat, 07 May 2011 08:25:21 GMT
                                  Current Time: Sat, 07 May 2011 14:56:45 GMT
                                  Connection information for squid:
                                  Number of clients accessing cache: 7          ==>    artinnya apa? 
                                  Number of HTTP requests received: 12188    ==>    artinnya apa? 
                                  Number of ICP messages received: 404        ==>    artinnya apa? 
                                  Number of ICP messages sent: 404                        | 
                                  Number of queued ICP replies: 0                          |
                                  Request failure ratio: 0.00                                      |
                                  Average HTTP requests per minute since start: 31.1      | 
                                  Average ICP messages per minute since start: 2.1        |
                                  Select loop called: 872120 times, 26.927 ms avg            |
                                  Cache information for squid:
                                  Request Hit Ratios: 5min: 9.3%, 60min: 14.3%          |
                                  Byte Hit Ratios: 5min: 7.0%, 60min: 30.1%                  |
                                  Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.0%    |
                                  Request Disk Hit Ratios: 5min: 0.0%, 60min: 0.0%
                                  Storage Swap size: 7890680 KB                                |
                                  Storage Mem size: 15132 KB
                                  Mean Object Size: 26.86 KB                                  ==>    artinnya apa?

                                  dir_conf digunakan 1/2 dr hardisk, dicoba untuk menghadapi serangan >100 user dgn 1mb spidol (belum teruji, user baru naek 30an) ==>to be continue

                                  om tolong jelasin cara bacannya donk ane ga ngerti itu, mohon om jelasin perbaris biar saya ngerti bacannya

                                  Seorang lulusan ekonomi senang komputer, autodidak n newbie

                                  1 Reply Last reply Reply Quote 0
                                  • V
                                    vhantrenk
                                    last edited by

                                    TOTALS
                                    ICP : 0 Queries, 0 Hits (  0%)
                                    HTTP: 280896 Requests, 118308 Hits ( 42%)

                                    ??? tu dapet TOTALS dari mana om? atau pake perintah ap?? kok saya ga da ya

                                    nyari di mbah google ada yang bilang patokan bagusnnya hit dari tu info, di putty saya kasi perintah squidclient -P 80 mgr:squid_client ga muncul :o

                                    squid baru jalan 2 hari wkwkwkwk…........... ;D :D

                                    untitled.JPG
                                    untitled.JPG_thumb

                                    Seorang lulusan ekonomi senang komputer, autodidak n newbie

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      kaptenhook
                                      last edited by

                                      squidclient -p 80 mgr:client_list

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

                                        nyumbang ah…......

                                        Untitled-1.jpg
                                        Untitled-1.jpg_thumb

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          serangku
                                          last edited by

                                          Ayo semangat …

                                          naek tingkat maenan proxyna
                                          maen2nya ke ICP hit ...

                                          TOTALS
                                          ICP : 417021 Queries, 125730 Hits ( 30%)
                                          HTTP: 417024 Requests, 143050 Hits ( 34%)
                                          
                                          

                                          bukti bahwa PFSense BISA …
                                          bisa dipaksa lebih ngebut
                                          bisa dipaksa lebih kerja rodi
                                          bisa dibanting klau kesel gak bisa2  ;D

                                          1 Reply Last reply Reply Quote 0
                                          • V
                                            vhantrenk
                                            last edited by

                                            @kaptenhook:

                                            squidclient -p 80 mgr:client_list

                                            ;D thanks om dah bisa  ;D , ternyata kebolak denk perintahnnya

                                            ni saya coba baru OL komp billing doank…ntar mau tes klu lg full sama 6 client ;D ;D
                                            thanks para master ;) :D

                                            bravo PFSI

                                            ![total hit.JPG](/public/imported_attachments/1/total hit.JPG)
                                            ![total hit.JPG_thumb](/public/imported_attachments/1/total hit.JPG_thumb)

                                            Seorang lulusan ekonomi senang komputer, autodidak n newbie

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