<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Частое зависание в 4 утра]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=10633&amp;type=atom" />
	<updated>2011-06-27T07:50:17Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=10633</id>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=190900#p190900" />
			<content type="html"><![CDATA[<p>Тему можно закрывать, убил часть скрипта, приводящую к зависанию.</p>]]></content>
			<author>
				<name><![CDATA[brullek]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13267</uri>
			</author>
			<updated>2011-06-27T07:50:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=190900#p190900</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=166537#p166537" />
			<content type="html"><![CDATA[<p><strong>brullek</strong>, что?</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-04-09T16:36:41Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=166537#p166537</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=166478#p166478" />
			<content type="html"><![CDATA[<p>А вообще проверка длается по 8 параметрам дето (точки и буквы), потом выборки по разным параметрам делаются и формируются логи разные для админа.</p>]]></content>
			<author>
				<name><![CDATA[brullek]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13267</uri>
			</author>
			<updated>2011-04-09T14:14:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=166478#p166478</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=166477#p166477" />
			<content type="html"><![CDATA[<p>Имхо - бред ) каждый день одно и тоже проверяется <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[brullek]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13267</uri>
			</author>
			<updated>2011-04-09T14:10:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=166477#p166477</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=166361#p166361" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-04-09T08:39:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=166361#p166361</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=165487#p165487" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[brullek]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13267</uri>
			</author>
			<updated>2011-04-06T16:40:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=165487#p165487</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=163272#p163272" />
			<content type="html"><![CDATA[<p>ясн, буду думать, спасиб</p>]]></content>
			<author>
				<name><![CDATA[brullek]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13267</uri>
			</author>
			<updated>2011-03-31T15:31:27Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=163272#p163272</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=163214#p163214" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-03-31T12:32:28Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=163214#p163214</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=163212#p163212" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-03-31T12:26:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=163212#p163212</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=163083#p163083" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[brullek]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13267</uri>
			</author>
			<updated>2011-03-31T08:04:20Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=163083#p163083</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=158296#p158296" />
			<content type="html"><![CDATA[<p>ну я щас дополнительно по секциям ввел логироирование в срипте, буду по логам смотреть на каком учатке отваливается.</p>]]></content>
			<author>
				<name><![CDATA[brullek]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13267</uri>
			</author>
			<updated>2011-03-19T11:31:28Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=158296#p158296</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=158290#p158290" />
			<content type="html"><![CDATA[<p>Скрипт обязаттельно проанализирую ))<br />Еще бы понимать в нем хоть полоивну ))</p>]]></content>
			<author>
				<name><![CDATA[brullek]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13267</uri>
			</author>
			<updated>2011-03-19T11:10:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=158290#p158290</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=158230#p158230" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-03-19T07:07:31Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=158230#p158230</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=158214#p158214" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[brullek]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13267</uri>
			</author>
			<updated>2011-03-19T06:53:37Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=158214#p158214</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Частое зависание в 4 утра]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=142855#p142855" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-02-09T12:09:36Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=142855#p142855</id>
		</entry>
</feed>
