- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with PTY allocation
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 02:24 PM
тАО06-18-2003 02:24 PM
Re: Problem with PTY allocation
If you look at the /dev/pts directory you will see that some of the devices are owned by root:sys and some of them are owned by the users. The pty's those are not used those will show you as root:sys, others are in use. In my system I could see that there are around 57/58 devices are there which is in use by some user. But when I am giving ps command I couldn't find those pty's.
By the fuser command I couldn't find any of them in use. I have looked through "last|grep still" command also. but I couldn't found any of them.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 03:41 PM
тАО06-18-2003 03:41 PM
Re: Problem with PTY allocation
If there are rlogind or other master side processes holding /dev/ptmx open, then they could be keep the slave sides of the ptys busy even though no process has the slave side open.
That would fit the FINWAIT problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 09:57 PM
тАО06-18-2003 09:57 PM
Re: Problem with PTY allocation
If you have glance then
#glance -t will show the used npty numbers.
You can also donload lsof to monitor the process being used.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2003 01:47 PM
тАО06-19-2003 01:47 PM
Re: Problem with PTY allocation
It is not showing anything on /dev/ptmx.
Animesh,
It is showing available=60 and used=2. HP is also looking at the problem. The problem is that once it is allocating one terminal it is not releasing from the kernel when the users are getting out of the system.
So, how is life in Singapore? Everybody is fine over there?
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2003 07:47 AM
тАО06-23-2003 07:47 AM
Re: Problem with PTY allocation
| that some of the devices are owned by root:sys and
| some of them are owned by the users. The pty's
| those are not used those will show you as
| root:sys, others are in use. In my system I could
| see that there are around 57/58 devices are there
| which is in use by some user. But when I am
| giving ps command I couldn't find those pty's.
The ownership of /dev/pts/* files does not indicate whether they are currently in use. The ownership is often set when a stream pty starts to be used. There is no convention of changing the ownership when the pty is no longer in use. (The grantpt() function runs the /usr/lbin/chgpt program to give ownership to the current user of the pty.)
Perhaps you are looking at the system when the problem is not occuring at all. You may have to wait for an "Unable to allocate pty" message before you run the fuser command to look for the cause of the trouble.
- « Previous
-
- 1
- 2
- Next »