Verified the fix works:
$ lxc launch ubuntu:jammy apache2-sru-lp1988224-jammy-2 --vm Creating apache2-sru-lp1988224-jammy-2 Starting apache2-sru-lp1988224-jammy-2
$ lxc shell apache2-sru-lp1988224-jammy-2
# cat >> /etc/apt/sources.list << __EOF__ > deb http://archive.ubuntu.com/ubuntu jammy-proposed main universe > __EOF__
root@apache2-sru-lp1988224-jammy-2:~# apt update && apt dist-upgrade -y ... ...
# apt update && apt dist-upgrade -y
# apt install apache2 lynx -y ...
# cat > /etc/apache2/mods-enabled/mpm_event.conf << __EOF__
<IfModule mpm_event_module> StartServers 1 MinSpareThreads 1 MaxSpareThreads 1 ThreadsPerChild 1 MaxRequestWorkers 1 MaxConnectionsPerChild 1 </IfModule> __EOF__
# systemctl restart apache2
# systemctl status apache2.service
# while lynx -dump -read_timeout=10 localhost/server-status; do continue; done
I left this to run for about half an hour, no problem.
Verified the fix works:
$ lxc launch ubuntu:jammy apache2- sru-lp1988224- jammy-2 --vm sru-lp1988224- jammy-2 sru-lp1988224- jammy-2
Creating apache2-
Starting apache2-
$ lxc shell apache2- sru-lp1988224- jammy-2
# cat >> /etc/apt/ sources. list << __EOF__ archive. ubuntu. com/ubuntu jammy-proposed main universe
> deb http://
> __EOF__
root@apache2- sru-lp1988224- jammy-2: ~# apt update && apt dist-upgrade -y
...
...
# apt update && apt dist-upgrade -y
# apt install apache2 lynx -y
...
# cat > /etc/apache2/ mods-enabled/ mpm_event. conf << __EOF__
<IfModule mpm_event_module> orkers 1 onsPerChild 1
StartServers 1
MinSpareThreads 1
MaxSpareThreads 1
ThreadsPerChild 1
MaxRequestW
MaxConnecti
</IfModule>
__EOF__
# systemctl restart apache2
# systemctl status apache2.service
# while lynx -dump -read_timeout=10 localhost/ server- status; do continue; done
I left this to run for about half an hour, no problem.