+ Responder ao Tópico



  1. #21
    capgaiotto
    ok

  2. #22
    pilantrox
    Ok ,, valeu ,,, acho q naum vou precisar por enquanto....

    Citação Postado originalmente por Benatto
    na boa cara

    faz assim remove o squid em rpm

    e instala ele pelo codigo fonte

    te garanto que vai funcionar

    pilantrox Enviada: Sex Abr 22, 2005 3:55 pm Assunto:

    --------------------------------------------------------------------------------

    ai velho ,,, vc pode me dizer pra que serve essa linha que esta naquele squid.conf

    "coredump_dir /var/cache/squid"
    seguinte se eu naum me engano este linha é para que se o cache estourar ele use outro diretorio



  3. #23
    pilantrox
    Aproveitando a deixa do squid,,,, naum sei se jah postaram aqui no forum sobre isso mas tah aparecendo umas linhas no meu cache.log q naum consegui descobrir onde tah o erro,,, instalei o squid em dois servidores estaum basicamente identicos , e apenas em um server dah esse erro ,,,,

    2005/04/22 04:09:02| sslReadServer: FD 83: read failure: (104) Connection reset by peer
    2005/04/22 04:09:03| sslReadServer: FD 113: read failure: (104) Connection reset by peer
    2005/04/22 04:09:04| sslReadServer: FD 61: read failure: (104) Connection reset by peer
    2005/04/22 04:09:06| sslReadServer: FD 59: read failure: (104) Connection reset by peer
    2005/04/22 04:09:08| sslReadServer: FD 56: read failure: (104) Connection reset by peer
    2005/04/22 04:09:30| sslReadServer: FD 62: read failure: (104) Connection reset by peer
    2005/04/22 04:09:51| sslReadServer: FD 62: read failure: (104) Connection reset by peer
    2005/04/22 04:09:56| sslReadServer: FD 38: read failure: (104) Connection reset by peer
    2005/04/22 04:09:57| sslReadServer: FD 55: read failure: (104) Connection reset by peer
    2005/04/22 04:10:00| sslReadServer: FD 52: read failure: (104) Connection reset by peer
    2005/04/22 04:10:01| sslReadServer: FD 64: read failure: (104) Connection reset by peer
    2005/04/22 04:10:04| sslReadServer: FD 40: read failure: (104) Connection reset by peer
    2005/04/22 04:10:04| sslReadServer: FD 73: read failure: (104) Connection reset by peer
    2005/04/22 04:10:07| sslReadServer: FD 56: read failure: (104) Connection reset by peer
    2005/04/22 04:10:10| sslReadServer: FD 63: read failure: (104) Connection reset by peer
    2005/04/22 04:10:11| sslReadServer: FD 69: read failure: (104) Connection reset by peer
    2005/04/22 04:10:14| sslReadServer: FD 31: read failure: (104) Connection reset by peer
    2005/04/22 04:10:14| sslReadServer: FD 63: read failure: (104) Connection reset by peer

    E tem horas que o trafego tah baxinho e o navegador demora pra encontra o site , to achando que eh por esse erro !! alguem pode me dah uma ajuda....

  4. fala ai pilantrox
    posta ai seu squid.conf



  5. #25
    pilantrox
    Citação Postado originalmente por Benatto
    fala ai pilantrox
    posta ai seu squid.conf
    Ai Benatto....... tah na mão,,,,,desculpa ai a demora ,,,mas eu estava com uns problemas fds.

    http_port 192.168.15.1:3128

    #esvazia o cache:
    cache_swap_low 90
    cache_swap_high 93

    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY

    # memoria usada:
    cache_mem 32 MB

    maximum_object_size 6144 KB
    minimum_object_size 0 KB

    maximum_object_size_in_memory 32 KB

    ipcache_size 1024
    ipcache_low 90
    ipcache_high 93

    cache_replacement_policy lru
    memory_replacement_policy lru

    cache_dir ufs /var/spool/squid 7000 16 256
    cache_access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    cache_store_log /var/log/squid/store.log

    auth_param basic children 5
    auth_param basic realm Squid proxy-caching web server
    auth_param basic credentialsttl 2 hours

    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern . 0 20% 4320

    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 rede src 192.168.0.0/255.255.255.0
    acl rede1 src 10.10.10.0/255.255.255.0
    acl rede2 src 20.20.20.0/255.255.255.0
    acl rede3 src 30.30.30.0/255.255.255.0
    acl rede4 src 90.90.90.0/255.255.255.0

    acl to_localhost dst 127.0.0.0/8
    acl SSL_ports port 443 563
    acl Safe_ports port 80 # http
    acl Safe_ports port 21 # ftp
    acl Safe_ports port 443 563 # https, snews
    acl Safe_ports port 70 # gopher
    acl Safe_ports port 210 # wais
    acl Safe_ports port 1025-65535 # unregistered ports
    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 CONNECT method CONNECT

    http_access allow localhost
    http_access allow rede
    http_access allow rede1
    http_access allow rede2
    http_access allow rede3
    http_access allow rede4

    http_access allow manager localhost
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access deny all

    http_reply_access allow all
    icp_access allow all

    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on

    cache_effective_user squid
    cache_effective_group squid

    ele tah lento pra resolver as solicitacoes....






Tópicos Similares

  1. Squid não inicia
    Por no fórum Servidores de Rede
    Respostas: 1
    Último Post: 10-10-2004, 17:14
  2. Compilação Squid - Não inicia !!!
    Por Beto no fórum Servidores de Rede
    Respostas: 6
    Último Post: 01-06-2004, 20:35
  3. Squid não inicia
    Por guardian_metal no fórum Servidores de Rede
    Respostas: 17
    Último Post: 29-09-2003, 16:11
  4. Squid não inicia
    Por no fórum Servidores de Rede
    Respostas: 4
    Último Post: 11-06-2003, 14:02
  5. Squid não inicia
    Por no fórum Servidores de Rede
    Respostas: 0
    Último Post: 11-06-2003, 12:27

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L