DB and sftp Timeout

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
Mephistus
A semi-regular
A semi-regular
Posts: 23
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Feb 14, 2011 1:01 pm

DB and sftp Timeout

Post by Mephistus »

I do have a VPS running Windows Server 2008, but i'm experiencing issues with timeout.

If I stabilish a connection to my DB, and stand like, 1 minute idle, the connection closes itself, that happens with sftp, ftp or DB connection, I think this is possible a misconfiguration in my OS.

There's any way of extending timeout for this services? or disable it at all?

Thanks.
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: DB and sftp Timeout

Post by Edge100x »

Are you running any sort of firewall?
Mephistus
A semi-regular
A semi-regular
Posts: 23
Joined: Mon Feb 14, 2011 1:01 pm

Re: DB and sftp Timeout

Post by Mephistus »

Nope. Firewall is disabled
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: DB and sftp Timeout

Post by Edge100x »

What is the exact error you're seeing? What are the two endpoints involved -- are they both on VDSes?
Mephistus
A semi-regular
A semi-regular
Posts: 23
Joined: Mon Feb 14, 2011 1:01 pm

Re: DB and sftp Timeout

Post by Mephistus »

for example, i'm acessing the DB remotely, but I don't want it to disconnect after every every 1 minte idle. I just want it to keep the connection alive.

The DB is on the VDS and i'm acessing it remotely from my computer using DBMS software.
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: DB and sftp Timeout

Post by Edge100x »

Some ISPs and routers time out connections when they shouldn't. You might try bypassing your router temporarily as part of your investigation.

Your software may also have a keep-alive option in it to help with this (PuTTY does, for instance).
Mephistus
A semi-regular
A semi-regular
Posts: 23
Joined: Mon Feb 14, 2011 1:01 pm

Re: DB and sftp Timeout

Post by Mephistus »

Thanks for the tip. Although I couldn't figure out about some router / ISP timeout, I have configured all my software with a keep-alive option. That worked just fine.
Post Reply