<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" version="2.0">
  <channel>
    <title>Recent Posts in 'Possible CPU Hanging Issue' | Active Reload</title>
    <link>http://forum.activereload.net/forums/8/topics/425</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <atom:link href="http://forum.activereload.net/open_search.xml" rel="search" type="application/opensearchdescription+xml"/>
    <description></description>
    <item>
      <title>Possible CPU Hanging Issue posted by technoweenie @ Mon, 14 Jan 2008 08:24:25 -0000</title>
      <description>&lt;p&gt;Infininight in #textmate found the issue and committed a fix in minutes.  Apparently the regular expression got itself into some exponential back referencing loop.  A fix is available &lt;a href="http://pastie.caboo.se/paste/asset/138555/php_syntax_fix.diff.txt"&gt;here&lt;/a&gt;.&lt;/p&gt;


&lt;pre&gt;
curl "http://pastie.caboo.se/paste/asset/138555/php_syntax_fix.diff.txt" | patch -p1
&lt;/pre&gt;</description>
      <pubDate>Mon, 14 Jan 2008 08:24:25 -0000</pubDate>
      <guid isPermaLink="false">forum.activereload.net:8:425:1517</guid>
      <author>technoweenie</author>
      <link>http://forum.activereload.net/forums/8/topics/425</link>
    </item>
    <item>
      <title>Possible CPU Hanging Issue posted by technoweenie @ Sun, 13 Jan 2008 18:39:37 -0000</title>
      <description>&lt;p&gt;I helped Josh Goebel troubleshoot an issue with &lt;a href="http://pastie.org/"&gt;Pastie&lt;/a&gt; where the &lt;span class="caps"&gt;CPU&lt;/span&gt; would star maxing out and locking the rails process.  We tracked it down to a certain &lt;span class="caps"&gt;PHP&lt;/span&gt; file that was causing the issue.  I&amp;#8217;m not sure if it&amp;#8217;s necessarily a ruby issue though, since the same file has the same problem with Textmate.  At any rate, it&amp;#8217;ll be reported to Allan (author of Textmate).&lt;/p&gt;


	&lt;p&gt;Until some solution is found, you can choose to disable the &lt;span class="caps"&gt;PHP&lt;/span&gt; syntax altogether.  Warehouse has some mods that let me ignore syntax files by name, but I will be adding a config option in a future version of Warehouse.&lt;/p&gt;


	&lt;p&gt;To do it manually, just look for line 44 of config/initializers/general.rb, starting with &amp;#8220;Uv.syntax_list = &amp;#8221;.  Find php in the list and remove it (while preserving the single space between each syntax name).&lt;/p&gt;


	&lt;p&gt;This isn&amp;#8217;t for all &lt;span class="caps"&gt;PHP&lt;/span&gt; files, but certain ones that seem to trigger some obscure bug.  Also, don&amp;#8217;t bother worrying about this if you&amp;#8217;re not using Ultraviolet.&lt;/p&gt;</description>
      <pubDate>Sun, 13 Jan 2008 18:39:37 -0000</pubDate>
      <guid isPermaLink="false">forum.activereload.net:8:425:1512</guid>
      <author>technoweenie</author>
      <link>http://forum.activereload.net/forums/8/topics/425</link>
    </item>
  </channel>
</rss>
