- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to setup timeout parameter for a ftp session...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 07:35 PM
тАО06-28-2005 07:35 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 07:58 PM
тАО06-28-2005 07:58 PM
Re: How to setup timeout parameter for a ftp session ?
Otherwise I'd suggest to have a look at man ftpd.
On start of the FTP server you can pass the daemon a timout through -t
(if unset it defaults to 15 mins.)
Since ftpd is usually spawned through inetd you would have to add an apropiate argument in /etc/inetd.conf and send inetd a SIGHUP,
or execute /sbin/inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 08:04 PM
тАО06-28-2005 08:04 PM
Re: How to setup timeout parameter for a ftp session ?
to change the default 15 minutes timeout, edit the system-wide /etc/inetd.conf resource file to start the ftpd with the -t 600 (for 600 seconds) option:
FROM:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
TO:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -t 600
to use this new value, restart Internet services daemon:
# /sbin/init.d/inetd -c
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 08:05 PM
тАО06-28-2005 08:05 PM
Re: How to setup timeout parameter for a ftp session ?
Option 1:
Instead of adjusting timeout variables, just enter hash at the ftp
prompt.
ftp> hash
then get your file
ftp> get
the hash # will keep the ftp session alive as a # is transmitted every 10k of data transfer...
and this is a client side solution and will work any where for any user...
Option 2:
If variable need to be tuned then tune using nettune -s, tcp_keepfreq and tcp_keepstop values... as u hav not mentioned the OS version , iam putting the command syntax ...
For 10.x
nettune -s tcp_keepfreq 1000
nettune -s tcp_keepstop 1000
for 11.0
ndd -set tcp_keepfreq
Use the netune -h command to print to standard output all variables that
are defined by nettune on your system.
So to academically incorporate the set_fin_time script to execute at boot-up,
you should create a compliant HP-UX 10.X start-up script.
Regards
Vinod K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 08:07 PM
тАО06-28-2005 08:07 PM
Re: How to setup timeout parameter for a ftp session ?
1st the correct path is
/usr/sbin/inetd
2nd rather set -T of ftpd
and set an "idle" timer in your FTP client.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 09:03 PM
тАО06-28-2005 09:03 PM
Re: How to setup timeout parameter for a ftp session ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 09:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 10:47 PM
тАО06-28-2005 10:47 PM
Re: How to setup timeout parameter for a ftp session ?
if you do man ftpd, you will get the whole syntax details
-t timeout Causes ftpd to timeout inactive sessions after timeout seconds. By default, ftpd terminates an inactive session after 15 minutes.
regards
yogeeraj