1820072 Members
2683 Online
109608 Solutions
New Discussion

Putty fatal error

 
SOLVED
Go to solution
coollllllllllll
Regular Advisor

Putty fatal error

Hi ,

 

am getting these below message for one of my server hpux 11i v2 only ;

 

Putty fatal error ; out of memory and the session simple disconnects.

 

 

i do have in my login script something which checks for a user , only if hes allowed then allows him to login in.

 

Is that causing this problem ????

 

16 REPLIES 16
Dennis Handly
Acclaimed Contributor

Re: Putty fatal error

>Putty fatal error ; out of memory

 

Is this a putty error or is putty simply echoing it?

Are you out of swap or heap space?  Where are you running putty?

coollllllllllll
Regular Advisor

Re: Putty fatal error

Hi Dennis ,

 

PFA putty error.

We take a remote session of a windows machine wherein from which we login through putty on one of this server.

The server physical memory is 99% used , but swap around 85% only.

 

the session simply disconnects and we are left with no option then to restart everything that we had done.

 

 

Dennis Handly
Acclaimed Contributor

Re: Putty fatal error

>We take a remote session of a windows machine

 

Looks like something is wrong with your windows box or putty.

coollllllllllll
Regular Advisor

Re: Putty fatal error

Hi Dennis,

 

I Need to upgrade putty or any windows bug known if any ??

Dennis Handly
Acclaimed Contributor

Re: Putty fatal error

>I need to upgrade putty?

 

I'm using 0.62.

I have connections that drop all of the time when idle but not with "out of memory" and I'm inclined to blame the server, network or IT?

coollllllllllll
Regular Advisor

Re: Putty fatal error

Hi Dennis ,

 

By server are you referring to this point menitoned in this link below;

 

http://h30499.www3.hp.com/t5/Security/PuTTY-Fatal-Error-Message-Box-using-SSH/td-p/4208970

 

By

Dennis Handly
Acclaimed Contributor

Re: Putty fatal error

>By server are you referring to this point mentioned in this link below

 

I don't think it's the same message, I'll have to remember it next time.

I can always login to my Linux servers, so it isn't this login check.

 

The putty error I get is:

Network error:  Software caused connection abort

 

I'm also using ssh, are you?

coollllllllllll
Regular Advisor

Re: Putty fatal error

Hi Dennis,

 

 

Yaa we are also using ssh.

 

Just now am being updated that its been observed for 2 more servers too.

So now total 3 servers.

 

 

the same ,

"out of memory" putty  message.

Dennis Handly
Acclaimed Contributor

Re: Putty fatal error

>So now total 3 servers.

 

From the same PC?

coollllllllllll
Regular Advisor

Re: Putty fatal error

Yaa from the same machine.
Dennis Handly
Acclaimed Contributor
Solution

Re: Putty fatal error

>Yaa from the same machine.

 

Perhaps you need to restart it?

Task manager says my putty.exe is only taking 3.8 to 4.5 MB each.

How many scroll lines to you have?

coollllllllllll
Regular Advisor

Re: Putty fatal error

Hi Dennis,

 

 

Scroll lines size is 2000000000

 

Patrick Wallek
Honored Contributor

Re: Putty fatal error

>>Scroll lines size is 2000000000

 

You're really trying to keep 2 BILLION lines in the scroll back buffer?  That seems very excessive and, depending on how many lines you are actually storing in the buffer for each terminal, possibly the reason you are getting out memory errors.

 

I would try setting that value to something much more reasonable, like 10000, and see what happens.

coollllllllllll
Regular Advisor

Re: Putty fatal error

Hi Patrick ,

 

What can be the max permissible size ? 

Because sometimes we need to refer above lines , during our batch job sessions  every night.

 

Dennis Handly
Acclaimed Contributor

Re: Putty fatal error

>What can be the max permissible size?

 

It depends on the number of putty sessions and how many lines are saved.

Have you looked at putty.exe in Task Manager to see how much memory is being used?

 

(Of course if the lines are saved in a file, then the size won't matter for memory usage, depending how window scrolling works?)

 

>Because sometimes we need to refer above lines, during our batch job sessions every night.

 

Batch jobs typically don't go to a session stdout/stderr, they go to a file.  If in a file, you can use your favorite editor to look at them.

 

Or you could use script(1) to record everything in a file and then cut the scroll lines to a smaller value.

 

Oh, putty also has logging.

coollllllllllll
Regular Advisor

Re: Putty fatal error

Hi Dennis and Patrick ,

 

Thanks scroll lines was the culprit.

Reduced to 200000 now , until now all fine.