-
Notifications
You must be signed in to change notification settings - Fork 154
Execution UI slow with lots of output #287
Comments
I think that the problem is when the application being called from cron outputs a line that clears itself (like for an interactive shell, with ^L to clear the line). Then the output gets very long and minicron gets slow. |
How much is a lot? You can check in the database how many lines of output it has. If you run the server in debug mode you can see what queries are being run also, that may give a clue what the problem is. |
22 seconds to render in the web interface
|
This was almost the samec cron job with the --verbose flag removed. With the flag still on it would have been more than ten times as much output. |
Can you run the server with the |
The easy fix for this issue is for minicron to run the cron commands (or users be told to run the cron commands...) with a TERM setting that does not clear anything. Perhaps TERM=dumb |
The UI should be able to handle a job with any amount of output. I think there are two fixes here:
|
e.g. loading 127.0.0.1:9292/execution/15 takes more than a minute with ruby using 100% cpu
The text was updated successfully, but these errors were encountered: