Operating System - HP-UX
1832780 Members
3027 Online
110045 Solutions
New Discussion

Re: problem running cxperf

 
SOLVED
Go to solution
Umesh chandra
Occasional Advisor

problem running cxperf

on running cxperf i get the following error when i start the executable

" Product error in file, ptyConnect.C on line 69.
Message is: no ptys available for use."

kernel parameters set are

npty 200
nstrpty 200

Pls help in this regard.

Thanks in advanced
UCG
3 REPLIES 3
U.SivaKumar_2
Honored Contributor
Solution

Re: problem running cxperf

Hi,

Increase the kernel parameter npty to 400 thru SAM.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Umesh chandra
Occasional Advisor

Re: problem running cxperf

Hi Shiva,

I will increase the parameter to 400 at a suitable downtime. Any particular reason to increase it to 400. The reason i am asking is , that when i do who -u |grep wc -l i get 140 to 180 during the day, but the problem is consistently occurs in any case.

How can i find out exact number of pty's being used.?

I increased the pseudo device files to 300 using
insf -n 300 -C pseudo. Is this effective from now, i.e without kernel rebuild.

Thanks and regards
Ashish
UCG
T G Manikandan
Honored Contributor

Re: problem running cxperf

First you have to rebuild the kernel and then create the additional ptys using

#insf -e

Yes you are running out of pty devices.

you can just use w|wc -l to find out the used pty number