From: Steven Vacca <svacca@valcom.com>
To: "LinuxEmbeddedMailList (E-mail)" <linuxppc-embedded@lists.linuxppc.org>
Subject: RE: TCP Server stops accepting after 10mins
Date: Mon, 8 Jan 2001 09:13:23 -0500 [thread overview]
Message-ID: <01C07953.421B5D70.svacca@valcom.com> (raw)
I have also discovered that after the 10 mins, when the
TCP Server stops accepting, then if I wait 1 minute, the
TCP Client can once again start connecting for another
10 mins before connect failure. Again, this is irregardless
of connect freqs of 50 times per sec or once every 30 secs.
-----Original Message-----
From: Steven Vacca [SMTP:svacca@valcom.com]
Sent: Monday, January 08, 2001 8:16 AM
To: LinuxEmbeddedMailList (E-mail)
Subject: Re: TCP Server stops accepting after 10mins
Has anyone who is working with Redhat EDK 1.0, with its kernel
v2.2.13 and a TCP Server running on an MPC860, ever been able
to have a TCP Client (on another PC) connect at a rate of once every
30s, or more frequently (say, once every 5 secs) , to the TCP Server
for longer than 10 minutes?
Could someone who has this setup please try doing this?
Below are 2 good tests to try. Both fail at 10 mins on my system.
Test scenario #1, connecting at once every 5s:
On another PC:
Client: while (1)
{
socket()
connect()
close()
5 sec delay (120 connects in 10 mins)
}
On Embedded EDK unit:
Server: socket()
bind()
listen()
while (1)
{
accept()
close()
}
Test scenario #2, connecting 50 times per sec:
On another PC:
Client: while (1)
{
socket()
connect()
close()
1/50 sec delay (30,000 connects in 10 mins)
}
On Embedded EDK unit:
Server: socket()
bind()
listen()
while (1)
{
accept()
close()
}
Thanks,
ShutEye Thinkin
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next reply other threads:[~2001-01-08 14:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-08 14:13 Steven Vacca [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-01-08 13:16 TCP Server stops accepting after 10mins Steven Vacca
2001-01-05 15:50 Steven Vacca
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01C07953.421B5D70.svacca@valcom.com \
--to=svacca@valcom.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).