+ Responder ao Tópico



  1. #1

    Padrão Warning no Squid

    Boa noite pessoal estou com meu squid dando a seguinte mensagem.

    WARNING! Your cache is running out of filedescriptors

    Já segui os procedimentos que encontrei na internet, mas ele sobe ainda com 1024, se alguen tiver alguma soluição que possa me ajudar, com isso. segue o Doc que eu achei.

    Paul Goscicki » Blog Archive » Squid: WARNING! Your cache is running out of filedescriptors

  2. #2

    Padrão

    Dá uma olhada se o seu script de inicialização do Squid possui essas linhas:

    Código :
    #
    #       Try to increase the # of filedescriptors we can open.
    #
    maxfds () {
            [ -n "$SQUID_MAXFD" ] || return
            [ -f /proc/sys/fs/file-max ] || return 0
            [ $SQUID_MAXFD -le 4096 ] || SQUID_MAXFD=4096
            global_file_max=`cat /proc/sys/fs/file-max`
            minimal_file_max=$(($SQUID_MAXFD + 4096))
            if [ "$global_file_max" -lt $minimal_file_max ]
            then
                    echo $minimal_file_max > /proc/sys/fs/file-max
            fi
            ulimit -n $SQUID_MAXFD
    }