This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/AMIC110: Webpage refresh issue

Part Number: AMIC110

Tool/software: TI-RTOS

Hi,

Our customer followed the procedure of 'Web Programming with the HTTP Server' of NDK API reference guide and was able to integrated a web server on AMIC110 with latest NDK 2.26.0.08 from Processor SDK 4.2. From web browser and wireshark log, the server appears to be created successfully. However, when the page is refreshed periodically, e.g. in the rate 5 seconds using the httpSendClientStr(htmlSock,"<meta http-equiv=\"refresh\" content=\"5\" >\r\n"); lots of orphan tasks with fixed 596 bytes are observed from heapTrack and results in system crash.

The web page refresh code and debug log is captured in the 

The issues seems to be similar as reported in the thread - 

But when looking into the CPU load (8%) and task priority, the web task should have chance to release memory from heap. Adding Task_sleep doesn't fix the problem either. Any other reasons that could generate so many orphan tasks and dchild threads?

Thanks, Garrett