From: Maxim.Savrilov@socenter.ru
To: community@altlinux.ru
Subject: Re: [Comm] cyrus-imapd file desctriptor limit
Date: Thu, 3 Mar 2005 10:03:39 +0600
Message-ID: <20050303100339.6f1d51c3.Maxim.Savrilov@socenter.ru> (raw)
In-Reply-To: <20050302205725.2c7f2419.alexei@taf.ru>
Здравствуйте!
Ну вот, а до этого жил, не тужил(почти)
теперь в логах такая срока при стартапе
imapd/master[26211]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
imapd/master[26211]: retrying with 1024 (current max)
при этом
$>cat /proc/sys/fs/file-max
26208
попробовал добавить в /etc/security/limits.conf
cyrus soft nofile 4096
пишет то же самое
погуглил, встречаются такие проблемы, но народ решения не предложил,
видимо и так работает. Возможно это и нормально, все равно одному процессу
вряд ли более потребуется, но как-то неаккуратненько.
Прописал в /etc/cyrus.conf maxfd=4096 на сервисы, теперь ругается
imapd/master[26582]: setrlimit: Unable to set file descriptors limit to 4096: Operation not permitted
imapd/master[26582]: retrying with 1024 (current max)
если прописать 1024, то опять кричит про limit to -1: Operation not permitted
где прописывать лимиты, не с стартап-скрипте же?
Спасибо за помощь!
P.S. при перегоне mbox в папку imap обнаружил что перестал работать deliver
посмотрел в чем дело - оказалось, нет прав на доступ /var/spool/postfix/public
странно, раньше работало. теперь или делать на каталог chmod o+x или
вносить пользователя cyrus в группу postfix
On Wed, 2 Mar 2005 20:57:25 +0800
Alexei Takaseev <alexei@taf.ru> wrote:
> On Wed, 2 Mar 2005 10:09:17 +0600
> Maxim.Savrilov@socenter.ru wrote:
>
> > Можно дополнительный вопрос? Как cyrus заставить писать хоть что-то в
> > логи, кроме shutdown и startup?
>
> /etc/syslog.conf:
>
> ...
> # Cyrus
> local6.debug /var/log/imapd.log
> auth.debug /var/log/imapd.log
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> https://lists.altlinux.ru/mailman/listinfo/community
next prev parent reply other threads:[~2005-03-03 4:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-01 8:51 [Comm] cyrus-imapd ssl Maxim.Savrilov
2005-03-01 10:43 ` Maxim.Savrilov
2005-03-01 11:03 ` Alexei Takaseev
2005-03-01 11:08 ` Alexei Takaseev
2005-03-01 11:27 ` Maxim.Savrilov
2005-03-01 11:33 ` Alexei Takaseev
2005-03-01 11:46 ` Maxim.Savrilov
2005-03-01 11:57 ` Alexei Takaseev
2005-03-01 12:20 ` Maxim.Savrilov
2005-03-01 12:24 ` Maxim.Savrilov
2005-03-01 12:33 ` Maxim.Savrilov
2005-03-02 4:09 ` [Comm] cyrus-imapd ssl [IT WORKS] Maxim.Savrilov
2005-03-02 12:57 ` Alexei Takaseev
2005-03-03 4:03 ` Maxim.Savrilov [this message]
2005-03-03 11:23 ` [Comm] cyrus-imapd file desctriptor limit Alexei Takaseev
2005-03-03 11:42 ` Maxim.Savrilov
2005-03-03 11:47 ` Alexei Takaseev
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=20050303100339.6f1d51c3.Maxim.Savrilov@socenter.ru \
--to=maxim.savrilov@socenter.ru \
--cc=community@altlinux.ru \
/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 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