This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
ssl issue systemd-journal-remote and libmicrohttpd #927
Milestone
Comments
This was referenced Oct 15, 2015
libmicrohttpd developers has answered that it is not lib issue. have to debug systemd-journal-remote here. btw, there are other issues with systemd-journal-remote systemd/systemd#1387 systemd/systemd#1386 |
dongsupark
pushed a commit
to dongsupark/systemd
that referenced
this issue
Oct 21, 2015
Introduce a new option --mhd-conn-memory-limit of systemd-journal-remote to allow users to set maximum amount of memory per HTTP(S) connection. e.g.: # systemd-journal-remote --mhd-conn-memory-limit 65536 ... Its equivalent option can be also set in /etc/systemd/journal-remote.conf, as MhdConnMemoryLimit, which defaults to 65536. This way systemd-journal-remote can now prevent microhttpd from failing in creating response headers with messages like "Not enough memory for write", especially when lots of HTTPS requests arrive. That's precisely because MHD_OPTION_CONNECTION_MEMORY_LIMIT in libmicrohttpd defaults to 32768, which is in practice insufficient in this case. See also https://gnunet.org/bugs/view.php?id=4007 for more details. Fixes: coreos/bugs#927
dongsupark
pushed a commit
to endocode/systemd
that referenced
this issue
Oct 28, 2015
…with HTTPS Explicitly set MHD_OPTION_CONNECTION_MEMORY_LIMIT to a larger value, when setting up microhttpd, to give more memory per HTTP(S) connection. This way systemd-journal-remote can now prevent microhttpd from failing in creating response headers with messages like "Not enough memory for write", especially when lots of HTTPS requests arrive. That's precisely because MHD_OPTION_CONNECTION_MEMORY_LIMIT in libmicrohttpd defaults to 32768, which is in practice insufficient in this case. See also https://gnunet.org/bugs/view.php?id=4007 for more details. Fixes: coreos/bugs#927
Hopefully it's fixed by systemd/systemd#1729, merged into systemd:master. |
ssahani
pushed a commit
to ssahani/systemd
that referenced
this issue
Nov 3, 2015
…with HTTPS Explicitly set MHD_OPTION_CONNECTION_MEMORY_LIMIT to a larger value, when setting up microhttpd, to give more memory per HTTP(S) connection. This way systemd-journal-remote can now prevent microhttpd from failing in creating response headers with messages like "Not enough memory for write", especially when lots of HTTPS requests arrive. That's precisely because MHD_OPTION_CONNECTION_MEMORY_LIMIT in libmicrohttpd defaults to 32768, which is in practice insufficient in this case. See also https://gnunet.org/bugs/view.php?id=4007 for more details. Fixes: coreos/bugs#927
ssahani
pushed a commit
to ssahani/systemd
that referenced
this issue
Nov 3, 2015
…with HTTPS Explicitly set MHD_OPTION_CONNECTION_MEMORY_LIMIT to a larger value, when setting up microhttpd, to give more memory per HTTP(S) connection. This way systemd-journal-remote can now prevent microhttpd from failing in creating response headers with messages like "Not enough memory for write", especially when lots of HTTPS requests arrive. That's precisely because MHD_OPTION_CONNECTION_MEMORY_LIMIT in libmicrohttpd defaults to 32768, which is in practice insufficient in this case. See also https://gnunet.org/bugs/view.php?id=4007 for more details. Fixes: coreos/bugs#927
ssahani
pushed a commit
to ssahani/systemd
that referenced
this issue
Nov 3, 2015
…with HTTPS Explicitly set MHD_OPTION_CONNECTION_MEMORY_LIMIT to a larger value, when setting up microhttpd, to give more memory per HTTP(S) connection. This way systemd-journal-remote can now prevent microhttpd from failing in creating response headers with messages like "Not enough memory for write", especially when lots of HTTPS requests arrive. That's precisely because MHD_OPTION_CONNECTION_MEMORY_LIMIT in libmicrohttpd defaults to 32768, which is in practice insufficient in this case. See also https://gnunet.org/bugs/view.php?id=4007 for more details. Fixes: coreos/bugs#927
ssahani
pushed a commit
to ssahani/systemd
that referenced
this issue
Nov 3, 2015
…with HTTPS Explicitly set MHD_OPTION_CONNECTION_MEMORY_LIMIT to a larger value, when setting up microhttpd, to give more memory per HTTP(S) connection. This way systemd-journal-remote can now prevent microhttpd from failing in creating response headers with messages like "Not enough memory for write", especially when lots of HTTPS requests arrive. That's precisely because MHD_OPTION_CONNECTION_MEMORY_LIMIT in libmicrohttpd defaults to 32768, which is in practice insufficient in this case. See also https://gnunet.org/bugs/view.php?id=4007 for more details. Fixes: coreos/bugs#927
ssahani
pushed a commit
to ssahani/systemd
that referenced
this issue
Nov 3, 2015
…with HTTPS Explicitly set MHD_OPTION_CONNECTION_MEMORY_LIMIT to a larger value, when setting up microhttpd, to give more memory per HTTP(S) connection. This way systemd-journal-remote can now prevent microhttpd from failing in creating response headers with messages like "Not enough memory for write", especially when lots of HTTPS requests arrive. That's precisely because MHD_OPTION_CONNECTION_MEMORY_LIMIT in libmicrohttpd defaults to 32768, which is in practice insufficient in this case. See also https://gnunet.org/bugs/view.php?id=4007 for more details. Fixes: coreos/bugs#927
mischief
pushed a commit
to mischief/systemd
that referenced
this issue
Dec 14, 2015
…with HTTPS Explicitly set MHD_OPTION_CONNECTION_MEMORY_LIMIT to a larger value, when setting up microhttpd, to give more memory per HTTP(S) connection. This way systemd-journal-remote can now prevent microhttpd from failing in creating response headers with messages like "Not enough memory for write", especially when lots of HTTPS requests arrive. That's precisely because MHD_OPTION_CONNECTION_MEMORY_LIMIT in libmicrohttpd defaults to 32768, which is in practice insufficient in this case. See also https://gnunet.org/bugs/view.php?id=4007 for more details. Fixes: coreos/bugs#927
@dongsupark backported your fix into coreos. @kayrus this should be solved now. |
There is another ticket: systemd/systemd#1766 + #962 Just for the history. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
libmicrohttpd 0.9.44 (yes, I've compiled latest lib with debug messages just to be sure it is not fixed in latest release) fails on huge amount of data when HTTPS is enabled. I've already filed a bug at libmicrohttpd bugtracker: https://gnunet.org/bugs/view.php?id=4007
The text was updated successfully, but these errors were encountered: