<?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>Slow Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/slow/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/slow/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:52:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>If a linux-build-server suddenly starts getting slow, what would you check?</title>
		<link>https://www.scmgalaxy.com/tutorials/if-a-linux-build-server-suddenly-starts-getting-slow-what-would-you-check/</link>
					<comments>https://www.scmgalaxy.com/tutorials/if-a-linux-build-server-suddenly-starts-getting-slow-what-would-you-check/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 03 Feb 2015 00:00:00 +0000</pubDate>
				<category><![CDATA[Unix - Linux]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Build server]]></category>
		<category><![CDATA[Check]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux build server Guide]]></category>
		<category><![CDATA[Linux build server issue]]></category>
		<category><![CDATA[Linux build server problem]]></category>
		<category><![CDATA[Linux build server troubleshooting]]></category>
		<category><![CDATA[Linux build server Tutorial]]></category>
		<category><![CDATA[Linux-build-server]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Resolve]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Slow]]></category>
		<category><![CDATA[Troubleshoot]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/02/03/if-a-linux-build-server-suddenly-starts-getting-slow-what-would-you-check/</guid>

					<description><![CDATA[<p>If a linux-build-server suddenly starts getting slow, I would divide my approach / troubleshooting into 3 section as follows; 1. System [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/if-a-linux-build-server-suddenly-starts-getting-slow-what-would-you-check/">If a linux-build-server suddenly starts getting slow, what would you check?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img fetchpriority="high" decoding="async" class="size-full wp-image-3530 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/02/linux-build-server.png" alt="linux-build-server" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/02/linux-build-server.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/02/linux-build-server-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></h3>
<h3 class="Default">If a linux-build-server suddenly starts getting slow, I would divide my approach / troubleshooting into 3 section as follows;</h3>
<p class="Default"><span style="font-size: 11.0pt;">1. System Level troubleshooting </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">a. RAM related issues </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">b. Disk Space related Issues </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">c. Disk I/O read write issues </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">d. Network Hardware issues </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">e. Mount issues </span></p>
<p class="Default" style="margin-left: .5in;"><span style="font-size: 11.0pt;">f. Too Many process running in the machine </span></p>
<p class="Default"><span style="font-size: 11.0pt;">2. Application Level troubleshooting </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">a. Application is not behaving properly. Hit to Application log file OR application server log file OR web server Log file and try to understand the issues. </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">b. zombie process issues – Find out if any as such process which is causing the system performance issues. </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">c. Application Log – depends on the application installed, this can be referred and make use of the experience with the project and troubleshoot. </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">d. Web Server Log – we can check http, tomcat log as well. </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">e. Application Server Log – We can see jboss, weblogic logs to see if the application server response/receive time is the issues for slowness. </span></p>
<p class="Default" style="margin-left: .5in;"><span style="font-size: 11.0pt;">f. Memory Leak of any application – This is one of well known issues in lunux based server due to bad application coding. Many times this can be resolved either by fixing the code or rebooting. But many other solutions are there to apply. </span></p>
<p class="Default"><span style="font-size: 11.0pt;">3. Dependent Services troubleshooting </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">a. SMTP Response time – SMTP server is not responding faster which is causing delay in response and queue up many processes. </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">b. Network issues – There are many System performance issues is dependent on network or service which is depends on the network. </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">c. Firewall related issues </span></p>
<p class="Default" style="margin-left: .5in;"><span style="font-size: 11.0pt;">d. Antivirus related issues<br />
</span></p>
<p class="Default"> <b><span style="font-size: 11.0pt;">Some of the useful commands for troubleshooting are..</span></b></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">1. df –k </span></p>
<p class="Default" style="margin-left: .5in;"><span style="font-size: 11.0pt;">2. du –sh </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">3. top </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">4. uptime </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">5. ps –eaf | grep </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">6. vmstat </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">7. ping </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">8. tail –f &lt;logfile&gt; </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">9. iostat </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">10.free </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">11.kill -9 </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">12.mount </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">13.sar </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">14.ifconfig eth0 | enable | disable </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">15.traceroute </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">16.netstat -r </span></p>
<p class="Default" style="margin: 0in 0in .95pt .5in;"><span style="font-size: 11.0pt;">17.nslookup </span></p>
<p class="Default" style="margin-left: .5in;"><span style="font-size: 11.0pt;">18.route </span></p>
<p>   There are various options available for each commands and depends on the need during the troubleshooting, right commands can be applied. To find arguments and their explanation, I usually refer google.com rather than man page.</p>
<p class="MsoNormal">
<p>The post <a href="https://www.scmgalaxy.com/tutorials/if-a-linux-build-server-suddenly-starts-getting-slow-what-would-you-check/">If a linux-build-server suddenly starts getting slow, what would you check?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/if-a-linux-build-server-suddenly-starts-getting-slow-what-would-you-check/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Perforce Slow Sync issues &#124; Perforce Slow Sync Troubleshooting Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/perforce-slow-sync-issues/</link>
					<comments>https://www.scmgalaxy.com/tutorials/perforce-slow-sync-issues/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 23 Apr 2012 07:19:51 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[issues.]]></category>
		<category><![CDATA[p4]]></category>
		<category><![CDATA[Perforce Slow Sync]]></category>
		<category><![CDATA[Perforce Slow Sync Issue]]></category>
		<category><![CDATA[Perforce Slow Sync problem]]></category>
		<category><![CDATA[Perforce Slow Sync Troubleshooting]]></category>
		<category><![CDATA[Perforce Slow Sync Troubleshooting Guide]]></category>
		<category><![CDATA[Perforce Troubleshooting]]></category>
		<category><![CDATA[Perforce Troubleshooting Guide]]></category>
		<category><![CDATA[Problems]]></category>
		<category><![CDATA[Resolve]]></category>
		<category><![CDATA[Slow]]></category>
		<category><![CDATA[Slow Sync]]></category>
		<category><![CDATA[sync]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2012/04/23/perforce-slow-sync-issues/</guid>

					<description><![CDATA[<p>Perforce Slow Sync issues Network latency Sync Performance issues are not obvious with locally connected hosts, as the network latency [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/perforce-slow-sync-issues/">Perforce Slow Sync issues | Perforce Slow Sync Troubleshooting Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-3840 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/04/perforce-slow-sync-issues.png" alt="perforce-slow-sync-issues" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/04/perforce-slow-sync-issues.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/04/perforce-slow-sync-issues-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><strong>Perforce Slow Sync issues</strong></p>
<p><strong>Network latency</strong><br />
Sync Performance issues are not obvious with locally connected hosts, as the network latency is low. However, as latency increases, performance worsens.</p>
<p>To correct the issue, follow these steps on the client machines exhibiting the issue:<br />
<a href="http://kb.perforce.com/article/1191/slow-sync-on-remote-windows-clients" target="_blank" rel="noopener">http://kb.perforce.com/article/1191/slow-sync-on-remote-windows-clients</a></p>
<p><strong>Network problems: </strong><br />
How do I determine if slow Perforce response time is caused by network problems?</p>
<p>A network issue can be suspected if Perforce commands run quickly on the local machine but run slowly across a network. You can also compare the lapse time against the usage time, for example, if the information is available in the Perforce logs.</p>
<p>Any of the following can cause slow responses:</p>
<ol>
<li>Misconfigured domain name server (DNS)</li>
<li>Misconfigured Windows name server (WINS) or Windows domain</li>
<li>Slow network response</li>
</ol>
<p><strong>1. p4 info</strong></p>
<p>A good initial test is to run the p4 info command. If this command does not respond nearly immediately then there is a network related problem.<br />
The p4 info command uses the P4PORT setting to contact the Perforce Server. If the P4PORT setting uses the hostname of the server machine, a DNS lookup is required to fetch the server IP address. If the DNS server is failing or the network is slow, the lookup process takes time. You can use the IP address directly to avoid the DNS lookup.</p>
<p><strong>2. Hostname vs. IP Address</strong><br />
On a client machine, try using the Perforce Server&#8217;s IP address in the P4PORT setting. This avoids the DNS lookup used to convert the hostname to an IP address. Here is a P4PORT example which uses the server hostname:</p>
<p>P4PORT=hostname:1666<br />
Using the IP address directly, the P4PORT setting then looks like this:</p>
<p>P4PORT=1.2.3.4:1666</p>
<p>If you do not have the Perforce Server machine&#8217;s IP address handy, you can use the ping command to find it. Here is an example of how you would run the ping command:</p>
<p><strong>3. ping hostnam</strong></p>
<p>The output of the ping command lists the IP address for the hostname.</p>
<p>If the p4 info command responds immediately when you use the IP address in the P4PORT setting, you have a misconfigured DNS.</p>
<p>&#8220;p4 info&#8221; vs. P4Win</p>
<p>The p4 info command is processed by the Perforce Server. As the Perforce Server compiles the output information for the command, it does a reverse DNS lookup on the client&#8217;s IP address. A forward DNS lookup might be fast, while a reverse DNS lookup is slow. One way to determine if a reverse DNS lookup is slow is by using P4Win, the Perforce Visual Client. The &#8220;Show Connection Info&#8221; operation in P4Win does not perform a reverse DNS lookup.</p>
<p>You can compare the response of P4Win&#8217;s &#8220;Show Connection Info&#8221; with the response from the command line p4 info. If a &#8220;Show Connection Info&#8221; operation is fast while a p4 info is slow, there is a reverse DNS lookup problem on the Perforce Server machine.</p>
<p><strong>4. The &#8220;hosts&#8221; file</strong></p>
<p>To work around DNS problems, add hostname IP address entries to the hosts file. This task is typically performed by a Systems Administrator; be sure to follow your company&#8217;s standard procedures.</p>
<p>Rather than using an IP address for the P4PORT setting, you can add a hostname IP address entry in your hosts file. The host file can be tricky to find. Here are a few places it can be:</p>
<p>Windows Server 2000 (and later):</p>
<p>C:\Winnt\System32\Drivers\etc\hosts</p>
<p>Unix:</p>
<p>/etc/hosts</p>
<p>The following is an example entry for the hosts file:</p>
<p>1.2.3.4 hostname</p>
<p>If you have determined there is a reverse DNS problem, you need to add an entry for your client hostname in the machine&#8217;s hosts file where the Perforce Server resides.</p>
<p><strong>5. Wildcards on Windows</strong></p>
<p>In some cases, p4 commands using unquoted file patterns with a combination of depot syntax or client syntax and wildcards can cause delays.</p>
<p>p4 files //depot/*</p>
<p>p4 files //client/*</p>
<p>The delay occurs because the wild card expansion routines for Windows mistakes the depot name or client name for a network system name. You can prevent the delay by putting double quotes around the file pattern:</p>
<p>p4 files &#8220;//depot/*&#8221;</p>
<p>Network Topology</p>
<p>Most networks use 100 Mbit technology. The maximum theoretical transfer rate of this type of network is 10 Mbytes per second. In most cases slower transfer rates are experienced. If a network is saturated, transfer rates can drop off significantly, maybe as low as 4 Mbytes per second. In cases of network saturation use of network routers or switches can help.</p>
<p><strong>6. Client on a Network Filesystem</strong></p>
<p>It is possible that the p4 executable itself is on a networked file system that is performing very poorly. To check for slow access to the executable, try running:</p>
<p>p4 -v</p>
<p>The p4 -v command simply prints out the version information and does not attempt to access the network. If you get a slow response, network access to the p4 executable itself may be the problem. Try copying or downloading the p4 executable onto a local filesystem.</p>
<p><strong>7. Server on a Network Filesystem</strong></p>
<p>Using a network filesystem for the Perforce Server must be thought through very carefully. Just as in the scenario above with the Perforce client stored on a network filesystem, data to and from the server application must go through the network twice. The Perforce Server also uses file locking on vital data files. Not all network filesystems have efficient locking implementations and some are buggy.</p>
<p>If the network is saturated and the transfer rate is down to about 4 Mbytes per second, the Perforce Server cannot satisfy client requests. Each client request uses part of the network, and the Perforce Server must share that resource in order to access the network filesystem. A cheap hard drive these days will provide a 20 Mbyte per second transfer rate. A good SCSI hard drive can transfer as much as 160 Mbytes per second. If possible, try to avoid a network filesystem related server bottle neck.</p>
<p>Try and play with &#8220;p4 ping&#8221; by progressively increasing the message count, receive and transmit lengths (one at a time). If you hit the same wall repeatedly, then this could very well be indicative of some throttling taking place somewhere</p>
<p><strong>8. p4 -z tag info</strong></p>
<p><strong>9. Reference.</strong></p>
<p><a href="http://kb.perforce.com/article/40/isolating-network-problems" target="_blank" rel="noopener">http://kb.perforce.com/article/40/isolating-network-problems</a><br />
<a href="http://kb.perforce.com/article/40/isolating-network-problems" target="_blank" rel="noopener">http://kb.perforce.com/article/1191/slow-sync-on-remote-windows-clients</a><br />
<a href="http://kb.perforce.com/article/1462/slow-sync-performance-on-windows" target="_blank" rel="noopener">http://kb.perforce.com/article/1462/slow-sync-performance-on-windows</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/perforce-slow-sync-issues/">Perforce Slow Sync issues | Perforce Slow Sync Troubleshooting Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/perforce-slow-sync-issues/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
