Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I do not know if this is a common problem. I have a virtual machine hosted on Hyper-V that has Fedora 16 installed on it.
After a fresh reboot, I am able to SSH/FTP into this server. However, after about say 3 - 5 hours, the SSH consistently times out. Same goes for FTP as well. Then I would have no choice but to reboot the virtual machine. This is just inefficient.
Currently I have a scheduled reboot for the server to happen during off-hours, but it's not a permanent enough fix for if the server goes down during work hours. Is there any way for me to diagnose what is wrong, and how to fix it?
hi, something not clear here
// after about say 3 - 5 hours, the SSH consistently times out. //
is this mean
1) after 3 or 5 hours you cannot make ssh to the machine
or
2) after 3 or 5 hours your hanging ssh connection disconnect you?
if no 1 . is your machine is dead ?
if no 2 - there is a "keepalive" function in ssh config file you need to enable it
After 3 to 5 hours, nobody can SSH into the machine anymore. I don't leave SSH connections running for 3 - 5 hours straight (maybe I could try?)
I can access the machine via Hyper-V console, and it works fine (ie. listing files, using vim), and seems pretty responsive. Trying to SSH into that server then however, always causes timeouts (ie. via PuTTy). Same for FTP. Websites hosted on this server become inaccessible as well.
ok my suggestion, once you can log in,
try update all the software and kernel, also dont forget to check grub.conf
then reboot the server, once up again the check the running kernel make sure its latest,
also can look at the log file
if happen again, i think you better consult the server support, could be hardware issue eg NIC
because normaly if company sell vm, there is more than one NIC is used, then possible
the NIC use for your vm got problem
if in doubt why can login to Hyper-V but not vm, its because its managed via host system
use diffrent NIC
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.