Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReproEvents: stopped capturing #53

Open
yarikoptic opened this issue Sep 5, 2023 · 1 comment
Open

ReproEvents: stopped capturing #53

yarikoptic opened this issue Sep 5, 2023 · 1 comment
Assignees

Comments

@yarikoptic
Copy link
Member

I have not troubleshooted the reason but events capturing stopped at

reprostim@databeast:~/proj/repronim/reprostim/Events$ tail -n 2 data/2023-08-25T15:14:07-04:00.csv
689,1,1,1693334986.3024316,2023-08-29T14:49:46.302432-04:00,0.000689,359.150174,1692989964.00951,344663.1427476406,,9329,151939.63295790745
662,0,1,1693334986.484916,2023-08-29T14:49:46.484916-04:00,0.000662,359.332666,1692989964.00951,344663.1427400112,,9330,151960.28928264295

and today is Sept 05th, so a week later.

I do not see script running... I have added to crontab

# to ensure that it is running if it crashed
*/10 * * * * flock -n -E 0 /home/reprostim/.run/dev_run.lock  /home/reprostim/proj/repronim/reprostim/Events/dev_run_loop

when #52 is addressed, we should be able to redirect outputs to a file to see what lead to a crash. Meanwhile I pushed 52a7bb2 which removes set -e so that loop does not exit upon failure

@yarikoptic
Copy link
Member Author

I have restarted it "manually" in a shell, then put into background, bg, and disown and logged out. Whenever button was pressed -- script crashed since I now see sleep running so it had to restart... and I think it just keeps looping. Might be the same #52 to blame here. I will now start it under tmux so we do have tty attached etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants