Visit Our UNIX and Linux User Community


timeout problem


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory timeout problem
# 1  
Old 07-12-2002
Data timeout problem

Hi

can anyone help with the following:-

when sending large e-mails via a ssh session the job always times out every 5 min before the mail is sent, this means that a user has to tap a key to stop it timming out. Is there a way to stop this from happening.

Numpty

Last edited by numpty; 07-12-2002 at 01:52 AM..
# 2  
Old 07-15-2002
Well, since no one else has responded...


What exactly do you mean -
Quote:
sending large e-mails via a ssh session
?

1 - what is the timeout period - does it take 5 minutes, 10, ...? If you let a ssh session sit for that long doing nothing (just at the prompt) does it also timeout?

2. Are you running some type of kill user program that looks for processes not doing anything? (It may be killing off your email process by mistake)

3. What is so different about these sessions versus 'smaller' emails? Do you know what the size of these emails are that are getting killed? What size will go successfully? Are these emails going to local servers, remote, remote-out-of-your-control?

What OS and version? What email are you using?

Just from your writing that a person would have to sit there and hit a key, it seems like it's a program looking for input from the user or it kills the session. That should point you to look at how ssh is set up (or that particular server).
# 3  
Old 04-25-2005
hello
I searched the forum and looks like I couldn't find an answer.

I am connecting the school machines, which run SunOS 5.8, from my home computer which runs linux Fedora III, with ssh. When I stay about 10 - 15 minutes idle connection times out. But this never happens when I directly connect at school. Apparently the server disconnects the external clients after a certain time. Is there a way that I can change on my computer settings so that the school machines won't time me out?

I searched the env variables for TMOUT but there wasn't any. So I edited my .profile (my shell is bash) and added the variable. But since the server is timing out this didn't help.

this is the message I am getting on my unix command prompt :

/user/s2/username > Read from remote host [hostname]: Connection reset by peer
Connection to [hostname] closed.

Any help will be appreciated...
# 4  
Old 04-27-2005
Quote:
Originally Posted by milhan
I am connecting the school machines, which run SunOS 5.8, from my home computer which runs linux Fedora III, with ssh. When I stay about 10 - 15 minutes idle connection times out. But this never happens when I directly connect at school. Apparently the server disconnects the external clients after a certain time. Is there a way that I can change on my computer settings so that the school machines won't time me out?

I searched the env variables for TMOUT but there wasn't any. So I edited my .profile (my shell is bash) and added the variable. But since the server is timing out this didn't help.

this is the message I am getting on my unix command prompt :
/user/s2/username > Read from remote host [hostname]: Connection reset by peer
Connection to [hostname] closed.
Any help will be appreciated...
OK, so does this mean that no one have any answer to my question?
# 5  
Old 04-27-2005
If the server you are connecting to is running a program to kill off idle users, then your only option is not to be idle. There isn't a parameter to set on your side to change that.

You might also want to read the Rules - # 4 would be appropriate.

Previous Thread | Next Thread
Test Your Knowledge in Computers #551
Difficulty: Medium
If variable i has the value 10, after x = 5 + (i++); the value of x after this code is 15.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Expect timeout

Hello, I'm doing a simple script with expect (a telnet which works without user/pass), and I want to put a condition if timeout happens, then to print a message, but it doesn't work. The script looks like below: #!/usr/bin/expect log_user 0 set timeout 10 spawn telnet IP PORT send... (3 Replies)
Discussion started by: rainbow19
3 Replies

2. Shell Programming and Scripting

Setting a Timeout

Hi I'm writing a script which based on a condition, restarts a set of servers. The problem I'm facing is, say if one of the server is down, my script stops there and fails to proceed. How can I ensure to set a timeout value on that script, so when the server is not reachable, the script should... (2 Replies)
Discussion started by: mathbalaji
2 Replies

3. Red Hat

Freezing, Request Timeout - performance problem

Hi, The server is Redhat 5 32bit. It is not easy to produce the problem so I will just write the experienced problems not how it is produced. 1) During login, it shows the last login time and then waits for 3-4 seconds to give shell prompt (considerable) 2) Sometimes the connection window... (2 Replies)
Discussion started by: royalliege
2 Replies

4. Shell Programming and Scripting

EXCEPT timeout problem

i am trying to write an except script to ssh into a list of devices and run some commands, and i came across this problem, not every device is alive, which breaks the script, my script looks like this #!/usr/bin/expect # set defaults set... (1 Reply)
Discussion started by: fedora
1 Replies

5. Shell Programming and Scripting

sftp expect timeout problem

hello All, I am doing SFTP using expect. We just change our server from sun solaris 8 to sun solaris 10. The script was working good on sun solaris 8. But it is giving problem on 10. from shell, SFTP is working fine.Please help me. What can be the problem. LIB_sftp_get() { ... (0 Replies)
Discussion started by: mindtee_abhi
0 Replies

6. Shell Programming and Scripting

how to set timeout?

When I run a script where the 1st parameter is ip address ftp -n -i -v $1 I hang here if the ip is wrong how to set a timeout something like if (20s not complete "ftp -n -i -v $1") then echo "error" fi Thanks a lot. (14 Replies)
Discussion started by: uativan
14 Replies

7. UNIX for Advanced & Expert Users

timeout opening writing control channel /dev/initctl problem occur i cant shoudown

Hi... This is message that occurs when i am trying to shutdown the linux system timeout opening writing control channel /dev/initctl how can i shutdown what is the problem here.. Thanks in advance ... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies

8. Solaris

About the Timeout

Hello everyone I am a new one,I want to know how to get the solaris force the loginer out if he do not in a time thanks (4 Replies)
Discussion started by: lyh003473
4 Replies

9. HP-UX

timeout

How can I kick a user out after being idle for a certain amount of time, would prefer not to use scripts, will TMOUT work on HP-UX? (5 Replies)
Discussion started by: csaunders
5 Replies

Featured Tech Videos