<?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>Techie-Gyan &#187; problem</title>
	<atom:link href="http://www.techiegyan.com/category/problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techiegyan.com</link>
	<description></description>
	<lastBuildDate>Fri, 25 Nov 2011 05:37:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>10x Performance Improvements &#8211; MySql</title>
		<link>http://www.techiegyan.com/2011/04/10/10x-performance-improvements-mysql/</link>
		<comments>http://www.techiegyan.com/2011/04/10/10x-performance-improvements-mysql/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 06:55:55 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[basics]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.techiegyan.com/?p=1718</guid>
		<description><![CDATA[10x Performance Improvements View more presentations from Ronald Bradford]]></description>
			<content:encoded><![CDATA[<div style="width:425px" id="__ss_3776503"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/ronaldbradford/10x-performance-improvements" title="10x Performance Improvements">10x Performance Improvements</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/3776503" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/ronaldbradford">Ronald Bradford</a> </div>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.techiegyan.com/2011/04/10/10x-performance-improvements-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) &#8211; Buddypress</title>
		<link>http://www.techiegyan.com/2011/03/27/fatal-error-allowed-memory-size-of-33554432-bytes-exhausted-tried-to-allocate-30720-bytes-buddypress/</link>
		<comments>http://www.techiegyan.com/2011/03/27/fatal-error-allowed-memory-size-of-33554432-bytes-exhausted-tried-to-allocate-30720-bytes-buddypress/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 10:27:27 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.techiegyan.com/?p=1694</guid>
		<description><![CDATA[I was trying experiment Buddy press on a new WordPress installation when I encountered this error. Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) Initially, I thought this may be because of some plugin included in Buddy press and tried to uninstall it and then install again then realized [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying experiment Buddy press on a new WordPress installation when I encountered this error. </p>
<blockquote><p>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes)</p></blockquote>
<p>Initially, I thought this may be because of some plugin included in Buddy press and tried to uninstall it and then install again then realized that it may be because some extra configuration required.</p>
<p>I googled the error and found that this is because of configured memory which is less than what is required required at the time of activation of buddy press. I assume this may be because of the fact that buddy press conatin many plugins with in itself. Any other complex or bigger plugin can also produce the same error. </p>
<p><strong>Solution:</strong> Many people suggested on different blogs and forums that setting memory size at wp-config.php can solve this problem but most of them it was not working easily. I think it will also dependent on different types of environments. Some people also suggested to talk to hosting service so that they can configure the php settings accordingly. </p>
<p>I tried to do the same and checked if my hosting service allows me to change php configurations or not. I found php.ini file in my home directory, and after changing the following parameter, i was able to activate buddy press successfully.</p>
<pre class="brush: php; title: ; notranslate">
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60     ; Maximum amount of time each script may spend parsing request data
memory_limit = 64M      ; Maximum amount of memory a script may consume (8MB)
</pre>
<p>I increased the memory_limit from 32M to 64M to resolve my issue.</p>
<p>I think this error may come for every memory intensive job. So you can adjust your php memory configuration accordingly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techiegyan.com/2011/03/27/fatal-error-allowed-memory-size-of-33554432-bytes-exhausted-tried-to-allocate-30720-bytes-buddypress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Always keep your softwares updated</title>
		<link>http://www.techiegyan.com/2011/01/19/always-keep-your-softwares-updated/</link>
		<comments>http://www.techiegyan.com/2011/01/19/always-keep-your-softwares-updated/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 22:52:34 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[problem]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.techiegyan.com/?p=1533</guid>
		<description><![CDATA[Lessen learnt: Always keep your software updated if they are exposed to external world. What has happened: WordPress released a critical update on 29th of December and I missed that. In next couple of days, I received an email from my hosting company that my site is getting used for phishing attack and domain name [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Lessen learnt:</strong> Always keep your software updated if they are exposed to external world. </p>
<p><strong>What has happened: </strong> <a href="http://wordpress.org/news/2010/12/3-0-4-update/" target="_blank">WordPress released a critical update</a> on 29th of December and I missed that. In next couple of days, I received an email from my hosting company that my site is getting used for phishing attack and domain name has been disabled by them.</p>
<p><strong>How I got out of this: </strong> I have been asked to check each and every file to make sure that I had removed all the malicious content from it and then only they enabled the domain. It took me couple of days and in the mean time www.techiegyan.com was not available to users. </p>
<p>My Apologies to users, who could not search content of this website during that duration. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.techiegyan.com/2011/01/19/always-keep-your-softwares-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Server address on page &#8211; Troubleshooting Load Balanced cluster</title>
		<link>http://www.techiegyan.com/2010/10/13/add-server-address-on-page-troubleshooting-load-balanced-cluster/</link>
		<comments>http://www.techiegyan.com/2010/10/13/add-server-address-on-page-troubleshooting-load-balanced-cluster/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 09:29:14 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[debug]]></category>
		<category><![CDATA[identity]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.techiegyan.com/?p=1527</guid>
		<description><![CDATA[It is actually about a trick that can be used in a particular type of environment. When you are running your application in multi-server environment with load balancers enabled to distribute the load, you may require to know which server is serving the request in certain error situations. One very probable scenario is that during [...]]]></description>
			<content:encoded><![CDATA[<p>It is actually about a trick that can be used in a particular type of environment. When you are running your application in multi-server environment with load balancers enabled to distribute the load, you may require to know which server is serving the request in certain error situations.</p>
<p>One very probable scenario is that during the maintenance processes some thing is missed on some server(s). This may cause random issues to the user of the application as requests are distributed and can reach any server.This trick can be used to figure out which server is serving your page. Here i am adding the code which we used recently in our JSP pages to figure it out. </p>
<pre class="brush: java; title: ; notranslate">&lt;%@page import=&quot;java.net.InetAddress;&quot; %&gt;
&lt;%String ip = &quot;&quot;;
  String hostName = &quot;&quot;;
try{
    InetAddress inetAddress = InetAddress.getLocalHost();
    ip = inetAddress.getHostAddress();
	hostName = inetAddress.getHostName();
}catch(Exception e){}
%&gt;
&lt;div style=&quot;display:none;&quot;&gt; Server IP address : &lt;%out.print(ip);%&gt; &lt;br/&gt;
Server Host Name : &lt;%out.print(hostName);%&gt; &lt;br/&gt;
&lt;/div&gt;
</pre>
<p>As you do not want to show this to user, you can add a hidden div element at the end of the page which can contain server address and server name by which you can differentiate servers. This can be accessed by viewing the page source (most of the browsers provide this option on right-click.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techiegyan.com/2010/10/13/add-server-address-on-page-troubleshooting-load-balanced-cluster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix Command Line Productivity Tips</title>
		<link>http://www.techiegyan.com/2010/08/30/unix-command-line-productivity-tips/</link>
		<comments>http://www.techiegyan.com/2010/08/30/unix-command-line-productivity-tips/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 10:57:10 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[editing]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.techiegyan.com/?p=1503</guid>
		<description><![CDATA[Unix Command Line Productivity Tips View more presentations from Keith Bennett.]]></description>
			<content:encoded><![CDATA[<div style="width:425px" id="__ss_429509"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/keithrbennett/unix-command-line-productivity-tips" title="Unix Command Line Productivity Tips">Unix Command Line Productivity Tips</a></strong><object id="__sse429509" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=unixcommandlineproductivitytips-1211839754515159-9&#038;stripped_title=unix-command-line-productivity-tips" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse429509" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=unixcommandlineproductivitytips-1211839754515159-9&#038;stripped_title=unix-command-line-productivity-tips" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/keithrbennett">Keith Bennett</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.techiegyan.com/2010/08/30/unix-command-line-productivity-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

