Mohon Bantuannya : Masalah Proxy



  • Ass. Wr. Wb
    Salam Om om semua
    Saya ini new bie, terus instal pfsense sesuai panduan yang ada, terus saya instal lusca doank
    dan set firewall alias, rules dan TS sesuai yang ada diforum,
    semua set pake gui, Spek : Pentium Dual, 2 GB RAM, HDD 250 GB, MB Biostar

    Tp kok proxynya kok blm bagus ya????
    Aku download dan pacthing game untuk yang keskian kali msh lambat. Bahkan Browsing yang berulang ulang juga lama
    Apa itu masalah om ? mohon bantuannya
    Seperti tidak simpan proxynya ?

    [2.0-RC1][admin@pfSense.localdomain]/root(1): df -H
    Filesystem     Size    Used   Avail Capacity  Mounted on
    /dev/ad4s1a    238G    414M    219G     0%    /
    devfs          1.0k    1.0k      0B   100%    /dev
    /dev/md0       3.8M     49k    3.4M     1%    /var/run

    2011/05/31 17:28:01| Done scanning /var/squid/cache (2926 entries)
    2011/05/31 17:28:01| AUFS: /var/squid/cache: tmp log closed on FD 13
    2011/05/31 17:28:01| AUFS: /var/squid/cache: post-rename; log /var/squid/cache/swap.state, opened on FD 13
    2011/05/31 17:28:01| Finished rebuilding storage from disk.
    2011/05/31 17:28:01|      2926 Entries scanned
    2011/05/31 17:28:01|         0 Invalid entries.
    2011/05/31 17:28:01|         0 With invalid flags.
    2011/05/31 17:28:01|      2926 Objects loaded.
    2011/05/31 17:28:01|         0 Objects expired.
    2011/05/31 17:28:01|         0 Objects cancelled.
    2011/05/31 17:28:01|         0 Duplicate URLs purged.
    2011/05/31 17:28:01|         0 Swapfile clashes avoided.
    2011/05/31 17:28:01|   Took 0.8 seconds (3491.7 objects/sec).
    2011/05/31 17:28:01| Beginning Validation Procedure
    2011/05/31 17:28:01|   Completed Validation Procedure
    2011/05/31 17:28:01|   Validated 2926 Entries
    2011/05/31 17:28:01|   store_swap_size = 91936k
    2011/05/31 17:28:01| storeLateRelease: released 0 objects
    2011/05/31 17:38:12| clientIfRangeMatch: Weak ETags are not allowed in If-Range: W/"559022e-51305-4a31fe835db80" ? W/"559022e-51305-4a31fe835db80"
    2011/05/31 17:41:43| CACHEMGR: <unknown>@127.0.0.1 requesting 'info'
    2011/05/31 17:48:46| squidaio_queue_request: WARNING - Queue congestion

    Ini set proxynya di GUI :
    General
    Proxy Interface              LAN
    Allow users on interface   v
    Transparant Proxy          v
    Enable logging               v
    log rotate   5
    proxy port   3128
    ICP port      3131
    Enable Http1                 v
    Use alternate DNS          127.0.0.1
    Custom Option               zph_mode tos;zph_local 0x04;zph_parent 0;zph_option 136;

    Cache Mgmt
    aufs, hdd cache size 100, Object size 4, Mem Cache size 32, Max Mem Objext size 32, Minimum Object size 0, Maximum Object size 256, level 1 sub  16, Heap GDSF, Heap LFUDA, 90 dan 95, disable delay pool

    $ squidclient -p 80 mgr:info
    HTTP/1.1 200 OK
    Server: Lusca/LUSCA r14850 patched: chudy r14
    Date: Tue, 31 May 2011 10:41:43 GMT
    Content-Type: text/plain
    Expires: Tue, 31 May 2011 10:41:43 GMT
    X-Cache: MISS from askarnetserver
    Transfer-Encoding: chunked
    Via: 1.0 askarnetserver:3128 (Lusca/LUSCA r14850 patched: chudy r14)
    Connection: close

    ][admin@pfSense.localdomain]/root(3): squid -v
    Squid Cache: Version LUSCA r14850 patched: chudy r14
    configure options:  '–bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' '--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid' '--enable-removal-policies=lru heap' '--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic ntlm digest' '--enable-basic-auth-helpers=DB NCSA PAM MSNT SMB YP' '--enable-digest-auth-helpers=password' '--enable-external-acl-helpers=ip_user session unix_group wbinfo_group' '--enable-ntlm-auth-helpers=SMB' '--with-pthreads' '--enable-storeio=aufs null coss' '--enable-delay-pools' '--enable-snmp' '--disable-wccp' '--disable-ident-lookups' '--enable-arp-acl' '--enable-pf-transparent' '--with-large-files' '--enable-large-cache-files' '--enable-err-languages=Armenian Azerbaijani Bulgarian Catalan Czech Danish  Dutch English Estonian Finnish French German Greek  Hebrew Hungarian Italian Japanese Korean Lithuanian  Polish Portuguese Romanian Russian-1251 Russian-koi8-r  Serbian Simplify_Chinese Slovak Spanish Swedish  Traditional_Chinese Turkish' '--enable-default-err-language=English' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd8.0' 'build_alias=i386-portbld-freebsd8.0' 'CC=cc' 'CFLAGS=-O2 -pipe  -fno-strict-aliasing' 'LDFLAGS=' 'CPPFL

    1306839261.535    167 192.168.1.7 TCP_MISS/200 1432 GET http://kumpulblogger.com/sca.php?b=129711 - DIRECT/111.221.43.125 text/html
    1306839261.540    165 192.168.1.7 TCP_MISS/200 924 GET http://kumpulblogger.com/dam.php?b=129711 - DIRECT/111.221.43.125 text/html
    1306839261.548    165 192.168.1.7 TCP_MISS/200 585 GET http://adsensecamp.com/show/?id=QVvFRhNSx%2BQ%3D&cid=1mKE6FR8OXo%3D&chan=4FByiTT%2FNmU%3D&type=4&title=00FF80&text=72179D&background=FFFFFF&border=00FF80&url=F2984C - DIRECT/116.199.203.203 text/html
    1306839261.679    376 192.168.1.7 TCP_MISS/200 19292 GET http://3.bp.blogspot.com/-1qk_oqKVR_M/TeSue7umSAI/AAAAAAAAAhc/935n656efQc/s320/PointBlank_20110531_155241.jpg - DIRECT/209.85.175.138 image/jpeg
    1306839261.835    700 192.168.1.7 TCP_MISS/200 1670 GET http://www.widgeo.net/geocompteur/geocompteur.php?c=geoall1&id=1622431&adult=adult&cat=news&fonce=undefined&claire=undefined - DIRECT/67.205.90.30 text/html
    1306839261.866    750 192.168.1.7 TCP_MISS/200 2449 GET http://www.widgeo.net/message.php?msg=Welcome To Pekalongan Cheater And Follow Blog Me &adult=0&cat=shopping&big=big&cl=lightblue - DIRECT/67.205.90.30 text/html
    1306839261.880    692 192.168.1.7 TCP_MISS/302 518 GET http://denisahlan.netau.net/bintang.putih.js - DIRECT/31.170.160.129 text/html
    1306839261.936      2 192.168.1.7 TCP_HIT/200 2720 GET http://www.4shared.com/affiliate/images/b1.gif - NONE/- image/gif
    1306839262.028     10 192.168.1.7 TCP_HIT/200 40894 GET http://www.blogger.com/static/v1/widgets/211018530-widgets.js - NONE/- text/javascript
    1306839262.283    869 192.168.1.7 TCP_MISS/200 2500 GET http://sa.entireweb.com/sense.js - DIRECT/89.150.197.6 application/javascript
    1306839262.845   1442 192.168.1.7 TCP_MISS/200 24476 GET http://s06.flagcounter.com/count/A6q/bg=87FF93/txt=FC0000/border=FAFA1E/columns=4/maxflags=52/viewers=Visitors+Pekalongan+cheater/labels=0/ - DIRECT/70.32.43.194 image/png
    1306839263.053    712 192.168.1.7 TCP_MISS/200 1669 GET http://pageinxt.com/?dn=desaiklan.com&flrdr=yes&nxte=jpg - DIRECT/209.62.20.231 text/html
    1306839263.527   2247 192.168.1.7 TCP_MISS/200 44563 GET http://www.dbclix.com/images/120x120.gif - DIRECT/96.30.3.105 image/gif
    1306839267.149      6 192.168.1.7 TCP_HIT/200 3683 GET http://www.widgeo.net/popup.js - NONE/- application/x-javascript
    1306839267.161     11 192.168.1.7 TCP_HIT/200 13724 GET http://www.widgeo.net/message/messagebig.swf - NONE/- application/x-shockwave-flash
    1306839267.918   3628 192.168.1.7 TCP_REFRESH_MISS/200 14721 GET http://error404.000webhost.com/? - DIRECT/83.170.96.219 text/html
    1306839268.059      2 192.168.1.7 TCP_HIT/200 12459 GET http://2.bp.blogspot.com/-vbW5lmcfJTs/Td6Ii-5BIqI/AAAAAAAAAg0/G6Nmqd7fvpg/s320/PointBlank_20110526_234404.jpg - NONE/- image/jpeg
    1306839268.271     11 192.168.1.7 TCP_HIT/200 12388 GET http://2.bp.blogspot.com/-1-D62dipuWg/Td6JbhEnkHI/AAAAAAAAAg4/GpYlO9awM0g/s400/PointBlank_20110526_234713.jpg - NONE/- image/jpeg
    1306839268.436      2 192.168.1.7 TCP_HIT/200 14881 GET http://2.bp.blogspot.com/-DsIwu5EEmkM/THqPQUcvKiI/AAAAAAAAACI/jgeo_lOZtI4/s320/pb5.jpg - NONE/- image/jpeg
    1306839268.962     63 192.168.1.7 TCP_MISS/200 2627 GET http://profile.ak.fbcdn.net/hprofile-ak-snc4/187665_100000077292389_112027_q.jpg - DIRECT/118.98.42.112 image/jpeg
    1306839268.972     69 192.168.1.7 TCP_MISS/200 2366 GET http://profile.ak.fbcdn.net/hprofile-ak-snc4/174376_100000122041107_8093437_q.jpg - DIRECT/118.98.42.114 image/jpeg
    1306839269.056    148 192.168.1.7 TCP_MISS/200 2589 GET http://profile.ak.fbcdn.net/hprofile-ak-snc4/195579_100000127276053_2110614_q.jpg - DIRECT/118.98.42.105 image/jpeg

    84a
    Squid Object Cache: Version LUSCA r14850 patched: chudy r14
    Start Time: Tue, 31 May 2011 10:28:00 GMT
    Current Time: Tue, 31 May 2011 10:41:43 GMT
    Connection information for squid:
    Number of clients accessing cache: 7
    Number of HTTP requests received: 1786
    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: 130.2
    Average ICP messages per minute since start: 0.0
    Select loop called: 40187 times, 20.476 ms avg
    Cache information for squid:
    Request Hit Ratios: 5min: 30.8%, 60min: 33.5%
    Byte Hit Ratios: 5min: 47.4%, 60min: 36.4%
    Request Memory Hit Ratios: 5min: 4.4%, 60min: 5.1%
    Request Disk Hit Ratios: 5min: 48.8%, 60min: 63.1%
    Storage Swap size: 86648 KB
    Storage Mem size: 4628 KB
    Mean Object Size: 27.59 KB
    Requests given to unlinkd: 0
    Median Service Times (seconds)  5 min    60 min:
    HTTP Requests (All):   0.15048  0.12783
    Cache Misses:          0.28853  0.28853
    Cache Hits:            0.00179  0.00179
    Near Hits:             0.06640  0.08265
    Not-Modified Replies:  0.00091  0.00091
    DNS Lookups:           0.00000  0.00000
    ICP Queries:           0.00000  0.00000
    Resource usage for squid:
    UP Time: 822.868 seconds
    CPU Time: 7.015 seconds
    CPU Usage: 0.85%
    CPU Usage, 5 minute avg: 1.25%
    CPU Usage, 60 minute avg: 0.87%
    Process Data Segment Size via sbrk(): 0 KB
    Maximum Resident Size: 16712 KB
    Page faults with physical i/o: 4
    Memory accounted for:
    Total accounted:         5691 KB
    memPoolAlloc calls: 268888
    memPoolFree calls: 245384
    File descriptor usage for squid:
    Maximum number of file descriptors:   11095
    Largest file desc currently in use:     81
    Number of file desc currently in use:   61
    Files queued for open:                   0
    Available number of file descriptors: 11034
    Reserved number of file descriptors:   100
    Store Disk files open:                   1
    IO loop method:                     kqueue
    Internal Data Structures:
     3177 StoreEntries
      702 StoreEntries with MemObjects
      697 Hot Object Cache Items
     3140 on-disk objects</unknown>



  • pakai captive portal yah om?



  • Iya pake CP,allowed IP
    Bahkan browsing site yang berkali - kali msh lambat
    Napa itu om????
    tq



  • masalahnya sama om,

    mungkin terlimite sama CP, coba tes.. kasih bandwidthnya 5000

    http://forum.pfsense.org/index.php/topic,36565.0.html



  • napa 5000 om ???
    aku pake speeda paket 2mbps dan 512
    di CP kubuat
    Up : 512
    Down : 320
    Untuk tiap - tiap klien aku buat seperti itu om,
    apa harus diubah 5000 semua, apa ga over atau lainnya



  • itu buat ngetes aja, apa squid jln apa ngak ???

    buka salah satu video youtube sampai selesai..
    lalu hapus repositori,
    putar lagi videonya , lihat trafig graph naik ngak sampai 5 mb

    jangan lupa CP di set 5000, buat ngetes gitu



  • om,
    aku cek http://forum.pfsense.org/index.php/topic,26122.0.html,

    Cek ini gmn
    Melalui putty, coba cek paket yg ditandai apakah sudah muncul :

    tcpdump -nvi re0 | grep 'tos 0x4'
    yang mana perintahnya, maklum newbie, aku test ga bs ?

    terus ubah - ubah itu, apa bs pake winscp ja, ga pake putty om ????



  • ia om pakai putty,

    gima om udah di tes…

    naik ngak sampe 5 mb ???



  • itu semua dibuat 5 mb ya ????? Ato klien yang akan ditest aja ??



  • 1 komputer aja, buat ngetes



  • udah ditest, download dibuat 5000, waktu buka you tube maks dapat 2mbps, ga tembus 5000.



  • ;D ;D ;D

    aq cuman ikutin langkah dari http://forum.pfsense.org/index.php/topic,34348.0.html, coba aja dulu

    setelah itu coba tes squidnya nyimpan ngak??

    aq juga masih newbie om, ;D ;D



  • melihat hasil generate cache manager sudah bagus

    Request Hit Ratios:  5min: 30.8%, 60min: 33.5%
      Byte Hit Ratios:  5min: 47.4%, 60min: 36.4%

    tidak ada masalah dengan proxy nya …
    utk problem yg lainnya silakan buat thread tersendiri lagi
    supaya tdk tumpang tindih



  • om bilang tidak ada masalah dengan proxy,
    Tp aku download dan patching game atau browsing hal yang sama, beberapa kali,
    msh lama…...
    Aku pernah punya proxy bagus, dwonload ato pacthing game untuk yang kedua kali atau lebih cepat om.

    Ini bahkan saya uninstal luscanya, saya ganti dengan squid aja. sy mau test pake squid aja.
    Gmn itu om ????



  • kalau saya cuaman pakai paket, squid,lusca dan unbound aja om

    saya ngak pakai CP lagi, kata omserangku coba ganti dgn Qos & saya mau coba oprek2 lg

    ini paket yg saya gunakan sekarang!!






  • Loh, jd bw manajemennya dmn jika ga pake CP,
    Bisa ga allowed ip diaktifkan tp CP enable,
    Sy pake cp cuma tuk bw manajemen per klien



  • sebelumnya saya juga pakai CP dgn bw 350kb/client, komp di warnet ada 15 unit

    pas update game PB lamanya minta ampun karena terlimite sama CP, trus di kasih aja tiap client
    5000kb/client update pb wusssss kencang

    dan sekarang CP ngak aq pakai lg, semoga aja ngak ada client yg pakai IDm, aminn :D

    trus untuk managemant bandwidth, kata om serangku"masih banyak jalan ke roma" ;)



  • weks …

    seandainya om pelajari sedikit mendalam ttg proxy ...
    proxy pun masih bisa digunakan untuk management benwidth
    tentunya dengan skala tertentu

    ayo, kira2 ... feature apa yg ada di proxy yg digunakan untuk management benwith ?
    googling juga gapapa ...

    semakin penasaran, insya allah menambah pencerahan lebih lanjut ...  :)



  • @asepyulisman:

    Semoga aja ngak ada client yg pakai IDm, aminn :D

    tp kalo pake torrent …tambah .... ;D    ???    ::)  ???



  • husss …  ;D

    jangan masuk2 ke torrent dulu ...  :)
    sambil pembelajaran utk yg lain ...
    kalau banyak jalan menuju roma untuk ...
    setidaknya untuk tahap awal sebelum ke hal yg lebih ruwet ...

    proxy pun bisa dipake utk QoS, dgn batasan tertentu
    clue : proxy akan menangkap traffic yg berjalan di port 80 atau http

    answer : delay pool feature



  • tp kalo pake torrent ...tambah .... Grin    Huh    Roll Eyes  Huh
    

    hehehe, ia juga….

    buat om serangku, maaf saya cuman bisa bantu dgn do'a  ;D ;D ;D Amin..



  • ikutan berdo'a juga
    berdo'a mulai ….



  • Ok, Om om makin bingung saya,
    ini sudah sy non aktifkan CPnya, trus sy aktifkan traffic manajemen, dnegan perhost throttling 46. Dan paket yang sy instal jadi squid dan lusca.

    Tp kok sy patching game dan download file yang sama dari 4 shared, kok yang kedua kali ato lebih ga langsung muncul, ato msih lama.
    Napa itu om ??
    aku juga pernah pake traffict manajemen, tp msh bs jebol juga bwnya ????

    Saya cek, df -h, bertambah terusnya used hddnya ???
    Terus sy test you tube, emang sy cek grafik kadang bs tembus dr 2mbps (paket speedy saya)

    Set proxy, aufs, hdd cache size 150000, Mem cache size 32, amx mem object size 4, min mem obje size 0, max objest size 256, apa lagi yang salah ini OM 2????
    PENING AKU.

    011/06/03 00:00:01| storeDirWriteCleanLogs: Starting…
    2011/06/03 00:00:01|    65536 entries written so far.
    2011/06/03 00:00:01| AUFS: /var/squid/cache: log closed on FD 17
    2011/06/03 00:00:01| AUFS: /var/squid/cache: log '/var/squid/cache/swap.state' opened on FD 8
    2011/06/03 00:00:01|  Finished.  Wrote 92945 entries.
    2011/06/03 00:00:01|  Took 0.1 seconds (1351887.9 entries/sec).
    2011/06/03 00:00:01| aioSync: flushing pending I/O operations
    2011/06/03 00:00:01| aioSync: done
    2011/06/03 00:00:01| logfileRotate: /var/squid/logs/access.log
    2011/06/03 00:00:01| logfileRotate (stdio): /var/squid/logs/access.log
    2011/06/03 00:00:01| helperOpenServers: Starting 1 'storeurl.pl' processes
    2011/06/03 01:44:09| CACHEMGR: <unknown>@127.0.0.1 requesting 'info'

    $ squidclient -p 80 mgr:info
    HTTP/1.0 200 OK
    Server: Lusca/LUSCA r14850 patched: chudy r14
    Date: Thu, 02 Jun 2011 18:44:09 GMT
    Content-Type: text/plain
    Expires: Thu, 02 Jun 2011 18:44:09 GMT
    X-Cache: MISS from askarnetserver
    Connection: close

    Squid Object Cache: Version LUSCA r14850 patched: chudy r14
    Start Time: Wed, 01 Jun 2011 21:53:23 GMT
    Current Time: Thu, 02 Jun 2011 18:44:09 GMT
    Connection information for squid:
    Number of clients accessing cache: 13
    Number of HTTP requests received: 218004
    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: 174.3
    Average ICP messages per minute since start: 0.0
    Select loop called: 4450167 times, 16.864 ms avg
    Cache information for squid:
    Request Hit Ratios: 5min: 0.0%, 60min: 0.0%
    Byte Hit Ratios: 5min: -0.0%, 60min: 2.8%
    Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.0%
    Request Disk Hit Ratios: 5min: 0.0%, 60min: 0.0%
    Storage Swap size: 1228830 KB
    Storage Mem size: 32764 KB
    Mean Object Size: 13.13 KB
    Requests given to unlinkd: 0
    Median Service Times (seconds)  5 min    60 min:
    HTTP Requests (All):  0.94847  1.00114
    Cache Misses:          0.94847  1.00114
    Cache Hits:            0.00000  0.00000
    Near Hits:            0.00000  0.00000
    Not-Modified Replies:  0.00000  0.00000
    DNS Lookups:          0.00000  0.00094
    ICP Queries:          0.00000  0.00000
    Resource usage for squid:
    UP Time: 75046.663 seconds
    CPU Time: 946.766 seconds
    CPU Usage: 1.26%
    CPU Usage, 5 minute avg: 0.01%
    CPU Usage, 60 minute avg: 0.02%
    Process Data Segment Size via sbrk(): 0 KB
    Maximum Resident Size: 98712 KB
    Page faults with physical i/o: 5
    Memory accounted for:
    Total accounted:        44719 KB
    memPoolAlloc calls: 28926164
    memPoolFree calls: 28608469
    File descriptor usage for squid:
    Maximum number of file descriptors:  11095
    Largest file desc currently in use:    17
    Number of file desc currently in use:  14
    Files queued for open:                  0
    Available number of file descriptors: 11081
    Reserved number of file descriptors:  100
    Store Disk files open:                  0
    IO loop method:                    kqueue
    Internal Data Structures:
    94142 StoreEntries
      8179 StoreEntries with MemObjects
      8178 Hot Object Cache Items
    93610 on-disk objects</unknown>



  • ikutan berdo'a juga
    berdo'a mulai ....
    

    berdo'a selesai… :D :D

    kalu di lihat punya om jundi49 kayaknya ngak ada masalah tuh, sama dgn punya saya..

    coba pakai ini om..http://forum.pfsense.org/index.php/topic,34348.0.html

    http://forum.pfsense.org/index.php/topic,7911.30.html
    Keterangannya dalam bahasa inggris yang tidak terlalu sulit. Intinya hanya mengganti konfigurasi di file /boot/loader.conf , yang akan mudah apabila package File Manager sudah terinstal. Diakses pada menu Diagnostics -> File Manager. Caranya hapus saja semua konfigurasi yang ada di file tersebut dan diganti dengan konfigurasi seperti di bawah ini :
    
    autoboot_delay="1"
    #kern.ipc.nmbclusters="0"
    hint.apic.0.disabled=1
    kern.hz=100
    #for squid
    kern.ipc.nmbclusters="32768"
    kern.maxfiles="65536"
    kern.maxfilesperproc="32768"
    net.inet.ip.portrange.last="65535"
    
    


  • @jundi49:

    ini sudah sy non aktifkan CPnya, trus sy aktifkan traffic manajemen, dnegan perhost throttling 46. Dan paket yang sy instal jadi squid dan lusca.

    Tp kok sy patching game dan download file yang sama dari 4 shared, kok yang kedua kali ato lebih ga langsung muncul, ato msih lama.
    Napa itu om ??
    aku juga pernah pake traffict manajemen, tp msh bs jebol juga bwnya ????

    Saya cek, df -h, bertambah terusnya used hddnya ???
    Terus sy test you tube, emang sy cek grafik kadang bs tembus dr 2mbps (paket speedy saya)

    log  df -h  ????

    pake snapshots updater tgl ??

    kendala tuh ada di cache nya…
    delete cache nya.



  • Om, Pfz, masalah cache dmnnya ???
    Sy coba download dan patching game untuk yang kedua kali ato lebih kok msh lama ??
    sehrusnya, saat saya test download file yang sama tuk yang kedua kali ato lebih, jika bagus cachenya, ia akan langsung muncul file itu.

    [2.0-RC1][admin@pfSense.localdomain]/root(1): df -h
    Filesystem    Size    Used  Avail Capacity  Mounted on
    /dev/ad4s1a    222G    2.1G    202G    1%    /
    devfs          1.0K    1.0K      0B  100%    /dev
    /dev/md0      3.6M    44K    3.3M    1%    /var/run
    [2.0-RC1][admin@pfSense.localdomain]/root(2):

    [2.0-RC1][admin@pfSense.localdomain]/root(2): squid -v
    Squid Cache: Version LUSCA r14850 patched: chudy r14
    configure options:  '–bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' '--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid' '--enable-removal-policies=lru heap' '--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic ntlm digest' '--enable-basic-auth-helpers=DB NCSA PAM MSNT SMB YP' '--enable-digest-auth-helpers=password' '--enable-external-acl-helpers=ip_user session unix_group wbinfo_group' '--enable-ntlm-auth-helpers=SMB' '--with-pthreads' '--enable-storeio=aufs null coss' '--enable-delay-pools' '--enable-snmp' '--disable-wccp' '--disable-ident-lookups' '--enable-arp-acl' '--enable-pf-transparent' '--with-large-files' '--enable-large-cache-files' '--enable-err-languages=Armenian Azerbaijani Bulgarian Catalan Czech Danish  Dutch English Estonian Finnish French German Greek  Hebrew Hungarian Italian Japanese Korean Lithuanian  Polish Portuguese Romanian Russian-1251 Russian-koi8-r  Serbian Simplify_Chinese Slovak Spanish Swedish  Traditional_Chinese Turkish' '--enable-default-err-language=English' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd8.0' 'build_alias=i386-portbld-freebsd8.0' 'CC=cc' 'CFLAGS=-O2 -pipe  -fno-strict-aliasing' 'LDFLAGS=' 'CPPFLAGS='

    011/06/03 07:03:49| Finished rebuilding storage from disk.
    2011/06/03 07:03:49|    103152 Entries scanned
    2011/06/03 07:03:49|        0 Invalid entries.
    2011/06/03 07:03:49|        0 With invalid flags.
    2011/06/03 07:03:49|    95580 Objects loaded.
    2011/06/03 07:03:49|        0 Objects expired.
    2011/06/03 07:03:49|        0 Objects cancelled.
    2011/06/03 07:03:49|        0 Duplicate URLs purged.
    2011/06/03 07:03:49|      7572 Swapfile clashes avoided.
    2011/06/03 07:03:49|  Took 2.6 seconds (36622.1 objects/sec).
    2011/06/03 07:03:49| Beginning Validation Procedure
    2011/06/03 07:03:51|  Completed Validation Procedure
    2011/06/03 07:03:51|  Validated 95580 Entries
    2011/06/03 07:03:51|  store_swap_size = 1338402k
    2011/06/03 07:03:52| storeLateRelease: released 0 objects
    2011/06/03 09:25:27| squidaio_queue_request: WARNING - Queue congestion
    2011/06/03 10:05:45| httpAccept: FD 16: accept failure: (53) Software caused connection abort
    2011/06/03 10:05:45| httpAccept: FD 16: accept failure: (53) Software caused connection abort
    2011/06/03 10:05:58| squidaio_queue_request: WARNING - Queue congestion
    2011/06/03 11:43:38| squidaio_queue_request: WARNING - Queue congestion
    2011/06/03 12:41:53| squidaio_queue_request: WARNING - Queue congestion
    2011/06/03 14:20:01| squidaio_queue_request: WARNING - Queue congestion
    2011/06/03 14:42:35| httpAccept: FD 16: accept failure: (53) Software caused connection abort
    2011/06/03 14:42:35| httpAccept: FD 16: accept failure: (53) Software caused connection abort
    2011/06/03 14:42:35| httpAccept: FD 16: accept failure: (53) Software caused connection abort
    2011/06/03 14:42:35| httpAccept: FD 16: accept failure: (53) Software caused connection abort
    2011/06/03 14:42:35| httpAccept: FD 16: accept failure: (53) Software caused connection abort
    2011/06/03 14:42:35| httpAccept: FD 16: accept failure: (53) Software caused connection abort
    2011/06/03 14:42:35| httpAccept: FD 16: accept failure: (53) Software caused connection abort
    2011/06/03 17:39:17| httpAccept: FD 16: accept failure: (53) Software caused connection abort



  • @jundi49:

    [2.0-RC1][admin@pfSense.localdomain]/root(1): df -h
    Filesystem     Size    Used   Avail Capacity  Mounted on
    /dev/ad4s1a    222G    2.1G    202G     1%    /
    devfs          1.0K    1.0K      0B   100%    /dev
    /dev/md0       3.6M     44K    3.3M     1%    /var/run

    Nah itu kapasitas HD yg digunakan masih 1% =2,1 G dari 222 G.. kondisi ini normal >>> kenapa dikatakan disk usage meningkat terus ??

    @jundi49:

    masalah cache dmnnya

    Kalo disk usage terus meningkat % nya dalam waktu cepat ya..kira2 10 menitan. itu biasanya ada kendala di squid nya.. sehingga mengakibatkan cache meningkat terus tidak sesuai aturan….. apakah.. mengalaminya ??? kalo mengalami log nya....??

    @jundi49:

    [2.0-RC1][admin@pfSense.localdomain]/root(1):

    Sy coba download dan patching game untuk yang kedua kali ato lebih kok msh lama ??
    sehrusnya, saat saya test download file yang sama tuk yang kedua kali ato lebih, jika bagus cachenya, ia akan langsung muncul file itu.

    bukan begitu bro….kalo menginginkan download yg kedua lebih besar krna ada cache maka harus di buatkan pattern-nya di general costum ...
    misalnya :

    refresh_pattern ([^.]+.|)(download|(FILE APA|)update|).(ALAMAT URL.|)com/.*.(cab|exe|msi|msp) 4320 100% 43200 reload-into-ims;
    range_offset_limit -1;

    Nah download kedua ke tiga nya akan terasa lebih cepat gitu…..

    pfz



  • Om pfz, sy pernah punya proxy pfsense 2 beta 4 yang bagus yang diset teknisi sy.
    Tp sy instal ulang pfsensenya,
    Saat itu, saya patching dan download game yang kedua kali ato lebih cepat om, bahkan download file, langsung muncul, ga perlu proses.
    Dia pake set WAN ppoe dan set modem bridge.

    Om, gmn ini, sy offkan CP, tp kok jebol bwnya, ada klien download ga pake idm aja, bs jebol juga
    saya pake traffict mgmt nya proxy.

    Terus maksud saya bukan usage disk meningkat terus, tp usage disk nambah, tp kok patching ato download ato buka site yang sering msh lama, itu lo om.

    Terus kok agak aneh ya om, saat saya aktifkan CP, usage disk ga bertambah, ini sdg sy offkan CP.
    napa itu om????? Kan susah om, jika klien ada yang bebas pake bw, ntar rebutan bw nya.
    Gmn itu om, mohon bantuannya ??????

    tq



  • aq pakai costum option

     zph_mode tos;zph_local 0x04;zph_parent 0;zph_option 136; 
    

    lalu di tambah dgn yg om kasih boleh ngak om??

    
    refresh_pattern ([^.]+.|)(download|(FILE APA|)update|).(ALAMAT URL.|)com/.*\.(cab|exe|msi|msp) 4320 100% 43200 reload-into-ims;
    range_offset_limit -1;
    


  • @asepyulisman:

    aq pakai costum option

    lalu di tambah dgn yg om kasih boleh ngak om??

    waduh.. perasaaan gak pernah kasih.. i    ???  tu cuma contoh kode refresh. pattern

    kalo mau di created yg boleh saja.. seih

    squid -k rotate …......


Log in to reply