<?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>communication channel &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/communication-channel/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Sat, 14 May 2011 10:46:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How To Increase The Number Of PTY (Pseudo-Terminal Driver)</title>
		<link>https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/</link>
					<comments>https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Sat, 14 May 2011 10:27:31 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[cat command]]></category>
		<category><![CDATA[character devices]]></category>
		<category><![CDATA[communication channel]]></category>
		<category><![CDATA[kernel configuration]]></category>
		<category><![CDATA[linux installation]]></category>
		<category><![CDATA[login sessions]]></category>
		<category><![CDATA[master slave]]></category>
		<category><![CDATA[maximum number]]></category>
		<category><![CDATA[pseudo terminal]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sysctl command]]></category>
		<category><![CDATA[vi command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=488</guid>

					<description><![CDATA[<p>What is PTY? A pseudo-terminal (PTY) is a pair of virtual character devices that provide a bidirectional communication channel. One end of the channel is called the master; the other end is called the slave. The slave end of the pseudo-terminal provides an interface that behaves exactly like a classical terminal. A process that expects [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/">How To Increase The Number Of PTY (Pseudo-Terminal Driver)</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><h3>What is PTY?</h3>
<p>A <strong>pseudo-terminal</strong> (PTY) is a pair of virtual character devices that provide a bidirectional communication channel. One end of the channel is called the master; the other end is called the slave. The slave end of the pseudo-terminal provides an interface that behaves exactly like a classical terminal. A process that expects to be connected to a terminal, can open the slave end of a pseudo-terminal and then be driven by a program that has opened the master end. Anything that is written on the master end is provided to the process on the slave end as though it was input typed on a terminal.<span id="more-488"></span></p>
<h3>Check maximum number of PTY</h3>
<p>Login as root and type the following command</p>
<pre>
[root@lifelinux ~]# cat /proc/sys/kernel/pty/max
</pre>
<p>Sample output</p>
<pre>
4096
</pre>
<h3>Increase the maximum number of PTY temporarily</h3>
<p>If you need to increase the PTYs to allow more sessions temporarily. Type the following command</p>
<pre>
[root@lifelinux ~]# echo 5000 > /proc/sys/kernel/pty/max
</pre>
<p>The setting is changed instantly but this setting will be erased after the reboot.</p>
<h3>Increase the maximum number of PTY permanently</h3>
<p>Edit kernel configuration file at /etc/sysctl.conf, enter</p>
<pre>
[root@lifelinux ~]# vi /etc/sysctl.conf
</pre>
<p>Add or edit following config directive</p>
<pre>
kernel.pty.max = 5000
</pre>
<p>To enable the changes made in sysctl.conf you will need to run the command</p>
<pre>
[root@lifelinux ~]# sysctl -p
</pre>
<g:plusone href="https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/">How To Increase The Number Of PTY (Pseudo-Terminal Driver)</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
