+ Responder ao Tópico



  1. #1

    Padrão Nao sei mais onde procurar - Erro no Squid

    All url_rewriter processes are busy.
    Consider increasing the number of url_rewriter processes to at least 14 in your config file.

    Nao sei mais onde procurar domentação sobre essa mensagem (acima) que sempre aparece no meu cache.log e o pior e que vira e mexe aparece a mensagem que a URL nao pode ser encontrada na maioria de meus clientes...

    Alguem pode me ajudar?

  2. #2

  3. #3

    Padrão squid.conf

    # WELCOME TO SQUID 2.6.STABLE14


    http_port 192.168.0.1:8080 transparent

    hierarchy_stoplist cgi-bin ?

    acl QUERY urlpath_regex cgi-bin \?
    cache deny QUERY

    acl apache rep_header Server ^Apache
    broken_vary_encoding allow apache


    cache_mem 32 MB

    cache_swap_low 90
    cache_swap_high 95

    maximum_object_size 4096 KB

    minimum_object_size 0 KB

    maximum_object_size_in_memory 4096 KB

    cache_dir diskd /squid-cache 15000 16 256 Q1=72 Q2=64

    access_log /usr/local/squid/var/logs/access.log squid

    cache_log /usr/local/squid/var/logs/cache.log

    cache_store_log /usr/local/squid/var/logs/store.log

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

    acl blockedsites url_regex -i "/etc/squid/bloqueados/sites_proibidos.txt"
    acl unblockedsites url_regex -i "/etc/squid/bloqueados/sites_liberados.txt"
    acl proxys url_regex "/etc/squid/bloqueados/proxys.txt"
    acl spyware url_regex "/etc/squid/bloqueados/blacklistspy.txt"
    acl malware1 dstdomain "/etc/squid/bloqueados/malware1.txt"
    acl rede_interna src 192.168.0.0/24

    #Recommended minimum configuration:
    acl all src 192.168.0.0/24
    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
    acl Safe_ports port 80 # http
    acl Safe_ports port 21 # ftp
    acl Safe_ports port 443 # https
    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

    acl interna url_regex -i 192.168.0
    acl limites url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar .avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav


    #Default:
    # http_access deny all

    http_access deny blockedsites !unblockedsites
    http_access deny spyware malware1 proxys
    http_access allow rede_interna

    #Recommended minimum configuration:
    #
    # Only allow cachemgr access from localhost
    http_access allow manager localhost
    http_access deny manager
    # Deny requests to unknown ports
    http_access deny !Safe_ports
    # Deny CONNECT to other than SSL ports
    http_access deny CONNECT !SSL_ports

    # And finally deny all other access to this proxy
    http_access deny all

    http_reply_access allow all

    # TAG: redirect_program

    redirect_program /usr/local/squid/etc/bannerfilter/redirector.pl

    #Allow ICP queries from everyone
    icp_access allow all


    cache_effective_user nobody

    cache_effective_group nogroup

    delay_pools 2
    delay_class 1 2
    delay_parameters 1 -1/-1 -1/-1
    delay_access 1 allow interna
    delay_class 2 2
    delay_parameters 2 -1/-1 6000/6000
    delay_access 2 allow limites

    error_directory /usr/local/squid/share/errors/Portuguese
    coredump_dir /squid-cache
    Última edição por cleverup; 04-10-2007 às 09:45.

  4. #4

    Padrão

    Suponhamos que seu squid esteja instalado em /usr/local/squid.

    Inicialize seu squid com o seguinte comando:
    Código :
    # /usr/local/squid/sbin/squid -d1

    Se der algum erro, poste aqui pra gente por favor.

  5. #5

    Padrão Nao mostra erro algum...

    O squid continua normal mas quando muita gente esta requisitando a conexao, ai eh o problema... frequentemente aparece que a URL nao pode ser exibida e a mesma msg aparece nos arquivos de log.

    All url_rewriter processes are busy.
    Consider increasing the number of url_rewriter processes to at least 14 in your config file.

    Pq sera que quando aumenta o trafego acontece isso? Eh como se tivesse alguma opcao no squid.conf para aumentar o numero de processos ativos... pelo menos eh o que eu entendo pela msg de erro...

  6. #6

    Padrão

    Quantas pessoas estão penduradas no teu server .... ???

    Aumenta o teu "cache_mem 32 MB" para cache_mem 64 MB

    e vê melhora teu rendimento ...

    Flw ...

  7. #7

    Padrão

    valew meu velho, vou fazer a alteração e posto aqui...

  8. #8

    Padrão

    valew cara, o jeito foi aumentar o link mesmo... tinha muito usuario pra pouco link...