<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Падает почта. postfix+cyrus-imapd]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=1524&amp;type=atom" />
	<updated>2010-03-18T13:25:00Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=1524</id>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=22256#p22256" />
			<content type="html"><![CDATA[<p>А нехватка это полностью забитая(до 0 свободного места) память или что?<br />Место на диске достаточно(6-8Гб) + еще ящики буду чистить на днях.<br />А вот именно состояние ОЗУ в этот момент пока не смотрел...<br />В общем когда я выключаю постфикс и сайрус - кол-во занятой оперативки уменьшается где-то на 100-110мб. Кто занимает остальное место - не успел посмотреть.</p><p>db_stat -c -h /var/lib/imap/db</p><p>После перезагрузки.<br />370&nbsp; &nbsp; Number of current locks.</p><p>Раньше, когда все ок было.<br />9990&nbsp; Number of current locks.</p><p>В тот момент когда падает и зависает.<br />11906&nbsp; Number of current locks.</p><p>Пока проблема временно решена путем увеличения параметра set_lg_regionmax 209715200 в /var/lib/imap/db/DB_CONFIG<br />В db_stat -c -h /..... локи все копятся и перевалили уже за 23000, но пока сервак не виснет. <br />Работает сервак без перебоев уже часа 3 - рекорд за посл 2 дня))</p><p>Что отвечает за очистку &quot;lock&#039;ов&quot;? ...такое чувство что они не чистятся вообще...</p><p>Когда работает он в логах появляются ошибки типа: <br />master[13255]: process ***** exited, signaled to death by 11<br />master[13255]: service lmtpunix pid ***** in BUSY state: terminated abnormally</p><p>И когда db_stat покажет:<br />49999&nbsp; &nbsp;Total number of locks requested<br />Он виснет. <br />Лечится только cyrus-imapd restart<br /> :rolleyes:&nbsp; :rolleyes:&nbsp; :rolleyes:&nbsp; :rolleyes:</p><p>---------------------------------------------</p><p>Проблема пока решена...<br />Решилась <br />зачисткой почтовых ящиков ( освободилось ~30Гб)<br />добавление нескольких платок озу (теперь 1.5гб)</p><p>Вроде все ок...Тьфу-тьфу-тьфу...</p>]]></content>
			<author>
				<name><![CDATA[shpak1]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3927</uri>
			</author>
			<updated>2010-03-18T13:25:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=22256#p22256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=22041#p22041" />
			<content type="html"><![CDATA[<p>Я имею ввиду, нет ли нехватки памяти в момент падения сайруса</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-03-16T11:04:31Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=22041#p22041</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=22026#p22026" />
			<content type="html"><![CDATA[<p>На серваке 768мб ОЗУ<br />7мб свободно)))<br />Фишка в том что раньше все ок было, те железо не трогали и не меняли.</p>]]></content>
			<author>
				<name><![CDATA[shpak1]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3927</uri>
			</author>
			<updated>2010-03-16T10:57:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=22026#p22026</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=22024#p22024" />
			<content type="html"><![CDATA[<p>И еще вопрос. В моменты падения сайруса оперативной памяти на машине хватает?</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-03-16T10:56:20Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=22024#p22024</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=22008#p22008" />
			<content type="html"><![CDATA[<p>Cyrus.conf<br /></p><div class="codebox"><pre><code># standard standalone server implementation

START {
  # do not delete this entry!
  recover    cmd=&quot;ctl_cyrusdb -r&quot;

  # this is only necessary if using idled for IMAP IDLE
  idled        cmd=&quot;idled&quot;
}

# UNIX sockets start with a slash and are put into /var/lib/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap        cmd=&quot;imapd&quot; listen=&quot;imap&quot; prefork=5
  imaps        cmd=&quot;imapd -s&quot; listen=&quot;imaps&quot; prefork=1
  pop3        cmd=&quot;pop3d&quot; listen=&quot;pop3&quot; prefork=3
  pop3s        cmd=&quot;pop3d -s&quot; listen=&quot;pop3s&quot; prefork=1
  sieve        cmd=&quot;timsieved&quot; listen=&quot;sieve&quot; prefork=0

  # these are only necessary if receiving/exporting usenet via NNTP
#  nntp        cmd=&quot;nntpd&quot; listen=&quot;nntp&quot; prefork=3
#  nntps        cmd=&quot;nntpd -s&quot; listen=&quot;nntps&quot; prefork=1

  # at least one LMTP is required for delivery
#  lmtp        cmd=&quot;lmtpd&quot; listen=&quot;lmtp&quot; prefork=0
  lmtpunix    cmd=&quot;lmtpd&quot; listen=&quot;/var/spool/postfix/public/lmtp&quot; prefork=1

  # this is only necessary if using notifications
#  notify    cmd=&quot;notifyd&quot; listen=&quot;/var/lib/imap/socket/notify&quot; proto=&quot;udp&quot; prefork=1
}

EVENTS {
  # this is required
  checkpoint    cmd=&quot;ctl_cyrusdb -c&quot; period=30

  # this is only necessary if using duplicate delivery suppression,
  # Sieve or NNTP
  delprune    cmd=&quot;cyr_expire -E 3&quot; at=0400

  # this is only necessary if caching TLS sessions
  tlsprune    cmd=&quot;tls_prune&quot; at=0400
}</code></pre></div><p>imapd.conf<br /></p><div class="codebox"><pre><code>configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
reject8bit: no
munge8bit: no
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
sasldb_path:    /etc/sasldb2
sasl_mech_list: LOGIN PLAIN
tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
altnamespace: yes
duplicatesuppression: 0</code></pre></div>]]></content>
			<author>
				<name><![CDATA[shpak1]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3927</uri>
			</author>
			<updated>2010-03-16T10:48:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=22008#p22008</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=21993#p21993" />
			<content type="html"><![CDATA[<p>Конфиг сайруса покажите пожалуйста</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-03-16T10:35:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=21993#p21993</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=21985#p21985" />
			<content type="html"><![CDATA[<p>Ну это если только в пятницу вечером. А сейчас тогда надо искать и исправлять ошибку...Еще какие варианты могут быть?</p>]]></content>
			<author>
				<name><![CDATA[shpak1]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3927</uri>
			</author>
			<updated>2010-03-16T10:19:09Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=21985#p21985</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=21954#p21954" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>shpak1 пишет:</cite><blockquote><p>А со старым cyrus-imap что делать? Базы не умрут его, а то там mailboxes.db</p></blockquote></div><p>Увы, вот здесь подсказать не смогу <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" />&nbsp; Как вариант - сделать full backup и накатить обновления, но на это потребуется время и время простоя, а так же время на то что бы потом все востановить если что то пойдет не так.</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-03-16T09:36:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=21954#p21954</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=21947#p21947" />
			<content type="html"><![CDATA[<p>А со старым cyrus-imap что делать? Базы не умрут его, а то там mailboxes.db</p>]]></content>
			<author>
				<name><![CDATA[shpak1]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3927</uri>
			</author>
			<updated>2010-03-16T09:30:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=21947#p21947</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=21945#p21945" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>shpak1 пишет:</cite><blockquote><p>Диски врятли...Там с ними все ок...raid 5<br />Как и где посмотреть все что ты сказал?)<br />Я скачал уже дистрибютив cyrus-imapd-2.3.16.tar.gz</p></blockquote></div><p>думаю что собирать руками не совсем хорошая затея</p><p>rpm -qR имя-пакета <br />примет:<br /></p><div class="codebox"><pre><code>rpm -qR mc
groff  
rpmlib(PayloadFilesHavePrefix) &lt;= 4.0-1
rpmlib(CompressedFileNames) &lt;= 3.0.4-1
bash  
perl-base  
libc.so.6  
libc.so.6(GLIBC_2.0)  
libc.so.6(GLIBC_2.1)  
libc.so.6(GLIBC_2.2)  
libc.so.6(GLIBC_2.2.1)  
libc.so.6(GLIBC_2.3)  
libc.so.6(GLIBC_2.3.4)  
libc.so.6(GLIBC_2.4)  
libcom_err.so.2  
libext2fs.so.2  
libglib-2.0.so.0  
libgpm.so.1  
libslang.so.2  
rtld(GNU_HASH)  
perl(File::Basename)  
perl(File::Temp)  
perl(POSIX)  </code></pre></div>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-03-16T09:29:05Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=21945#p21945</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=21933#p21933" />
			<content type="html"><![CDATA[<p>Диски врятли...Там с ними все ок...raid 5<br />Как и где посмотреть все что ты сказал?)<br />Я скачал уже дистрибютив cyrus-imapd-2.3.16.tar.gz</p>]]></content>
			<author>
				<name><![CDATA[shpak1]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3927</uri>
			</author>
			<updated>2010-03-16T09:20:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=21933#p21933</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=21928#p21928" />
			<content type="html"><![CDATA[<p><strong>shpak1</strong>, для начала версии просмотри, что было изменено что добавлено + зависимости к cyrus-imapd, кстати, а диск не может сыпаться?</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-03-16T09:17:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=21928#p21928</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=21921#p21921" />
			<content type="html"><![CDATA[<p>Кстати, после перезагрузки, почта очень долго доходит до пользователей. Но со временем вроде рассасывается, и позже сервак падает.<br />Перед этим серваком стоит relay тоже на постфиксе(как фильтр).<br />Может реально обновить cyrus-imapd.<br />Как его обновить можно?</p>]]></content>
			<author>
				<name><![CDATA[shpak1]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3927</uri>
			</author>
			<updated>2010-03-16T09:13:12Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=21921#p21921</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=21918#p21918" />
			<content type="html"><![CDATA[<p><strong>Hrafn</strong>, а откуда там dovecot взялся? O_o<br /><strong>shpak1</strong>, а утебя его и нету, некую смуту внес <strong>Hrafn</strong>, но ни чего в этом старшного нет)</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2010-03-16T09:10:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=21918#p21918</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Падает почта. postfix+cyrus-imapd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=21917#p21917" />
			<content type="html"><![CDATA[<p>Name&nbsp; &nbsp; &nbsp; &nbsp; : cyrus-imapd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Relocations: (not relocatable)<br />Version&nbsp; &nbsp; &nbsp;: 2.2.12&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Vendor: ASPLinux<br />Release&nbsp; &nbsp; &nbsp;: 6.fc4&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Build Date: Срд 19 Окт 2005 22:29:14<br />Install Date: Пнд 06 Авг 2007 11:19:14&nbsp; &nbsp; &nbsp; Build Host: amd64.asplinux.com.ua<br />Group&nbsp; &nbsp; &nbsp; &nbsp;: System Environment/Daemons&nbsp; &nbsp; Source RPM: cyrus-imapd-2.2.12-6.fc4.src.rpm<br />Size&nbsp; &nbsp; &nbsp; &nbsp; : 23175827&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;License: BSD<br />Signature&nbsp; &nbsp;: DSA/SHA1, Суб 24 Дек 2005 02:46:22, Key ID c96aa8e69b3c94f4<br />Packager&nbsp; &nbsp; : ASPLinux Team &lt;packages@asp-linux.com&gt;<br />URL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <a href="http://asg.web.cmu.edu/cyrus/imapd/">http://asg.web.cmu.edu/cyrus/imapd/</a><br />Summary&nbsp; &nbsp; &nbsp;: A high-performance mail server with IMAP, POP3, NNTP and SIEVE support.<br />Description :<br />The cyrus-imapd package contains the core of the Cyrus IMAP server.<br />It is a scaleable enterprise mail system designed for use from<br />small to large enterprise environments using standards-based<br />internet mail technologies.</p><p>A full Cyrus IMAP implementation allows a seamless mail and bulletin<br />board environment to be set up across multiple servers. It differs from<br />other IMAP server implementations in that it is run on &quot;sealed&quot;<br />servers, where users are not normally permitted to log in. The mailbox<br />database is stored in parts of the filesystem that are private to the<br />Cyrus IMAP server. All user access to mail is through software using<br />the IMAP, POP3, or KPOP protocols. TLSv1 and SSL are supported for<br />security.</p>]]></content>
			<author>
				<name><![CDATA[shpak1]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3927</uri>
			</author>
			<updated>2010-03-16T09:08:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=21917#p21917</id>
		</entry>
</feed>
