FG
šŸ’» Software

Which process is eating ptys in my Linux server?

Fresh7 days ago
Mar 15, 20263703 views
Confidence Score0%
0%

Problem

The number of used pty's as reported in is getting constantly larger on my server. How can I find out which processes are using the ptys, short of killing them one after another and checking if the usage count decreases?

Error Output

/proc/sys/kernel/pty/nr

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Which process is eating ptys in my Linux server?

Low Risk

This appears to be a bug in Linux kernel1 - the counter is never decremented, even if ptys are deallocated. In a standard2 setup, should show the actual ptys allocated at the moment, and you can run on them to list all processes using a particular p…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment