*When you say you are having a "timeout" I'm going with the listener has timed out, in which case the messages are gone - nothing was listening for them.
--->Ok, yes I thought the same but maybe , just maybe the message is stucked in some
"magical" buffer and the message arrive after
*Once the listener has timed out, it won't matter how many messages that are sent -
nothing is listening for them.
---> Ok I did not explain that , but the recv is in a while loop , when a timeout happen the
connection is closed and the server wait for a new connection. After that, the server is
again hear for new messages
*Why the time out occurs before the message arrives could be down to a number of reasons, but most likely traffic on the network OR LOAD ON THE SYSTEM.
--->I started to suspect about that. I was debug this in two computers and when the timeout happened the server computer was doing some hard disk things (I heard the disk)
. About the network traffic that is a question How I can to know if the traffic on the
network is elevated or not?
* The time out seems to be very short at a second, can you post some more detail about what you are trying to do?
---> I just want to know as quickly as possible when the server or the connection dropped. I thought in use TCP_KEEP_ALIVE In this link (https://www.digi.com/wiki/developer/..._and_Keepalive) explains how activate TCP_KEEP_ALIVE but also in that link explain this
Hi, can anyone point me in the right direction regarding a UNIX setting that determines when a network connection will timeout? I am getting network timeouts and I would like to know if there is a setting in UNIX 11i OS that I can modify to increase the time limit.
Thank you (4 Replies)
Hi I am brand new to the forum
I have very limited understanding of unix, but am very computer literate. At work we have a unix server which has been the bane of our lives. We have stopped being able to access the network drives and the screen has lots of device timeouts. I have learned how to do... (1 Reply)
Hi
In our ETL application we have used simple scripts to move & split the files. We are randomly facing timeouts on these jobs. It indicates we are running out of resources.
How should I confirm the resources are inadequate?
I know we have commands like vmstat & iostat which displays... (3 Replies)
Hello All,
I am very new to UNIX. Please help me to find answers of below questions.
1.A script is saved with name ls. When we execute the script what it will execute?
a) Will execute ls command
b) Will execute the script
c) Will execute script or command depends on the path
... (2 Replies)
Hi All,
I am tring to set a shedule for cron to execute my script in every 15 min, n want a mail alert on my mail id if cron fails to get data as input for my script, how can i set that?
Thanks in advance
Subin (1 Reply)
Hi ,
I m beginner for Unix and i want to use FIFO in my 2 Scripts . I want 1 script to read data from FIFO and other will write into FIFO.
Despite reading so many articles/posts i am still unable sunchronize my scripts.
My doubts are
1> Do We require both scripts as daemons to use... (0 Replies)
I am trying to write code for a client-server scenario using AF_INET sockets..
As is usually the case, everything works fine and dandy on my machine, but gives me the following error at runtime:
send: Socket operation on non-socket
The error is thrown by the server when trying to send the... (5 Replies)
Hi all.
I have an expect script which for walks across servers, checks freespace and provides sorted list of biggest files
#!/usr/bin/expect --
set timeout 600
stty -echo
log_user 0
spawn -noecho sudo -u introot /home/introot/bin/twssh
expect root
send_user "Entering \r"
send "uname\r"... (15 Replies)