Skip to contentSkip to conversation

how to suppress "CPU time limit exceeded" message?

Xenomai Tom Z 2 participants 2 messages Apr 14, 2013

lore
Share & tools
lore

Tom Z

author
#0 lore raw

Hi All,
I encountered frequently "CPU time limit exceeded" messages during my program's execution. I think it might be related to the Xenomai watchdog (Please correct me if wrong). Is there a way to disable this feature without recompiling a new kernel without watchdog support?

Thanks,
Tom

#1 lore raw
Quoted 3 lines · Tom Z

Hi All, I encountered frequently "CPU time limit exceeded" messages during my program's execution. I think it might be related to the Xenomai watchdog (Please correct me if wrong).

See examples/sigdebug.c, there are many possible reasons for this message.

Quoted 3 lines

Is there a way to
disable this feature without recompiling a new kernel without watchdog support?

There is currently no way to disable it. You can increase its timeout with the xeno_nucleus.watchdog_timeout kernel parameter though.

Note that if your application gets killed by the watchdog, it means that it uses the CPU for 4 seconds without relinquishing it, an application doing that is consider a problem with Xenomai, because you are never sure that Linux can recover from being interrupted 4 seconds, and having to handle the backlog: generally, it causes the system to crash, purely and simply. So, the watchdog avoid crashes.

Signature · 1 line
                                                                Gilles.