Date: Thu, 17 Jul 2008 21:14:18 -0700 (PDT) From: Unga <unga888@yahoo.com> To: freebsd-questions@freebsd.org Subject: pseudoterminals question Message-ID: <962284.60629.qm@web57015.mail.re3.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi I'm experiencing "The system has no more ptys. Ask your system administrator to create more.". Well, I'm the system administrator, don't know what to do :) I want to understand more about ptys in FreeBSD. I have following questions. ls -l /dev/ | grep pty crw-rw-rw- 1 root wheel 0, 169 Jul 18 10:34 ptyp0 crw-rw-rw- 1 root wheel 0, 171 Jul 18 11:21 ptyp1 crw-rw-rw- 1 root wheel 0, 178 Jul 18 11:13 ptyp2 crw-rw-rw- 1 root wheel 0, 180 Jul 18 10:34 ptyp3 crw-rw-rw- 1 root wheel 0, 182 Jul 18 11:19 ptyp4 1) That is, I have only 5 ptys, am I right? 2) As per FAQ, http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html: "10.19.1 Build and install a new kernel with the line in the configuration file: device pty N where N is the number of requested pseudoterminals." I'm using FreeBSD 7.0, its GENERIC file has only "device pty", no N. What is the default for N, is it 5? 3) Is there a way to increase the number of ptys without rebuild the kernel? Appreciate your reply. Kind regards Unga
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?962284.60629.qm>