<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TNF : Tatter Network Foundation forum - memcached: 추가정보 + 로그인 문제]]></title>
		<link>http://forum.tattersite.com/ko/viewtopic.php?id=9018</link>
		<description><![CDATA[memcached: 추가정보 + 로그인 문제 의 최근 RSS 글들.]]></description>
		<lastBuildDate>Thu, 03 Dec 2009 13:10:19 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[RSS 답글: memcached: 추가정보 + 로그인 문제]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=37203#p37203</link>
			<description><![CDATA[<p>로그인 문제 해결:</p><p>centos에서는 문제가 없는데 debian계열/우분투 (karmic 9.10)에서 1년 이상된 bug의 patch가 아직 반영되지 않었군요. 설치되면 당연히 활성화 되어야할 것이... 수정후(ENABLE_MEMCACHED=yes) 로그인 문제는 사라졌읍니다. windows 2008 서버에서와 유사하게 memcached.exe 서비스가 정지된 상태에서 TC의 config.php에서 memcached를 활성화 하면 로그인되지 않었든 것으로 기억됨니다.</p><p>{<br />Package: memcached<br />Version: 1.2.2<br />Tags: patch</p><p>memcached should be able to be installed, but not enabled by default. The enclosed patch modifies /etc/init.d/memcached to read /etc/default/ memcached and not startup unless ENABLE_MEMCACHED is yes. </p><p>diff -uNrb -x CVS -x &#039;*~&#039; -x &#039;*.o&#039; memcached-1.2.2.orig/debian/ memcached.default memcached-1.2.2/debian/memcached.default --- memcached-1.2.2.orig/debian/memcached.default 1969-12-31 16:00:00.000000000 -0800 +++ memcached-1.2.2/debian/memcached.default 2008-02-24 12:59:00.000000000 -0800 <br />@@ -0,0 +1,2 @@<br />+# Set this to yes to enable memcached.<br />+ENABLE_MEMCACHED=no<br />diff -uNrb -x CVS -x &#039;*~&#039; -x &#039;*.o&#039; memcached-1.2.2.orig/scripts/ memcached-init memcached-1.2.2/scripts/memcached-init --- memcached-1.2.2.orig/scripts/memcached-init 2008-02-24 13:01:45.000000000 -0800 +++ memcached-1.2.2/scripts/memcached-init 2008-02-24 12:56:17.000000000 -0800 <br />@@ -24,11 +24,19 @@</p><p> set -e</p><p>+# Edit /etc/default/memcached to change this.<br />+ENABLE_MEMCACHED=no<br />+test -r /etc/default/memcached &amp;&amp; . /etc/default/memcached<br />+<br /> case &quot;$1&quot; in<br />&nbsp; &nbsp;start)<br />&nbsp; &nbsp; &nbsp; &nbsp; echo -n &quot;Starting $DESC: &quot;<br />+&nbsp; &nbsp; &nbsp; &nbsp;if [ $ENABLE_MEMCACHED = yes ]; then<br />&nbsp; &nbsp; &nbsp; &nbsp; start-stop-daemon --start --quiet --exec $DAEMONBOOTSTRAP<br />&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;$NAME.&quot;<br />+&nbsp; &nbsp; &nbsp; &nbsp;else<br />+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo &quot;$NAME disabled in /etc/default/memcached.&quot;<br />+&nbsp; &nbsp; &nbsp; &nbsp;fi<br />&nbsp; &nbsp; &nbsp; &nbsp; ;;<br />&nbsp; &nbsp;stop)<br />&nbsp; &nbsp; &nbsp; &nbsp; echo -n &quot;Stopping $DESC: &quot;<br />}</p>]]></description>
			<author><![CDATA[null@example.com (meta)]]></author>
			<pubDate>Thu, 03 Dec 2009 13:10:19 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=37203#p37203</guid>
		</item>
		<item>
			<title><![CDATA[memcached: 추가정보 + 로그인 문제]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=37005#p37005</link>
			<description><![CDATA[<p>1.82에 memcached가 활성화 될 경우의 질문 2개.<br />(환경: 서버box의 gui에서 testing/debian+centos/opera+firefox/qualifed DNS pointing to localhost box)</p><p>1) 1.7x에서 eaccelator+apc&nbsp; 적용에 별 무리가 없었는데, <br />1.8x에서는 memcached+xcache+zendoptimizer 조건에 상기 조합보다 빠른 느낌이 드나<br />문제 하나는 로그인하면 다시 로그인 페이지로 돌아와 dashbord에의 접근이 않됩니다.<br />따라서 로그인이 필요할때 마다 config.php에서 memcached를 비활성하게 되는 반복 작업이 <br />계속되어 혹시 이와 유사한 문제점/해결책이 보고되었는지 문의.</p><p>(서버box의 gui에서 testing되어 그러는지? 서버가 아닌 다른 PC에서 로그인 시도를 아직 않해보아서..<br />윈도우2008서버에서는&nbsp; Zend Optimizer가 php5.3 버전이 없어 memcached+xcache 상황에 <br />TC의 페이지cache를 비활성화하여야만 로그인 되었든 것으로 기억됩니다.)</p><p>2) memcached 활용 예로써 서버에 2개 이상의 TC가 운영될때 config.php에 적용될 수 있는<br />$memcached[&#039;server&#039;] 의 올바른 syntax의 예를 들어 주십시요.</p><p>하나더 </p><p>3) php.ini에서 &#039;session.save_handler&#039;의 성공적 활용 예?</p><p>default인 <br />&#039;session.save_handler = files&#039;<br />;session.save_path =</p><p>아니면</p><p>session.save_handler = memcache<br />session.save_path = &quot;tcp://localhost:11211?persistent=1&amp;weight=1&amp;timeout=1&amp;retry_interval=15&quot;</p><p>와 같이 files 대신 memcache와 path의 지정?. 현재 후자에 에러가 나와서 default로 이용.</p><p>1.8x부터 TC에서 memcached의 정식 지원을 위해 준비된 테스트 결과가 있으리라 보고 여기에 최적화된 개발 환경의<br />변수들이 궁금합니다.</p>]]></description>
			<author><![CDATA[null@example.com (meta)]]></author>
			<pubDate>Tue, 10 Nov 2009 15:51:22 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=37005#p37005</guid>
		</item>
	</channel>
</rss>
