نمایش نتایج: از شماره 1 تا 7 از مجموع 7

موضوع: خطای squid

  
  1. #1
    نام حقيقي: محمد جوادی

    عضو غیر فعال
    تاریخ عضویت
    Mar 2009
    محل سکونت
    بوشهر
    نوشته
    15
    سپاسگزاری شده
    0
    سپاسگزاری کرده
    0

    خطای squid

    با سلام
    من اسکوید squid3 stable13 رو نصب کردم اما موقعه ای که tail -f /var/log/squid/access.log رو میزنم این رو میده.
    آیا این عادی یا مورد داره.
    از چیه که اینجوری TCP_MISS میده.

    1237708430.602 1020 217.140.12.51 TCP_MISS/200 10 CONNECT 205.188.251.43:443 - DIRECT/205.188.251.43 -
    1237708430.644 937 217.140.12.51 TCP_MISS/200 4397 GET http://freebook.parsaspace.com/book/26/Excel2007-111%20(www.arsanjan.blogfa.com).zip - DIRECT/64.22.92.6 application/octet-stream
    1237708430.796 1980 217.140.12.51 TCP_MISS/502 2139 GET http://149.20.56.32/search? - DIRECT/149.20.56.32 text/html




    موضوعات مشابه:
    ویرایش توسط adidass : 2009-03-22 در ساعت 11:34 AM

  2. #2
    نام حقيقي: محمد رسول راستی

    مدیر عمومی شناسه تصویری M-r-r
    تاریخ عضویت
    Feb 2004
    محل سکونت
    تهران
    نوشته
    9,486
    سپاسگزاری شده
    4309
    سپاسگزاری کرده
    2706
    خدمت شما :

    Access.log basics

    The access.log file logs all incoming requests. chapter 11 covers the fields in the access.log in detail. The most important fields are the URL (field 7), and hierarchy access type (field 9) fields. Note that a "-" indicates that there is no data for that field.

    The following example access.log entries indicate the changes in log output when connecting to another server, without a cache, with a single parent, and with multiple parents.

    Though fields are seperated by spaces, fields can contain sub-fields, where a "/" indicates the split.

    When connecting directly to a destination server, field 9 contains two subfields - the key word "DIRECT", followed by the name of the server that it is connecting to. Access to local servers (on your network) should always be DIRECT, even if you have a firewall, as discussed in section 3.1.2. The acl operator always_direct controls this behaviour.

    905144366.259 1010 127.0.0.1 TCP_MISS/200 20868 GET squid-cache.com - DIRECT/www.squid-cache.com text/html

    When you have configured only one parent cache, the hierarchy access type indicates this, and includes the name of that cache.

    905144426.435 289 127.0.0.1 TCP_MISS/200 20868 GET squid-cache.com - SINGLE_PARENT/cache1.squid-cache.com text/html

    There are many more types that can appear in the hierarchy access information field, but these are covered in chapter 11.

    Another useful field is the 'Log Tag' field, field four. In the following example this is the field "TCP_MISS/200".

    905225025.225 609 127.0.0.1 TCP_MISS/200 10089 GET Internet Service Provider|Domains|Hosting|VoIP|ADSL|Hotspots - DIRECT/www.is.co.za text/html

    A MISS indicates that the request was already stored in the cache (or that the page contained headers indicating that the page was not to be cached). A HIT would indicate that the page was already stored in the cache. In the latter case the request time for a remote page should be substantially less than the first occurence in the logs.

    The time that Squid took to service the request is the second field. This value is in milliseconds. This value should approach that returned by examining a client request, but given operating system buffering there is likely to be a discrepancy.

    The fifth field is the size of the page returned to the client. Note that an aborted request can end up downloading more than this from the origin server if the quick_abort feature set is turned on in the Squid config file.

    Here is an example request direct from the origin server:

    905230201.136 6642 127.0.0.1 TCP_MISS/200 20847 GET squid-cache.com - DIRECT/www.squid-cache.com text/html

    If we use client to fetch the page a short time later, a HIT is returned, and the time is reduced hugely.

    905230209.899 151 127.0.0.1 TCP_HIT/200 20869 GET squid-cache.com - NONE/- text/html

    Some of you will have noticed that the size of the hit has increased slightly. If you have checked the size of a request from the origin server and compared it to that of the same page through the cache, you will also note that the size of the returned data has increased very slightly. Extra headers are added to pages passing through the cache, indicating which peer the page was returned from (if applicable), age information and other information. Clients never see this information, but it can be useful for debugging.

    Since Squid 1.2 has support for HTTP/1.1, extra features can be used by clients accessing a copy of a page that Squid already has. Certain extra headers are included into the HTTP headers returned in HITS, indicating support for features which are not available to clients when returning MISSes. In the above example Squid has included a header in the page indicating that range-request are supported.



    Mohammad Rasoul Rasti
    There's no place like 127.0.0.1
    m.rasti [@] outlook.com

  3. #3
    نام حقيقي: محمد جوادی

    عضو غیر فعال
    تاریخ عضویت
    Mar 2009
    محل سکونت
    بوشهر
    نوشته
    15
    سپاسگزاری شده
    0
    سپاسگزاری کرده
    0
    ببخشید انگلیسی من یکم ضعیفه.
    اینی که اینجا نوشتید یعنی اینکه TCP_MISS/200 کش کرده و کش دوباره رو قبول نمیکنه یا ... ؟



  4. #4
    نام حقيقي: محمد رسول راستی

    مدیر عمومی شناسه تصویری M-r-r
    تاریخ عضویت
    Feb 2004
    محل سکونت
    تهران
    نوشته
    9,486
    سپاسگزاری شده
    4309
    سپاسگزاری کرده
    2706
    TCP_MISS یعنی درخواست شما شامل اشیاء کش نشده بوده؛ سری بعد که همون رو درخواست بدید TCP_HIT میبینید


    Mohammad Rasoul Rasti
    There's no place like 127.0.0.1
    m.rasti [@] outlook.com

  5. #5
    نام حقيقي: محمد جوادی

    عضو غیر فعال
    تاریخ عضویت
    Mar 2009
    محل سکونت
    بوشهر
    نوشته
    15
    سپاسگزاری شده
    0
    سپاسگزاری کرده
    0
    مشکل من هم همینه.
    هر چی درخواست میدم TCP_MISS رو میده.



  6. #6
    نام حقيقي: محمد رسول راستی

    مدیر عمومی شناسه تصویری M-r-r
    تاریخ عضویت
    Feb 2004
    محل سکونت
    تهران
    نوشته
    9,486
    سپاسگزاری شده
    4309
    سپاسگزاری کرده
    2706
    کانفیگتون رو بزارید؛ یه جایی مشکل دارید


    Mohammad Rasoul Rasti
    There's no place like 127.0.0.1
    m.rasti [@] outlook.com

  7. #7
    نام حقيقي: Peyman Yousefi

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    کش چیزی ذخیره نمیکنه.
    بهتره پیش فرض بزارید و acl تغییر بدید.



کلمات کلیدی در جستجوها:

انجمن squid

برای چیه؟application/octet-stream

http://forum.persiannetworks.com/f81/t24364.html

خطای feacher not support

http://149.20.56.32/

tcp_miss در

برچسب برای این موضوع

مجوز های ارسال و ویرایش

  • شما نمی توانید موضوع جدید ارسال کنید
  • شما نمی توانید به پست ها پاسخ دهید
  • شما نمی توانید فایل پیوست ضمیمه کنید
  • شما نمی توانید پست های خود را ویرایش کنید
  •