Operating System - HP-UX
1824984 Members
3567 Online
109678 Solutions
New Discussion юеВ

"telnetd[18284]: getpid: peer died: Error 0"

 
SOLVED
Go to solution
Sandeep_2
Occasional Advisor

"telnetd[18284]: getpid: peer died: Error 0"

Hi Admins,

I have N4000 server with HP-UX V11:00, 64 bit installed on it. User are getting disconnected randomly. After investigating, I found that /var/adm/syslog/syslog.log contains the error "telnetd[18284]: getpid: peer died: Error 0 "
This is newly installed server & latest patch bundle is applied on that server.

I don't know what is causing this problem.

Thanks,
Sandeep.
Sandeep
7 REPLIES 7
Rita C Workman
Honored Contributor
Solution

Re: "telnetd[18284]: getpid: peer died: Error 0"

Well, since you are already covered for latest patches...

What do you have ntpy and nstrpty set to in your kernel?
You may need to increase these. They take very little memory...so don't worry there. I think the default is something like 60 or 90.
On my systems I have it set to 800....

Just a thought,
James R. Ferguson
Acclaimed Contributor

Re: "telnetd[18284]: getpid: peer died: Error 0"

Hi:

Modify (regenerate) your kernel parmeters as follows:

npty 400
nstrpty 400
nstrtels 400

...JRF...
Sandeep_2
Occasional Advisor

Re: "telnetd[18284]: getpid: peer died: Error 0"

Hi,

I have already set the npty, nstrpty & nstrtels to 400. But the problem still continues.

Thanks,
Sandeep.
Sandeep
Timothy Czarnik
Esteemed Contributor

Re: "telnetd[18284]: getpid: peer died: Error 0"

Sandeep,

This is a longshot, but if you have the shell environment variable TMOUT set, after the specified period of inactivity the login will terminate automatically.

Can you check to see if you are setting the TMOUT variable anywhere in your profiles, or if it is somehow getting set somewhere else?

Hope this helps!

-Tim


Hey! Who turned out the lights!
Sandeep_2
Occasional Advisor

Re: "telnetd[18284]: getpid: peer died: Error 0"

Hi all,

The TMOUT is set to 0 for all users.


Thanks,
Sandeep.
Sandeep
Timothy Czarnik
Esteemed Contributor

Re: "telnetd[18284]: getpid: peer died: Error 0"

Sandeep,

I've not used the TMOUT variable, so I don't know if setting this to 0 means to timeout after 0 seconds of inactivity or to not timeout at all.

If it were me, and the TMOUT variable is set to 0 (meaning you don't want to use it), I'd get rid of it in the profiles altogether and see if it makes a difference.

-Tim
Hey! Who turned out the lights!
Kofi ARTHIABAH
Honored Contributor

Re: "telnetd[18284]: getpid: peer died: Error 0"

Are your users going through some sort of firewall? because if they are then its possible that they are being dropped on TCP expiration.

The was a posting a couple of months ago,
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xedba119c3420d411b66300108302854d,00.html

but that pointed to the ARPA patch installation.

nothing wrong with me that a few lines of code cannot fix!