* [Comm] squid is running out of filedescriptors
@ 2002-10-23 11:38 Андрей Булава
2002-10-23 11:54 ` Andriy Dobrovol's'kii
0 siblings, 1 reply; 3+ messages in thread
From: Андрей Булава @ 2002-10-23 11:38 UTC (permalink / raw)
To: ALT Community mail list
Добрый день всем!
Как посоветуете решить вопрос с тем, что в моём случае не хватает fd для
нормальной работы squid'а?
Я вижу как минимум несколько путей:
- Перекомпилировать дистрибутивное ядро, изменив файл
/usr/include/linux/limits.h, а затем перекомпилировать squid (наиболее
правильно идеологически и меньше всего вписывается в дистрибутив ;-(
- Изменить limits.h и перекомпилировать squid (неправильно идеологически,
хотя другим программам, компилировавшимся с дистрибутивными
kernel-headers, по идее всё равно - их поведение не изменится! а геморроя
меньше - насколько я понял, ядру серии 2.4 всё равно, сколько дескрипторов
откроет один процесс
- Попытаться поправить SQUID_FD_SETSIZE в исходниках squid и
перекомпилировать squid (не факт, что это поможет, по идее значение
максимального количества fd определяется на этапе configure, и нормальный
RPM непонятно как получить :-(((
--
С наилучшими пожеланиями,
Андрей Булава [ AB1002-UANIC ]
Информационный центр ДонНТУ
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] squid is running out of filedescriptors
2002-10-23 11:38 [Comm] squid is running out of filedescriptors Андрей Булава
@ 2002-10-23 11:54 ` Andriy Dobrovol's'kii
2002-10-23 12:26 ` Андрей Булава
0 siblings, 1 reply; 3+ messages in thread
From: Andriy Dobrovol's'kii @ 2002-10-23 11:54 UTC (permalink / raw)
To: community
Андрей Булава wrote:
> Добрый день всем!
>
> Как посоветуете решить вопрос с тем, что в моём случае не хватает fd для
> нормальной работы squid'а?
>
> Я вижу как минимум несколько путей:
>
> - Перекомпилировать дистрибутивное ядро, изменив файл
> /usr/include/linux/limits.h, а затем перекомпилировать squid (наиболее
> правильно идеологически и меньше всего вписывается в дистрибутив ;-(
>
> - Изменить limits.h и перекомпилировать squid (неправильно идеологически,
> хотя другим программам, компилировавшимся с дистрибутивными
> kernel-headers, по идее всё равно - их поведение не изменится! а геморроя
> меньше - насколько я понял, ядру серии 2.4 всё равно, сколько дескрипторов
> откроет один процесс
>
> - Попытаться поправить SQUID_FD_SETSIZE в исходниках squid и
> перекомпилировать squid (не факт, что это поможет, по идее значение
> максимального количества fd определяется на этапе configure, и нормальный
> RPM непонятно как получить :-(((
>
> --
> С наилучшими пожеланиями,
> Андрей Булава [ AB1002-UANIC ]
> Информационный центр ДонНТУ
>
>
А во FreeBSD тоже в этом случае ядро нужно пересобирать и
squid? Или как-то иначе можно решить?
А то та же проблема.
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 265-7824 Department of Gas
Electronics
Fax: (380-44) 265-2329 Institute of
Physics of NASU
*********************************************************************
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] squid is running out of filedescriptors
2002-10-23 11:54 ` Andriy Dobrovol's'kii
@ 2002-10-23 12:26 ` Андрей Булава
0 siblings, 0 replies; 3+ messages in thread
From: Андрей Булава @ 2002-10-23 12:26 UTC (permalink / raw)
To: ALT Community mail list
On Wed, 23 Oct 2002, Andriy Dobrovol's'kii wrote:
>
> А во FreeBSD тоже в этом случае ядро нужно пересобирать и
> squid? Или как-то иначе можно решить?
http://www.bishkek.su/ElCat/documentation/Networks/engl/squid/FAQ-10.html
(хотя можно и ближе найти - этот FAQ очень распространён)
> А то та же проблема.
Насколько я понял из документации - переконфигурируем (не
перекомпилируем!) ядро FreeBSD, а потом пересобираем squid - его скрипт
configure смотрит на текущие параметры ядра и вуаля.
Точнее сказать не могу - у нас squid на FreeBSD _был_, теперь на ALM2, с
ним и разбираюсь.
>
> --
> Rgrds,
> Andriy
--
С наилучшими пожеланиями,
Андрей Булава [ AB1002-UANIC ]
Информационный центр ДонНТУ
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-23 12:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-23 11:38 [Comm] squid is running out of filedescriptors Андрей Булава
2002-10-23 11:54 ` Andriy Dobrovol's'kii
2002-10-23 12:26 ` Андрей Булава
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git