What node.js and mraa versions are you using? Make sure you are using the latest. Also what button are you referring to, some button on the Arduino expansion board or do you have an external push button connected to the Edison?
Have you tried to use the ps command each time you push the button? It may provide some insight on why your app crashes after the 5-6 time.
Thanks for your reply! The Idea of the project is very simple. Here is one Edison board. On this board I create listener of port 1337.
When I connect to this board 192.168.2.25:1337 it open one web page. There is one button Left. I push it and my browser sends queries to the Edison and Edison put into console the text "it's working". If I click this button again - still running. If I click 5-6 times this button the Edison will stop to write to console "it's working". If I reload the page in the browser - the board starts to work again. It looks like browser starts to cache this operation. I don't understand how to solve it
Are you sure you are using the latest image, what is the output of configure_edison –version? Have you tried to run dmesg on the .js file?
Do you have updates on this?
Is this happening in all the web browsers or is it just with one?
Are you running something else in your board?