Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 10 of 10
  1. #1
    Status
    Offline
    suhe0540010's Avatar
    Newbie
    Join Date
    Mar 2010
    Location
    Pringkasap, Jawa Barat, Indonesia, Indonesia
    Posts
    21
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Kenapa Selalu TCP_MISS

    Code:
    # ACCESS CONTROLS
    # -----------------------------------------------------------------------------
    acl all src 0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.255
    acl to_localhost dst 127.0.0.0/8
    acl SSL_ports port 443 563 873 # https snews rsync
    acl Safe_ports port 80 # http
    acl Safe_ports port 20 21 # ftp
    acl Safe_ports port 70 # gopher
    acl Safe_ports port 210 # wais
    acl Safe_ports port 1025-65535 # unregistered ports
    acl Safe_ports port 631 # cups
    acl Safe_ports port 10000 # webmin
    acl Safe_ports port 901 # SWAT
    acl Safe_ports port 280 # http-mgmt
    acl Safe_ports port 488 # gss-http
    acl Safe_ports port 591 # filemaker
    acl Safe_ports port 777 # multiling http
    acl Safe_ports port 873 # rsync
    acl Safe_ports port 110 # POP3
    acl Safe_ports port 25 # SMTP
    acl Safe_ports port 2095 2096 # webmail from cpanel
    acl Safe_ports port 2082 2083 # cpanel
    acl tube dstdomain .youtube.com
    range_offset_limit -1 KB tube
    quick_abort_min -1 KB
    
    acl purge method PURGE
    acl CONNECT method CONNECT
    http_access allow manager localhost
    http_access deny manager
    http_access allow purge localhost
    http_access deny purge
    http_access deny !Safe_ports !SSL_ports
    http_access deny CONNECT !SSL_ports !Safe_ports
    
    acl hotspot src 10.5.50.0/24 # # Sesuaikan
    acl ProxyServer src 192.168.100.0/24 # # Sesuaikan
    acl LAN src 192.168.2.0/24
    http_access allow hotspot
    http_access allow ProxyServer
    http_access allow LAN
    http_access allow localhost
    http_access deny all
    http_reply_access allow all
    icp_access allow hotspot
    icp_access allow ProxyServer
    #icp_access allow PulsaServer
    icp_access allow localhost
    icp_access deny all
    always_direct deny all
    
    
    # NETWORK OPTIONS
    # -----------------------------------------------------------------------------
    http_port 3128 transparent
    zph_mode tos
    zph_local 0x30
    zph_parent 0
    zph_option 136
    cache_effective_user proxy
    cache_effective_group proxy
    
    # MEMORY CACHE OPTIONS
    # -----------------------------------------------------------------------------
    cache_mem 64 MB
    maximum_object_size_in_memory 128 KB
    memory_replacement_policy heap GDSF
    
    # DISK CACHE OPTIONS
    ##  294007020    981896 293025124   1% /cache
    # -----------------------------------------------------------------------------
    cache_replacement_policy heap LFUDA
    cache_dir aufs /cache 200000 18 256
    minimum_object_size 0 KB
    maximum_object_size 128000 KB
    cache_swap_low 90
    cache_swap_high 95
    
    # LOGFILE OPTIONS
    # -----------------------------------------------------------------------------
    #error_directory /usr/share/lusca/errors/English
    #icon_directory /usr/share/lusca/icons
    pid_filename /var/run/squid.pid
    mime_table /etc/squid/mime.conf
    access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    cache_store_log none
    logfile_rotate 2
    
    # OPTIONS FOR TUNING THE CACHE
    # -----------------------------------------------------------------------------
    
    #youtube's videos - tambahan
    refresh_pattern (get_video\?|videoplayback\?|videodownload\?) 5259487 99999999% 5259487 override-expire ignore-reload ignore-private negative-ttl=0
    
    # pictures & images
    refresh_pattern -i \.(gif|png|jpeg|jpg|bmp|tif|tiff|ico)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth ignore-private
    refresh_pattern -i \.(xml|html|htm|js|txt|css|php)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth
    
    #sound, video multimedia
    refresh_pattern -i \.(flv|x-flv|mov|avi|qt|mpg|mpeg|swf)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache
    refresh_pattern -i \.(wav|mp3|mp4|au|mid)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth ignore-private
    
    # files
    refresh_pattern -i \.(iso|deb|rpm|zip|tar|tgz|ram|rar|bin|ppt|doc)$ 10080 90% 43200 ignore-no-cache ignore-auth
    refresh_pattern -i \.(zip|gz|arj|lha|lzh)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth
    refresh_pattern -i \.(rar|tgz|tar|exe|bin)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth
    refresh_pattern -i \.(hqx|pdf|rtf|doc|swf)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth
    refresh_pattern -i \.(inc|cab|ad|txt|dll)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth
    
    # -- refresh pattern for specific sites -- #
    refresh_pattern ^http://*.jobstreet.com.*/.* 720 100% 10080 override-expire override-lastmod ignore-no-cache
    refresh_pattern ^http://*.indowebster.com.*/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth
    refresh_pattern ^http://*.21cineplex.*/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth
    refresh_pattern ^http://*.atmajaya.*/.* 720 100% 10080 override-expire ignore-no-cache ignore-auth
    refresh_pattern ^http://*.kompas.*/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.theinquirer.*/.* 720 100% 10080 override-expire ignore-no-cache ignore-auth
    refresh_pattern ^http://*.blogspot.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.wordpress.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache
    refresh_pattern ^http://*.photobucket.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.tinypic.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.imageshack.us/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.kaskus.*/.* 720 100% 28800 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://www.kaskus.com/.* 720 100% 28800 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.detik.*/.* 720 50% 2880 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.detiknews.*/*.* 720 50% 2880 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://video.liputan6.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://static.liputan6.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.friendster.com/.* 720 100% 10080 override-expire override-lastmod ignore-no-cache ignore-auth
    refresh_pattern ^http://*.facebook.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://apps.facebook.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.fbcdn.net/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://profile.ak.fbcdn.net/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://static.playspoon.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://cooking.game.playspoon.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern -i http://[^a-z\.]*onemanga\.com/? 720 80% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://media?.onemanga.com/.* 720 80% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.yahoo.com/.* 720 80% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.google.com/.* 720 80% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.forummikrotik.com/.* 720 80% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    refresh_pattern ^http://*.linux.or.id/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
    
    
    refresh_pattern ^ftp: 10080 95% 43200 override-lastmod reload-into-ims store-stale
    refresh_pattern ^gopher: 440 0% 1440
    refresh_pattern . 0 50% 4320 override-lastmod reload-into-ims store-stale
    
    #-----------------------------------------------------------------------------
    quick_abort_min 0 KB
    quick_abort_max 0 KB
    quick_abort_pct 98
    store_avg_object_size 13 KB
    negative_ttl 0 minute
    positive_dns_ttl 6 hours
    negative_dns_ttl 0 minute
    
    # HTTP OPTIONS
    # -----------------------------------------------------------------------------
    vary_ignore_expire on
    server_http11 on
    half_closed_clients off
    shutdown_lifetime 10 seconds
    
    # ADMINISTRATIVE PARAMETERS
    # -----------------------------------------------------------------------------
    cache_mgr xxx
    visible_hostname xxx
    
    # ICP OPTIONS
    # -----------------------------------------------------------------------------
    icp_port 0
    log_icp_queries off
    client_db on
    buffered_logs on
    log_fqdn off
    icp_hit_stale on
    query_icmp on
    
    # DNS OPTIONS
    # -----------------------------------------------------------------------------
    dns_nameservers 203.130.208.18 203.130.193.74
    ipcache_size 16384
    ipcache_low 90
    ipcache_high 95
    fqdncache_size 16384
    
    # MISCELLANEOUS
    # -----------------------------------------------------------------------------
    memory_pools off
    forwarded_for on
    reload_into_ims on
    offline_mode off
    coredump_dir /var/spool/squid
    pipeline_prefetch on
    Code:
    1341369024.804    931 192.168.2.11 TCP_MISS/200 4952 GET http://t3.gstatic.com/images? - DIRECT/173.194.38.179 image/jpeg
    1341369024.818    953 192.168.2.11 TCP_MISS/200 6728 GET http://t3.gstatic.com/images? - DIRECT/173.194.38.176 image/jpeg
    1341369025.076   1243 192.168.2.11 TCP_MISS/200 8161 GET http://t0.gstatic.com/images? - DIRECT/173.194.38.177 image/jpeg
    1341369025.112   1033 192.168.2.11 TCP_MISS/200 10621 GET http://t3.gstatic.com/images? - DIRECT/74.125.235.16 image/jpeg
    1341369025.115    906 192.168.2.11 TCP_MISS/200 6674 GET http://t1.gstatic.com/images? - DIRECT/173.194.38.177 image/jpeg
    1341369025.121   1250 192.168.2.11 TCP_MISS/200 8777 GET http://t2.gstatic.com/images? - DIRECT/173.194.38.180 image/jpeg
    1341369025.129   1258 192.168.2.11 TCP_MISS/200 7691 GET http://t0.gstatic.com/images? - DIRECT/173.194.38.177 image/jpeg
    1341369025.149    393 192.168.2.11 TCP_MISS/200 7878 GET http://t3.gstatic.com/images? - DIRECT/173.194.38.179 image/jpeg
    1341369025.178   1299 192.168.2.11 TCP_MISS/200 12516 GET http://t3.gstatic.com/images? - DIRECT/173.194.38.179 image/jpeg
    1341369025.180    243 192.168.2.11 TCP_MISS/200 532 GET http://www.google.co.id/imgevent? - DIRECT/173.194.38.183 text/javascript
    1341369025.201    573 192.168.2.11 TCP_MISS/200 11188 GET http://t3.gstatic.com/images? - DIRECT/173.194.38.179 image/jpeg
    1341369025.282    880 192.168.2.36 TCP_MISS/204 350 GET http://b.scorecardresearch.com/b? - DIRECT/118.98.42.104 -
    1341369025.299   1428 192.168.2.11 TCP_MISS/200 12945 GET http://t0.gstatic.com/images? - DIRECT/173.194.38.177 image/jpeg
    1341369025.439 288332 192.168.2.30 TCP_MISS/206 34752 GET http://download.windowsupdate.com/msdownload/update/software/defu/2012/06/am_base_2e6065221b6ea57c8483336697dba6bf960ee89f.exe - DIRECT/118.98.42.33 application/octet-stream
    1341369025.568   1697 192.168.2.11 TCP_MISS/200 14644 GET http://t2.gstatic.com/images? - DIRECT/173.194.38.180 image/jpeg
    1341369025.860   1054 192.168.2.11 TCP_MISS/200 13179 GET http://t3.gstatic.com/images? - DIRECT/173.194.38.179 image/jpeg
    1341369026.290  40484 192.168.2.36 TCP_MISS/200 491 GET http://0-299.channel.facebook.com/pull? - DIRECT/69.171.227.70 text/plain
    paling juga TCP_IMS_HIT,,, tapi kalo hasil download TCP_HIT

  2. #2
    Status
    Offline
    dhopack's Avatar
    Forum Guru
    Join Date
    Dec 2010
    Location
    KUDUS
    Posts
    1,919
    Reviews
    Read 0 Reviews
    Downloads
    2
    Uploads
    0
    Feedback Score
    0
    kyae memang miss lebih banyak daripda hit, kalau squid baru diinstall ya wajar soale cachenya msh sedikit,
    CMIIW

  3. #3
    Status
    Offline
    suhe0540010's Avatar
    Newbie
    Join Date
    Mar 2010
    Location
    Pringkasap, Jawa Barat, Indonesia, Indonesia
    Posts
    21
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    kalo misalnya TCP_refresh_hit, TCP_ims_hit,, itu normal gak?
    Click here to enlarge

  4. #4
    Status
    Offline
    zdienos's Avatar
    Forum Guru
    Join Date
    Feb 2010
    Location
    ~/makasar
    Posts
    1,252
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    knapa sih, gak ada yang maw cari...?

    semuanya mau serba instan....



  5. #5
    Status
    Offline
    yohanexz's Avatar
    Member Super Senior
    Join Date
    Sep 2010
    Location
    Rawamangun, Jakarta
    Posts
    613
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    1
    Feedback Score
    0
    Click here to enlarge Originally Posted by suhe0540010 Click here to enlarge
    kalo misalnya TCP_refresh_hit, TCP_ims_hit,, itu normal gak?
    Click here to enlarge
    Itu normal

  6. #6
    Status
    Offline
    suhe0540010's Avatar
    Newbie
    Join Date
    Mar 2010
    Location
    Pringkasap, Jawa Barat, Indonesia, Indonesia
    Posts
    21
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Itu normal
    sip,,, tar ditayangin lagi hasilnya,,,,,

    knapa sih, gak ada yang maw cari...?

    semuanya mau serba instan....


    saya juga udah copas dari sana,


    UPDATEEE

    Setelah ditambah
    refresh_pattern ^.*safebrowsing.*google 43200 999999% 43200 override-expire ignore-reload ignore-no-cache ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale
    refresh_pattern ytimg\.com.*\.jpg 43200 999999% 43200 override-expire ignore-reload store-stale
    refresh_pattern ^http:\/\/images|pics|thumbs[0-9]\. 43200 999999% 43200 reload-into-ims ignore-no-cache ignore-no-store ignore-reload override-expire store-stale
    refresh_pattern -i \.facebook.com.*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern -i \.fbcdn.net.*\.(jpg|gif|png|swf|mp3) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern static\.ak\.fbcdn\.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern ^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern ^http:\/\/apps.facebook.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
    refresh_pattern speedtest\. 259200 80% 259200 override-expire reload-into-ims stale-while-revalidate=2592000 ignore-private ignore-no-cache negative-ttl=0
    refresh_pattern .zynga.com.*\.(swf|jpg|gif|png|mp3) 129600 999999% 129600 override-expire ignore-reload store-stale
    refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|png)($|&) 0 95% 43800 ignore-no-cache ignore-no-store reload-into-ims override-expire ignore-must-revalidate store-stale
    refresh_pattern \.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu) 5259487 999999% 5259487 override-expire reload-into-ims
    refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape) 5259487 999999% 5259487 override-expire reload-into-ims ignore-reload
    refresh_pattern \.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab) 5259487 999999%% 5259487 override-expire reload-into-ims ignore-no-cache ignore-must-revalidate
    #refresh_pattern \.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|r v|vob|asx|ogm|flv|3gp|on2) 5259487 100% 5259487 override-expire reload-into-ims
    dari kk zdienos, mulai terihat tcp_hit,,, tapi kok nambahin #refresh_pattern \.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|r v|vob|asx|ogm|flv|3gp|on2) 5259487 100% 5259487 override-expire reload-into-ims malah error,,, jadi di #
    Last edited by suhe0540010; 04-07-2012 at 11:51.

  7. #7
    Status
    Offline
    dhopack's Avatar
    Forum Guru
    Join Date
    Dec 2010
    Location
    KUDUS
    Posts
    1,919
    Reviews
    Read 0 Reviews
    Downloads
    2
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by suhe0540010 Click here to enlarge
    ...tapi kok nambahin #refresh_pattern \.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|r v|vob|asx|ogm|flv|3gp|on2) 5259487 100% 5259487 override-expire reload-into-ims malah error,,, jadi di #
    errornya gmn?copas disini mungkin ada yang tahu solusinya,

  8. #8
    Status
    Offline
    suhe0540010's Avatar
    Newbie
    Join Date
    Mar 2010
    Location
    Pringkasap, Jawa Barat, Indonesia, Indonesia
    Posts
    21
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by dhopack Click here to enlarge
    errornya gmn?copas disini mungkin ada yang tahu solusinya,
    gini,,,,
    root@proxyku:~# squid -f /etc/squid/squid.conf -z
    FATAL: Bungled squid.conf line 164: refresh_pattern \.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|r v|vob|asx|ogm|flv|3gp|on2) 5259487 100% 5259487 override-expire reload-into-ims
    Squid Cache (Version 2.7.STABLE9): Terminated abnormally.
    kalo
    2012/07/04 16:09:42| WARNING: resetting negative_dns_ttl to 1 second
    kenapa ya?

  9. #9
    Status
    Offline
    Anto.PJ's Avatar
    Forum Guru
    Join Date
    May 2011
    Location
    macz
    Posts
    1,696
    Reviews
    Read 0 Reviews
    Downloads
    7
    Uploads
    0
    Feedback Score
    0
    sebelum "squid -z" atau "squid -k reconfigure" ketikkan dulu perintah "squid -k parse"

    Code:
    root@miyabi:~# squid -h
    Usage: squid [-hvzCDFINRYX] [-d level] [-s | -l facility] [-f config-file] [-u port] [-k signal]
           -d level  Write debugging to stderr also.
           -f file   Use given config-file instead of
                     /etc/squid/squid.conf
           -h        Print help message.
           -k reconfigure|rotate|shutdown|interrupt|kill|debug|check|parse
                     Parse configuration file, then send signal to
                     running copy (except -k parse) and exit.
           -s | -l facility
                     Enable logging to syslog.
           -u port   Specify ICP port number (default: 3130), disable with 0.
           -v        Print version.
           -z        Create swap directories
           -C        Do not catch fatal signals.
           -D        Disable initial DNS tests.
           -F        Don't serve any requests until store is rebuilt.
           -I        Override HTTP port with the bound socket passed in on stdin.
           -N        No daemon mode.
           -R        Do not set REUSEADDR on port.
           -S        Double-check swap during rebuild.
           -X        Force full debugging.
           -Y        Only return UDP_HIT or UDP_MISS_NOFETCH during fast reload.
    untuk men"debug" konfigurasi ente.. siapa tau ada salah...

    lagian setelah ngubah konfigurasi gak perlu squid-z lagi (asumsi squid udah jalan)
    squid -z dilakukan untuk membangun direktori swap cache di awal-awal saja.. atau setelah melakukan "rm -fdR" partisi cache
    jika partisi cache udah di build sebelumnya dan dilakukan squid -z lagi..
    entah apa yang terjadi.. mungkin bawah ane yang tahu

    jika terjadi perubahan config di squid.c0nf, cukup squid -k reconfigure sementara squidnya berjalan..

    itu error karena belum di patch mungkin???

    atau salah syntax mungkin????

    atau proxynya galau mungkin??? jadinya ngambek.. kebanyakan squid -z..
    Last edited by Anto.PJ; 05-07-2012 at 05:23.

  10. #10
    Status
    Offline
    suhe0540010's Avatar
    Newbie
    Join Date
    Mar 2010
    Location
    Pringkasap, Jawa Barat, Indonesia, Indonesia
    Posts
    21
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by Anto.PJ Click here to enlarge
    sebelum "squid -z" atau "squid -k reconfigure" ketikkan dulu perintah "squid -k parse"

    Code:
    root@miyabi:~# squid -h
    Usage: squid [-hvzCDFINRYX] [-d level] [-s | -l facility] [-f config-file] [-u port] [-k signal]
           -d level  Write debugging to stderr also.
           -f file   Use given config-file instead of
                     /etc/squid/squid.conf
           -h        Print help message.
           -k reconfigure|rotate|shutdown|interrupt|kill|debug|check|parse
                     Parse configuration file, then send signal to
                     running copy (except -k parse) and exit.
           -s | -l facility
                     Enable logging to syslog.
           -u port   Specify ICP port number (default: 3130), disable with 0.
           -v        Print version.
           -z        Create swap directories
           -C        Do not catch fatal signals.
           -D        Disable initial DNS tests.
           -F        Don't serve any requests until store is rebuilt.
           -I        Override HTTP port with the bound socket passed in on stdin.
           -N        No daemon mode.
           -R        Do not set REUSEADDR on port.
           -S        Double-check swap during rebuild.
           -X        Force full debugging.
           -Y        Only return UDP_HIT or UDP_MISS_NOFETCH during fast reload.
    untuk men"debug" konfigurasi ente.. siapa tau ada salah...

    lagian setelah ngubah konfigurasi gak perlu squid-z lagi (asumsi squid udah jalan)
    squid -z dilakukan untuk membangun direktori swap cache di awal-awal saja.. atau setelah melakukan "rm -fdR" partisi cache
    jika partisi cache udah di build sebelumnya dan dilakukan squid -z lagi..
    entah apa yang terjadi.. mungkin bawah ane yang tahu

    jika terjadi perubahan config di squid.c0nf, cukup squid -k reconfigure sementara squidnya berjalan..

    itu error karena belum di patch mungkin???

    atau salah syntax mungkin????

    atau proxynya galau mungkin??? jadinya ngambek.. kebanyakan squid -z..
    mantab kk, pencerahannya,,, thx,,,, Click here to enlarge

 

 

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Similar Threads

  1. Kenapa Ya Dns speedy saya di mikrotik selalu berubah
    By anggun rante in forum General Networking
    Replies: 6
    Last Post: 25-11-2012, 17:39
  2. DNS Selalu RTO
    By iyou in forum Beginner Basics
    Replies: 11
    Last Post: 22-04-2010, 00:22
  3. Ask : kenapa selalu kena "port scanner" ?
    By w1z4rd in forum Beginner Basics
    Replies: 8
    Last Post: 09-03-2009, 17:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •