yun freez

Hi i have a problem…

i have arduino yun with this skretch

i added any sensor like humidity and temperature that log value to thingspeak every minutes.

Random yun block and nothing log to thingspeak and web panel to turn on or off relay don’t work.

i test that if i use p.runAsynchronously() and not (run), yun work not in perfect mode and value log random but no every minute like i coding.

How can i verify what appen to my yun?