This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
HTTPD woes
- From: "Laurie Gellatly" <laurie dot gellatly at netic dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Sun, 21 May 2006 10:16:14 +1000
- Subject: [ECOS] HTTPD woes
- Reply-to: <laurie dot gellatly at netic dot com>
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ç
Mask dç
Broadcast dç
(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