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
Compilation time out variable settings #1166
Comments
I'd like to add my two cents here. Om my server some pdflatex projects get stuck forever (weeks!) eating 100% of the cpu. To overcome this I added this bash script to cron that kills latex processes running for more that 13 minutes. #!/usr/bin/env bash
docker exec sharelatex bash -c "kill -9 \$(ps -eo etimes,pid,etime,args --sort -etimes | awk '\$4~/^(pdflatex|latex)/{if (\$1 > 13*60) print \$2 }')"
echo $(date) "exit code: $?" So, what I'm saying is that if there's |
First of all, let me answer your question.
There are some important point you need to know(also write for those who want to Enlarge or Decrease the timeout limit)
|
Expected Behaviour
Be able to set a compilation timeout variable environment via the variables.env file, for example.
Observed Behaviour
I seem to have documents that apparently compile without a timeout. This is annoying because they use CPU resources without releasing them. I tried to change the timeout value for compilation, but I couldn't find where this default value was defined in the source code or how to change it.
Analysis
Some things have been suggested here #805, but it seems outdated...
Questions
Thank you.
The text was updated successfully, but these errors were encountered: