<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Частое зависание в 4 утра]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=10633</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=10633&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Частое зависание в 4 утра».]]></description>
		<lastBuildDate>Mon, 27 Jun 2011 07:50:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=190900#p190900</link>
			<description><![CDATA[<p>Тему можно закрывать, убил часть скрипта, приводящую к зависанию.</p>]]></description>
			<author><![CDATA[null@example.com (brullek)]]></author>
			<pubDate>Mon, 27 Jun 2011 07:50:17 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=190900#p190900</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=166537#p166537</link>
			<description><![CDATA[<p><strong>brullek</strong>, что?</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Sat, 09 Apr 2011 16:36:41 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=166537#p166537</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=166478#p166478</link>
			<description><![CDATA[<p>А вообще проверка длается по 8 параметрам дето (точки и буквы), потом выборки по разным параметрам делаются и формируются логи разные для админа.</p>]]></description>
			<author><![CDATA[null@example.com (brullek)]]></author>
			<pubDate>Sat, 09 Apr 2011 14:14:26 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=166478#p166478</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=166477#p166477</link>
			<description><![CDATA[<p>Имхо - бред ) каждый день одно и тоже проверяется <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></description>
			<author><![CDATA[null@example.com (brullek)]]></author>
			<pubDate>Sat, 09 Apr 2011 14:10:34 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=166477#p166477</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=166361#p166361</link>
			<description><![CDATA[<p><strong>brullek</strong>, <br /></p><div class="quotebox"><cite>man rpm пишет:</cite><blockquote><p>&nbsp; &nbsp; &nbsp; &nbsp;rpm {-V|--verify} [select-options] [verify-options]</p><p>&nbsp; &nbsp; &nbsp; &nbsp;Verifying&nbsp; a&nbsp; package compares information about the installed files in the package with information about<br />&nbsp; &nbsp; &nbsp; &nbsp;the files taken from the package metadata stored in the rpm database.&nbsp; Among other things, verifying&nbsp; com-<br />&nbsp; &nbsp; &nbsp; &nbsp;pares&nbsp; the&nbsp; size,&nbsp; MD5&nbsp; sum,&nbsp; permissions, type, owner and group of each file.&nbsp; Any discrepancies are dis-<br />&nbsp; &nbsp; &nbsp; &nbsp;played.&nbsp; Files that were not installed from the package, for&nbsp; example,&nbsp; documentation&nbsp; files&nbsp; excluded&nbsp; on<br />&nbsp; &nbsp; &nbsp; &nbsp;installation using the &quot;--excludedocs&quot; option, will be silently ignored.</p><p>&nbsp; &nbsp; &nbsp; &nbsp;The&nbsp; package&nbsp; selection&nbsp; options are the same as for package querying (including package manifest files as<br />&nbsp; &nbsp; &nbsp; &nbsp;arguments).&nbsp; Other options unique to verify mode are:</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nodeps<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Don&#039;t verify dependencies of packages.</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nodigest<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Don&#039;t verify package or header digests when reading.</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nofiles<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Don&#039;t verify any attributes of package files.</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--noscripts<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Don&#039;t execute the %verifyscript scriptlet (if any).</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nosignature<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Don&#039;t verify package or header signatures when reading.</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nolinkto</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nofiledigest (formerly --nomd5)</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nosize</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nouser</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nogroup</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nomtime</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nomode</p><p>&nbsp; &nbsp; &nbsp; &nbsp;--nordev<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Don&#039;t verify the corresponding file attribute.</p><p>&nbsp; &nbsp; &nbsp; &nbsp;The format of the output is a string of 8 characters, a possible attribute marker:</p><p>&nbsp; &nbsp; &nbsp; &nbsp;c %config configuration file.</p></blockquote></div><p>как видите, это проверка множества пакетов по множеству параметров. Неудивительно, что она всё вешает. Что там у вас конкретно проверяется - мне не видно.</p><div class="quotebox"><cite>brullek пишет:</cite><blockquote><p>Но до сих осталось не понятным, почему он произвольно зависает при выполнении этой команды (бывает по 2 месяца работает, а бывает через день зависал)</p></blockquote></div><p>Да что тут непонятного-то? Пакеты постоянно меняются, вот и виснет на проверке (почему не виснет каждый день тоже понятно - rpm не дура, что-бы каждый день проверять одно и тоже.)</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Sat, 09 Apr 2011 08:39:16 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=166361#p166361</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=165487#p165487</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>rpm -V &lt;список пакетов&gt;</p></blockquote></div><p>Вот тут оно и бывает и виснит ((</p><p>Проблему решил. Но до сих осталось не понятным, почему он произвольно зависает при выполнении этой команды (бывает по 2 месяца работает, а бывает через день зависал), но я забил <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p><p>Как у создателя темы - у меня нет вопросов. <strong>Тему можно закрывать.</strong> Всем спасибо, за направление деятельности по поиску решения проблемы.</p>]]></description>
			<author><![CDATA[null@example.com (brullek)]]></author>
			<pubDate>Wed, 06 Apr 2011 16:40:40 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=165487#p165487</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=163272#p163272</link>
			<description><![CDATA[<p>ясн, буду думать, спасиб</p>]]></description>
			<author><![CDATA[null@example.com (brullek)]]></author>
			<pubDate>Thu, 31 Mar 2011 15:31:27 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=163272#p163272</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=163214#p163214</link>
			<description><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>Не лечится...</p></blockquote></div><p>ну не совсем... есть паллиатив.</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ xscreensaver-command -time<br />XScreenSaver 5.12: screen non-blanked since Wed Apr 20 09:36:48 2011 (hack #164)<br /></div><br />видно, что экран не заблокирован. А следовательно я там чё-то набираю.<br />Если он заблокирован скажем полчаса - можно и обновится, пока хозяин спит...</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Thu, 31 Mar 2011 12:32:28 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=163214#p163214</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=163212#p163212</link>
			<description><![CDATA[<div class="quotebox"><cite>brullek пишет:</cite><blockquote><p>Хотя мб кто-то из Вас уже сейчас на 100% поставит диагноз и даст рекомендации как поправить</p></blockquote></div><p>легко - это обновления. Если они есть и их много - комп виснет. Такое бывает, после нахождения дыры в какой-то распространённой либе - приходится фиксить половину пакетов. Сносить и ставить заново пол-системы&nbsp; <img src="https://linuxforum.ru/img/smilies/ah.gif" alt="ah" /> <br />Не лечится...</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Thu, 31 Mar 2011 12:26:53 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=163212#p163212</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=163083#p163083</link>
			<description><![CDATA[<p>После анализа скрипта вычесленно место зависания:<br /></p><div class="codebox"><pre><code>### rpm database check

if [[ ${RPM_CHECK} == yes ]]; then
    rpm -qa --qf &quot;%{NAME}-%{VERSION}-%{RELEASE}\t%{INSTALLTIME}\n&quot; | sort &gt; ${RP
M_QA_TODAY}

    rm -f ${RPM_VA_TODAY}.tmp
    nice --adjustment=+19 rpm -V `cut -f 1  &lt; ${RPM_QA_TODAY} | grep -v &#039;^dev-[0
-9]&#039;` | grep &#039;^..5&#039; | sort &gt; ${RPM_VA_TODAY}.tmp
    grep -v &#039;^..........c.&#039;  ${RPM_VA_TODAY}.tmp | sed &#039;s/^............//&#039; | sor
t &gt; ${RPM_VA_TODAY}
    grep &#039;^..........c.&#039;  ${RPM_VA_TODAY}.tmp | sed &#039;s/^............//&#039; | sort &gt;
 ${RPM_VA_CONFIG_TODAY}
    rm -f ${RPM_VA_TODAY}.tmp
fi</code></pre></div><p>Сейчас разбил этот скрипт на&nbsp; части, и ввел лог по строчно, буду ждать следующих зависаний.<br />Хотя мб кто-то из Вас уже сейчас на 100% поставит диагноз и даст рекомендации как поправить )</p>]]></description>
			<author><![CDATA[null@example.com (brullek)]]></author>
			<pubDate>Thu, 31 Mar 2011 08:04:20 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=163083#p163083</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158296#p158296</link>
			<description><![CDATA[<p>ну я щас дополнительно по секциям ввел логироирование в срипте, буду по логам смотреть на каком учатке отваливается.</p>]]></description>
			<author><![CDATA[null@example.com (brullek)]]></author>
			<pubDate>Sat, 19 Mar 2011 11:31:28 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158296#p158296</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158290#p158290</link>
			<description><![CDATA[<p>Скрипт обязаттельно проанализирую ))<br />Еще бы понимать в нем хоть полоивну ))</p>]]></description>
			<author><![CDATA[null@example.com (brullek)]]></author>
			<pubDate>Sat, 19 Mar 2011 11:10:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158290#p158290</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158230#p158230</link>
			<description><![CDATA[<div class="quotebox"><cite>brullek пишет:</cite><blockquote><p>/usr/share/msec/security.sh</p></blockquote></div><div class="quotebox"><cite>brullek пишет:</cite><blockquote><p>Советуем, кто чего порекомендует</p></blockquote></div><p>порекомендую скрипт проанализировать или здесь выложить.</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Sat, 19 Mar 2011 07:07:31 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158230#p158230</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158214#p158214</link>
			<description><![CDATA[<p>Спустя месяц без отказной работы, сегодня снова утром было зависание компьюетра.<br />Так, новые детали нашел в соей проблеме:<br />Запуск ежедневного задания @msec (/usr/share/msec/security.sh) по логам успшно происходит, а EXIT&#039;a из задания небыло.</p><p>Советуем, кто чего порекомендует <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></description>
			<author><![CDATA[null@example.com (brullek)]]></author>
			<pubDate>Sat, 19 Mar 2011 06:53:37 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158214#p158214</guid>
		</item>
		<item>
			<title><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=142855#p142855</link>
			<description><![CDATA[<div class="quotebox"><cite>i2ks пишет:</cite><blockquote><p><strong>brullek</strong>,для редактирования&nbsp; crontab, необходимо использовать <strong>crontab -e</strong> , только надо знать как работает vi =)</p><p>P.S. <strong>не запускайте crontab без ключей, иначе все задания которые есть затрете, перед использованием команды, ознакомьтесь с руководством пользователя, проще говоря man 5 crontab</strong></p></blockquote></div><p>полностью согласен.</p><p>Однако, есть возможность прописать любимый текстовый редактор (mcedit например)<br /></p><div class="quotebox"><cite>man crontab пишет:</cite><blockquote><p>crontab&nbsp; manipulates&nbsp; the crontab for a particular user.&nbsp; Only the superuser may specify a dif-<br />&nbsp; &nbsp; &nbsp; &nbsp;ferent user and/or crontab directory.&nbsp; Generally the -e option is used to&nbsp; edit&nbsp; your&nbsp; crontab.<br />&nbsp; &nbsp; &nbsp; &nbsp;crontab&nbsp; will&nbsp; use&nbsp; /usr/bin/vi&nbsp; or the editor specified by your VISUAL environment variable to<br />&nbsp; &nbsp; &nbsp; &nbsp;edit the crontab.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Wed, 09 Feb 2011 12:09:36 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=142855#p142855</guid>
		</item>
	</channel>
</rss>
