From: Michael Shigorin <mike@osdn.org.ua> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] Squid и Apache не работают Date: Sat, 3 Nov 2012 17:47:21 +0200 Message-ID: <20121103154721.GC32576@osdn.org.ua> (raw) In-Reply-To: <op.wm5ctafr3gk07y@mb1> On Fri, Nov 02, 2012 at 03:59:44PM +0300, waryhint wrote: > Столкнулся с проблемой в работе Apache. Сервер очень долго > обрабатывает запросы, подозреваю что с этим связан прокси > Squid. Если очень долго, но всё же работает -- возможно, где-то по цепочке возникают таймауты при разрешении DNS-имён. > Когда пускаю Интернет мимо Squid (в nat убираю строку > iptables -I PREROUTING -t nat -s 192.168.2.0/24 -p tcp --dport 80 -j DNAT > --to 192.168.2.1:3128 \) > Apache начинает нормально работать??? Посмотрите netstat -pan, есть ли соединение между процессами httpd* и squid при такой длительной обработке и если да -- можно для апача проковырять отдельную дырочку в файрволе, поставив правило для прямого пропуска со 192.168.2.1 либо 127.0.0.1, смотря откуда идёт. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2012-11-03 15:47 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-11-02 12:59 waryhint 2012-11-03 15:47 ` Michael Shigorin [this message] 2012-11-14 12:05 ` Pavel
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20121103154721.GC32576@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=shigorin@gmail.com \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git