Altera_Forum
Honored Contributor
21 years agolockup problems, altera nios2 web server demo
Hi Everybody -
We have been working on a project using nios2/lwip/ucosii. Development is taking place on a cyclone eval board, and we are now using the "release" version of the nios 2 development system. We wrote some a test code for use with the "out of the box" untouched web server application. The code repeatedly hits the nios board with http get requests. We are seeing: (1) there is an occasional pause which occurs when the test code is trying to connect. This pause occurs typically once out of a series of 20-200 accesses and lasts for about a second or two before resuming. During the pauses, the system nios board continues to respond properly to ping requests. It is suspected that there are some old connections left laying around, and when a limit is reached, a delay is caused until a connection frees up. This behaviour is a bit strange, but not fatal. (2) More troubling, after typically about 500-25000 accesses, the board consistently locks up. At this point, the board seems totally dead, and does not respond to pings. = = = = = = = = = = = = = = = = Has anyone experienced anything similar? The code to do the repeated http requests (a linux/unix application) is here: http://phntm.com/nios/hammer.tgz (http://phntm.com/nios/hammer.tgz) The command used was: hammer 172.25.1.81 80 index.html 1000000 10000 = = = = = = = = = = = = = = = = =