Putty Window inactive after certain time
I am currently processing on a server. I am using Putty to do this. As I am running multiple processes (8), I am using multiple cores as well.
After a certain time (2-3 days) I get an error saying:
PuTTY Network Error: Software caused connection abort.
Then my Putty window's status turns to inactive.
Here are my questions:
- Where does this come from?
- As most of my files have been processed, is it possible to reactivate Putty in order to continue the processing?
linux networking ssh putty
add a comment |
I am currently processing on a server. I am using Putty to do this. As I am running multiple processes (8), I am using multiple cores as well.
After a certain time (2-3 days) I get an error saying:
PuTTY Network Error: Software caused connection abort.
Then my Putty window's status turns to inactive.
Here are my questions:
- Where does this come from?
- As most of my files have been processed, is it possible to reactivate Putty in order to continue the processing?
linux networking ssh putty
1
Sounds like that might be some kind of memory problem. Do you have the latest version of PuTTY? On the server side, can you use TMUX or SCREEN? BYOB is an excellent front end for both. This enables your server session to remain active even when you loose network connections and is strongly recommended for running extended scripts on the server.
– Julian Knight
Jun 22 '15 at 8:14
2
For some reason ssh session was terminated (network error, computer reboot, nat session timeout, firewall session tracking timeout etc.)
– Dan
Jun 22 '15 at 9:33
I'd run a ping window in parallel, set it to ping an infinite number of packets. When your putty is interrupted, stop your ping and look at the stats. I'm willing to bet you'll see some packet loss. It sounds like the connection is just being interrupted.
– James T Snell
Jun 22 '15 at 16:17
Your network connection could drop or your DHCP lease address change. Something could've killed the process on the other end, like people say systemd does. I've only seen it when working from here at home and I have a low grade dsl connection that always gets a new IP on DHCP renew and renews several times a day, without a pattern...
– ivanivan
Aug 5 at 0:55
add a comment |
I am currently processing on a server. I am using Putty to do this. As I am running multiple processes (8), I am using multiple cores as well.
After a certain time (2-3 days) I get an error saying:
PuTTY Network Error: Software caused connection abort.
Then my Putty window's status turns to inactive.
Here are my questions:
- Where does this come from?
- As most of my files have been processed, is it possible to reactivate Putty in order to continue the processing?
linux networking ssh putty
I am currently processing on a server. I am using Putty to do this. As I am running multiple processes (8), I am using multiple cores as well.
After a certain time (2-3 days) I get an error saying:
PuTTY Network Error: Software caused connection abort.
Then my Putty window's status turns to inactive.
Here are my questions:
- Where does this come from?
- As most of my files have been processed, is it possible to reactivate Putty in order to continue the processing?
linux networking ssh putty
linux networking ssh putty
edited Dec 13 '15 at 20:21
Hennes
58.8k792141
58.8k792141
asked Jun 22 '15 at 5:03
user28724
111
111
1
Sounds like that might be some kind of memory problem. Do you have the latest version of PuTTY? On the server side, can you use TMUX or SCREEN? BYOB is an excellent front end for both. This enables your server session to remain active even when you loose network connections and is strongly recommended for running extended scripts on the server.
– Julian Knight
Jun 22 '15 at 8:14
2
For some reason ssh session was terminated (network error, computer reboot, nat session timeout, firewall session tracking timeout etc.)
– Dan
Jun 22 '15 at 9:33
I'd run a ping window in parallel, set it to ping an infinite number of packets. When your putty is interrupted, stop your ping and look at the stats. I'm willing to bet you'll see some packet loss. It sounds like the connection is just being interrupted.
– James T Snell
Jun 22 '15 at 16:17
Your network connection could drop or your DHCP lease address change. Something could've killed the process on the other end, like people say systemd does. I've only seen it when working from here at home and I have a low grade dsl connection that always gets a new IP on DHCP renew and renews several times a day, without a pattern...
– ivanivan
Aug 5 at 0:55
add a comment |
1
Sounds like that might be some kind of memory problem. Do you have the latest version of PuTTY? On the server side, can you use TMUX or SCREEN? BYOB is an excellent front end for both. This enables your server session to remain active even when you loose network connections and is strongly recommended for running extended scripts on the server.
– Julian Knight
Jun 22 '15 at 8:14
2
For some reason ssh session was terminated (network error, computer reboot, nat session timeout, firewall session tracking timeout etc.)
– Dan
Jun 22 '15 at 9:33
I'd run a ping window in parallel, set it to ping an infinite number of packets. When your putty is interrupted, stop your ping and look at the stats. I'm willing to bet you'll see some packet loss. It sounds like the connection is just being interrupted.
– James T Snell
Jun 22 '15 at 16:17
Your network connection could drop or your DHCP lease address change. Something could've killed the process on the other end, like people say systemd does. I've only seen it when working from here at home and I have a low grade dsl connection that always gets a new IP on DHCP renew and renews several times a day, without a pattern...
– ivanivan
Aug 5 at 0:55
1
1
Sounds like that might be some kind of memory problem. Do you have the latest version of PuTTY? On the server side, can you use TMUX or SCREEN? BYOB is an excellent front end for both. This enables your server session to remain active even when you loose network connections and is strongly recommended for running extended scripts on the server.
– Julian Knight
Jun 22 '15 at 8:14
Sounds like that might be some kind of memory problem. Do you have the latest version of PuTTY? On the server side, can you use TMUX or SCREEN? BYOB is an excellent front end for both. This enables your server session to remain active even when you loose network connections and is strongly recommended for running extended scripts on the server.
– Julian Knight
Jun 22 '15 at 8:14
2
2
For some reason ssh session was terminated (network error, computer reboot, nat session timeout, firewall session tracking timeout etc.)
– Dan
Jun 22 '15 at 9:33
For some reason ssh session was terminated (network error, computer reboot, nat session timeout, firewall session tracking timeout etc.)
– Dan
Jun 22 '15 at 9:33
I'd run a ping window in parallel, set it to ping an infinite number of packets. When your putty is interrupted, stop your ping and look at the stats. I'm willing to bet you'll see some packet loss. It sounds like the connection is just being interrupted.
– James T Snell
Jun 22 '15 at 16:17
I'd run a ping window in parallel, set it to ping an infinite number of packets. When your putty is interrupted, stop your ping and look at the stats. I'm willing to bet you'll see some packet loss. It sounds like the connection is just being interrupted.
– James T Snell
Jun 22 '15 at 16:17
Your network connection could drop or your DHCP lease address change. Something could've killed the process on the other end, like people say systemd does. I've only seen it when working from here at home and I have a low grade dsl connection that always gets a new IP on DHCP renew and renews several times a day, without a pattern...
– ivanivan
Aug 5 at 0:55
Your network connection could drop or your DHCP lease address change. Something could've killed the process on the other end, like people say systemd does. I've only seen it when working from here at home and I have a low grade dsl connection that always gets a new IP on DHCP renew and renews several times a day, without a pattern...
– ivanivan
Aug 5 at 0:55
add a comment |
1 Answer
1
active
oldest
votes
Have you tried enabling KeepAlive in Putty?
http://www.nth-design.com/2010/05/10/using-keepalive-in-putty/
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f930844%2fputty-window-inactive-after-certain-time%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Have you tried enabling KeepAlive in Putty?
http://www.nth-design.com/2010/05/10/using-keepalive-in-putty/
add a comment |
Have you tried enabling KeepAlive in Putty?
http://www.nth-design.com/2010/05/10/using-keepalive-in-putty/
add a comment |
Have you tried enabling KeepAlive in Putty?
http://www.nth-design.com/2010/05/10/using-keepalive-in-putty/
Have you tried enabling KeepAlive in Putty?
http://www.nth-design.com/2010/05/10/using-keepalive-in-putty/
answered Jun 24 '15 at 5:40
teikjoon
1597
1597
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f930844%2fputty-window-inactive-after-certain-time%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Sounds like that might be some kind of memory problem. Do you have the latest version of PuTTY? On the server side, can you use TMUX or SCREEN? BYOB is an excellent front end for both. This enables your server session to remain active even when you loose network connections and is strongly recommended for running extended scripts on the server.
– Julian Knight
Jun 22 '15 at 8:14
2
For some reason ssh session was terminated (network error, computer reboot, nat session timeout, firewall session tracking timeout etc.)
– Dan
Jun 22 '15 at 9:33
I'd run a ping window in parallel, set it to ping an infinite number of packets. When your putty is interrupted, stop your ping and look at the stats. I'm willing to bet you'll see some packet loss. It sounds like the connection is just being interrupted.
– James T Snell
Jun 22 '15 at 16:17
Your network connection could drop or your DHCP lease address change. Something could've killed the process on the other end, like people say systemd does. I've only seen it when working from here at home and I have a low grade dsl connection that always gets a new IP on DHCP renew and renews several times a day, without a pattern...
– ivanivan
Aug 5 at 0:55