- Knowledgebase Home
- » Browse by Service
- » (dv) Dedicated-Virtual Server
- » (dv) 3.0
- » Server Settings and Optimization
How do I change the FTP session timeout on a (dv) server?
Overview
This article has been mirrored from the Parallels Knowledge Base as a courtesy to our (dv) Dedicated-Virtual Server customers. As they are the authoritative source of the information covered in this topic we encourage you to check their original article since this content is subject to change.
(mt) Media Temple makes a best effort to ensure the accuracy of all content contained herein. Please use our feedback form below if you would like to report any inaccuracies. Please note that our feedback form is not an official support channel.
The publishing of this information does not imply support of this article. This article is provided solely as a courtesy to our customers. Please consult our (dv) Scope of Support for further information.
Solution
You can configure different timeouts in the main ProFTPd configuration file. When logged into the shell as root open the /etc/proftpd.conf file and set the time (in seconds) to your desired time. These values should be within the <Global> section of the file.
...
TimeoutNoTransfer 900
TimeoutStalled 600
TimeoutIdle 1200
...
Detailed description for these directives, and many others, can be found at http://proftpd.org/docs/directives/linked/by-name.html.
Once your changes have been made, you will need to restart the service with the following command:
service xinetd restart