public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Laurie Gellatly" <laurie.gellatly@netic.com>
To: <ecos-discuss@sources.redhat.com>
Subject: [ECOS] HTTPD woes
Date: Sun, 21 May 2006 00:16:00 -0000	[thread overview]
Message-ID: <005301c67c6b$c9c05d90$0101010a@netic.com> (raw)
In-Reply-To: <20060519164602.GD4353@lunn.ch>

Hi all,
Hope you can help as I can't find any solution in the archives. I'm
doing some testing with an i386 with i52889 setup using the builtin web
server before the ARM development board arrives. I'm using the freebsd
stack. I loaded the HTTP monitor demo which works fine for awhile then
dies. I've added tracing to my redboot and when I refresh the page
/cgi/network.html  without much delay it works fine until it appears
that the maximum number of sockets (CYGPKG_NET_MAXSOCKETS) is reached.
This appears to be the same as the thread:
http://sourceware.org/ml/ecos-discuss/2005-06/msg00115.html but that
solution is already in place.

The network page seems to reach a limit at the maxsockets (changing
maxsockets also changes when the problem occurs) which I've set to 24.
The output html then incorrrectly reports the:
Network Monitor
Interfaces
Interface Status 
ÿç Flags  
Address dç\x1c  
Mask dç\x1c  
Broadcast dç\x1c  
(NOTE these are all messed up).

ALSO NOTE:
 Connections:  
Initiated 0 
Accepted 23 
Established 23 
Closed 11 
 
The closed connections is also not keeping pace with the established (I
think is is another issue where the gif on the page does not close its
connection?)

The trace tha is produced is:

ASSERT FAIL: <8>stream.inl[93]cyg_bool Cyg_StdioStream::lock_me() Stream
object is not a valid stream!
ASSERT FAIL: <8>stream.inl          [  93] cyg_bool
Cyg_StdioStream::lock_me() Stream object is not a valid stream!
TRACE: <4>flag.cxx            [ 282] Cyg_FlagValue Cyg_Flag::wait()
}}return 00000004
TRACE: <4>mutex.cxx           [ 216] cyg_bool Cyg_Mutex::lock()
{{enter
TRACE: <4>sched.cxx           [ 141] static void
Cyg_Scheduler::unlock_inner()
{{enter
TRACE: <4>sched.cxx           [ 302] static void
Cyg_Scheduler::unlock_inner()
}}return void
TRACE: <4>mutex.cxx           [ 322] cyg_bool Cyg_Mutex::lock()
}}returning 1
TRACE: <4>mutex.cxx           [ 382] void Cyg_Mutex::unlock()
{{enter
TRACE: <4>sched.cxx           [ 730] void
Cyg_SchedThread::disinherit_priority()
{{enter
TRACE: <4>sched.cxx           [ 653] void
Cyg_SchedThread::clear_inherited_priority()
{{enter
TRACE: <4>sched.cxx           [ 653] void
Cyg_SchedThread::clear_inherited_priority()
}}RETURNING UNSET!
TRACE: <4>sched.cxx           [ 730] void
Cyg_SchedThread::disinherit_priority()
}}RETURNING UNSET!
TRACE: <4>sched.cxx           [ 141] static void
Cyg_Scheduler::unlock_inner()
{{enter
TRACE: <4>sched.cxx           [ 302] static void
Cyg_Scheduler::unlock_inner()
}}return void
TRACE: <4>mutex.cxx           [ 447] void Cyg_Mutex::unlock()
}}return void
TRACE: <4>flag.cxx            [ 218] Cyg_FlagValue Cyg_Flag::wait()
{{enter
T.....

What am I missing?			Thanks.  ...Laurie:{)


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

      reply	other threads:[~2006-05-21  0:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-19 16:42 [ECOS] Reboot FIS updates Rycerz Roman-G11565
2006-05-19 16:46 ` Andrew Lunn
2006-05-21  0:16   ` Laurie Gellatly [this message]

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='005301c67c6b$c9c05d90$0101010a@netic.com' \
    --to=laurie.gellatly@netic.com \
    --cc=ecos-discuss@sources.redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).