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
[Bug] Docker container "restarting (132)" with image 0.45.18 or higher #2328
Comments
Same here. |
"The Host OS" which VM solution are you using? |
Sorry, maybe i expressed myself wrong, i'm not using a VM. |
I'm on Server 2016 w/ HyperV hosting that ubuntu VM. |
hmm a quick google shows me other projects have the same issue, i have no solution or dont really even know where to start so if anyone has any ideas... :) |
Hi, I have the same problem on a dedicated server (no virtualisation) with Ubuntu 22.04.4 LTS and Docker 26.0.2. edit: |
Is this relevant? https://bugs.launchpad.net/lxml/+bug/2063343 |
Interesting, nice find!
…On 27 April 2024 15:58:59 UTC, Constantin Hong ***@***.***> wrote:
Is this relevant? https://bugs.launchpad.net/lxml/+bug/2063343
--
Reply to this email directly or view it on GitHub:
#2328 (comment)
You are receiving this because you were assigned.
Message ID: ***@***.***>
|
I have the same problem, I switched back to version 0.45.17. |
https://bugs.launchpad.net/lxml/+bug/2059910 it looks like there was some changes to lxml and the minimum level of hardware has changed... it is compiled with some instructions that require a more modern CPU this fits our pattern - the problem seems to affect people with older CPUs |
This is follow-up: https://bugs.launchpad.net/lxml/+bug/2059910/comments/16 |
Excellent, so it means lxml what about this syntax for the requirements.txt?
|
@Constantin1489 since 5.2.0/5.2.1 have the extra CFLAGs for better performance on newer CPUs, any chance you can run some of your wonderful speed/benchmark tests on I'm curious exactly how much faster it is other thing, would be nice if there was a |
With this shell script, and let's say the file is (python3.12 -m pip uninstall lxml -y && python3.12 -m pip install lxml==5.1.1) > /dev/null 2>/dev/null
python3.12 <<EOF
import timeit
setup_code = """
from lxml import etree, html
parser = etree.HTMLParser()
with open('data/reddit.html', 'rb') as f:
html_bytes = f.read()
"""
code = """
html.fromstring(html_bytes, parser=parser)
"""
print(timeit.timeit(setup=setup_code, stmt=code, number=1000))
EOF
(python3.12 -m pip uninstall lxml -y && python3.12 -m pip install lxml==5.2.0) > /dev/null 2>/dev/null
python3.12 <<EOF
import timeit
setup_code = """
from lxml import etree, html
parser = etree.HTMLParser()
with open('data/reddit.html', 'rb') as f:
html_bytes = f.read()
"""
code = """
html.fromstring(html_bytes, parser=parser)
"""
print(timeit.timeit(setup=setup_code, stmt=code, number=1000))
EOF result was
the difference between 5.1.9 and 5.2.0 is so 2%? I'm not that math savvy... For two.. I don't know.. |
Describe the bug
Image "ghcr.io/dgtlmoon/changedetection.io:0.45.18" or higher causes container status "Restarting (132)".
Version
Works fine until version 0.45.17
To Reproduce
Update from a previous version or a new clean install causes same output.
The hardware is an old Intel Celeron P4600 (2) @ 2GHz with 8GB of RAM.
The Host OS is Debian GNU/Linux 11 (bullseye) x86_64.
The logs are empty.
The text was updated successfully, but these errors were encountered: