AW: Betr.: AW: AW: [En-Nut-Discussion] Webserver Image problem + optimization
Robert Hildebrand
robert.hildebrand at ims.fhg.de
Tue Dec 2 16:23:00 CET 2003
Hi Yuri,
refreshing every 10 seconds seems to be very fast. After closing the
connection the sockets are still used (for delayed packages) a short time,
so you are running out of memory. Httpdemo delays the responses when low on
memory.
One trick if you just need a "fast" reaction when something happens on your
ethernut ist to delay the answer in your cgi-response. Reload the page every
1s but answer after 120s (or when your event occurs). The browser seems to
react very fast but you don't have to transmit the page equally fast.
Robert
-----Ursprungliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de]Im Auftrag von Yuri Staal
Gesendet: Dienstag, 2. Dezember 2003 16:00
An: en-nut-discussion at egnite.de
Betreff: Betr.: AW: AW: [En-Nut-Discussion] Webserver Image problem
Ok, now i solved the "problem" with the threads. i busted something up
in the thread creation, but now that works.
The images display correctly now, but after some time the Ethernut board
doesnt respond anymore to any form of request. So i have to reset the
board again.
Anyone had the same problem? or could it be that im refreshing my page
every 10 seconds?
Yuri
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
More information about the En-Nut-Discussion
mailing list