<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>シェル;Linux;キャッシュ;Wordpress;プラグイン; | ～下町物語～</title>
	<atom:link href="https://blog.rurineko.com/archives/tag/%E3%82%B7%E3%82%A7%E3%83%ABlinux%E3%82%AD%E3%83%A3%E3%83%83%E3%82%B7%E3%83%A5wordpress%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.rurineko.com</link>
	<description>入り組んだ現代社会に鋭いメスを入れ、おもしろおかしく書綴るブログである</description>
	<lastBuildDate>Sun, 01 Feb 2015 13:35:50 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.rurineko.com/wp-content/uploads/2017/04/cropped-image2_9-32x32.jpg</url>
	<title>シェル;Linux;キャッシュ;Wordpress;プラグイン; | ～下町物語～</title>
	<link>https://blog.rurineko.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/>
<atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/>
<atom:link rel="hub" href="https://websubhub.com/hub"/>
<atom:link rel="self" href="https://blog.rurineko.com/archives/tag/%E3%82%B7%E3%82%A7%E3%83%ABlinux%E3%82%AD%E3%83%A3%E3%83%83%E3%82%B7%E3%83%A5wordpress%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3/feed"/>
	<item>
		<title>キャッシュクリアの自体！！ログで判明</title>
		<link>https://blog.rurineko.com/archives/4482</link>
		
		<dc:creator><![CDATA[rurineko]]></dc:creator>
		<pubDate>Sun, 01 Feb 2015 13:35:50 +0000</pubDate>
				<category><![CDATA[Linux(Apache)WebServer]]></category>
		<category><![CDATA[Linux(シェル)]]></category>
		<category><![CDATA[Linux（OS）]]></category>
		<category><![CDATA[パソコン]]></category>
		<category><![CDATA[シェル;Linux;キャッシュ;Wordpress;プラグイン;]]></category>
		<guid isPermaLink="false">http://blog.rurineko.com/?p=4482</guid>

					<description><![CDATA[<p><span class="span-reading-time rt-reading-time" style="display: block;"><span class="rt-label rt-prefix">この記事を読む およそ時間</span> <span class="rt-time"> 2</span> <span class="rt-label rt-postfix">分</span></span>先日、Wordpressのインストールディレクトリが１１Gとなる事態を受けて、急遽キャッシュの定期削除に踏み切った。 当日は、もはやとりあえずキャッシュ数だけ確認して、適当に消せば良かったと思ったけど やっぱり、いつごろ [&#8230;]</p>
<p>The post <a href="https://blog.rurineko.com/archives/4482">キャッシュクリアの自体！！ログで判明</a> first appeared on <a href="https://blog.rurineko.com">～下町物語～</a>.</p>]]></description>
										<content:encoded><![CDATA[<span class="span-reading-time rt-reading-time" style="display: block;"><span class="rt-label rt-prefix">この記事を読む およそ時間</span> <span class="rt-time"> 2</span> <span class="rt-label rt-postfix">分</span></span><p>先日、Wordpressのインストールディレクトリが１１Gとなる事態を受けて、急遽キャッシュの定期削除に踏み切った。</p>
<p>当日は、もはやとりあえずキャッシュ数だけ確認して、適当に消せば良かったと思ったけど</p>
<p>やっぱり、いつごろどのくらいのキャッシュ数が貯まるか気になりだした。シェルを改修して、下記の仕様とした。</p>
<p>毎回ログに日付日時キャッシュ数と今回は消さないという文字列をログにはくことにした。</p>
<p>下記その名前データである。アクセス数が多い時間帯はキャッシュの数が増えていくので</p>
<p>おもしろいデータだと思う。ラストが９６００なのでそろそろ、キャッシュクリアが走って消されると思う。</p>
<p>枚正午動くのかと思ったら、ちゃんと起動時間から１時間を維持しているようで</p>
<p>今回は毎５２分にキックされている事が分かる。※最初の３回はテストで手動でたたいてます。</p>
<p>&#8212; 2015-01-30-23_39_19 cache 786 Not Deleted &#8212;<br /> &#8212; 2015-01-30-23_42_03 cache 789 Not Deleted &#8212;<br /> &#8212; 2015-01-30-23_45_16 cache 801 Not Deleted &#8212;<br /> &#8212; 2015-01-30-23_52_12 cache 833 Not Deleted &#8212;<br /> &#8212; 2015-01-31-00_52_08 cache 1021 Not Deleted &#8212;<br /> &#8212; 2015-01-31-01_52_07 cache 1136 Not Deleted &#8212;<br /> &#8212; 2015-01-31-02_52_09 cache 1275 Not Deleted &#8212;<br /> &#8212; 2015-01-31-03_52_11 cache 1395 Not Deleted &#8212;<br /> &#8212; 2015-01-31-04_52_22 cache 1478 Not Deleted &#8212;<br /> &#8212; 2015-01-31-05_52_09 cache 1859 Not Deleted &#8212;<br /> &#8212; 2015-01-31-06_52_08 cache 2324 Not Deleted &#8212;<br /> &#8212; 2015-01-31-07_52_09 cache 2439 Not Deleted &#8212;<br /> &#8212; 2015-01-31-08_52_10 cache 2554 Not Deleted &#8212;<br /> &#8212; 2015-01-31-09_52_10 cache 2835 Not Deleted &#8212;<br /> &#8212; 2015-01-31-10_52_09 cache 3013 Not Deleted &#8212;<br /> &#8212; 2015-01-31-11_52_11 cache 3235 Not Deleted &#8212;<br /> &#8212; 2015-01-31-12_52_09 cache 3497 Not Deleted &#8212;<br /> &#8212; 2015-01-31-13_52_10 cache 3734 Not Deleted &#8212;<br /> &#8212; 2015-01-31-14_52_08 cache 4115 Not Deleted &#8212;<br /> &#8212; 2015-01-31-15_52_14 cache 4440 Not Deleted &#8212;<br /> &#8212; 2015-01-31-16_52_11 cache 4536 Not Deleted &#8212;<br /> &#8212; 2015-01-31-17_52_14 cache 4614 Not Deleted &#8212;<br /> &#8212; 2015-01-31-18_52_12 cache 4888 Not Deleted &#8212;<br /> &#8212; 2015-01-31-19_52_24 cache 5311 Not Deleted &#8212;<br /> &#8212; 2015-01-31-20_52_09 cache 5430 Not Deleted &#8212;<br /> &#8212; 2015-01-31-21_52_15 cache 5528 Not Deleted &#8212;<br /> &#8212; 2015-01-31-22_52_10 cache 5680 Not Deleted &#8212;<br /> &#8212; 2015-01-31-23_52_11 cache 5844 Not Deleted &#8212;<br /> &#8212; 2015-02-01-00_52_08 cache 5965 Not Deleted &#8212;<br /> &#8212; 2015-02-01-01_52_08 cache 6074 Not Deleted &#8212;<br /> &#8212; 2015-02-01-02_52_08 cache 6195 Not Deleted &#8212;<br /> &#8212; 2015-02-01-03_52_08 cache 6333 Not Deleted &#8212;<br /> &#8212; 2015-02-01-04_52_08 cache 6469 Not Deleted &#8212;<br /> &#8212; 2015-02-01-05_52_08 cache 6589 Not Deleted &#8212;<br /> &#8212; 2015-02-01-06_52_10 cache 6703 Not Deleted &#8212;<br /> &#8212; 2015-02-01-07_52_07 cache 6881 Not Deleted &#8212;<br /> &#8212; 2015-02-01-08_52_08 cache 7018 Not Deleted &#8212;<br /> &#8212; 2015-02-01-09_52_08 cache 7188 Not Deleted &#8212;<br /> &#8212; 2015-02-01-10_52_08 cache 7455 Not Deleted &#8212;<br /> &#8212; 2015-02-01-11_52_08 cache 7730 Not Deleted &#8212;<br /> &#8212; 2015-02-01-12_52_09 cache 7818 Not Deleted &#8212;<br /> &#8212; 2015-02-01-13_52_08 cache 7900 Not Deleted &#8212;<br /> &#8212; 2015-02-01-14_52_07 cache 8006 Not Deleted &#8212;<br /> &#8212; 2015-02-01-15_52_08 cache 8211 Not Deleted &#8212;<br /> &#8212; 2015-02-01-16_52_07 cache 8380 Not Deleted &#8212;<br /> &#8212; 2015-02-01-17_52_09 cache 8576 Not Deleted &#8212;<br /> &#8212; 2015-02-01-18_52_09 cache 8796 Not Deleted &#8212;<br /> &#8212; 2015-02-01-19_52_21 cache 9065 Not Deleted &#8212;<br /> &#8212; 2015-02-01-20_52_12 cache 9330 Not Deleted &#8212;<br /> &#8212; 2015-02-01-21_52_08 cache 9600 Not Deleted &#8212;</p>
<p>２２時５２分でとりあえず、１万ファイルを越える可能性があるので</p>
<p>そこでrm文が発行されると思います。ある程度飽きてきたらログをはかないように改修する見込みです。</p>
<p>ソースほしいですか？</p>
<p>echo &#8221; &#8212; ${dtm} cache ${cachewc} Not Deleted &#8212; &#8221; &gt;&gt; /scriptA/logs/cache-deleted.log</p>
<p>こういう構文書いているだけですよ。参考になさってください。</p><p>The post <a href="https://blog.rurineko.com/archives/4482">キャッシュクリアの自体！！ログで判明</a> first appeared on <a href="https://blog.rurineko.com">～下町物語～</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
