Restarting Docker results in "Failed to fork child processes"

same here!

Upgrading to CODE 2.1 leaves me with a collabora/code instance that restarts about every 30 to 60 seconds. It sort of cannot really start properly and retries continuously.

I reverted back to 2.0

I’ve just updated my docker-engine (17.05.0~ce-0~ubuntu-xenial) but I’m still getting the same issue.

For anyone else having this: be adviced that (at least in my case) the restarts (that “pieter” mentions above) are happeing for me as well and they fill up my hard disk. I have to docker stop ID and (just for the sake of it) docker rm ID

Also having the same issue - any feedback from devs?

My personal log:

Generating RSA private key, 2048 bit long modulus
................................................+++
....................................................+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
...........................................................................+++
..................+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.0 - b2e736a3
frk-00028-00028 12:43:06.022633 [ forkit ] FTL  Capability cap_sys_chroot is not set for the loolforkit program.| kit/ForKit.cpp:151
frk-00028-00028 12:43:06.022670 [ forkit ] FTL  Capability cap_mknod is not set for the loolforkit program.| kit/ForKit.cpp:151
frk-00028-00028 12:43:06.022701 [ forkit ] FTL  Capability cap_fowner is not set for the loolforkit program.| kit/ForKit.cpp:151
wsd-00026-00026 12:43:56.018650 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2405
Failed to fork child processes.
wsd-00026-00026 12:43:56.018794 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2551
Failed to fork child processes.
wsd-00026-00026 12:43:56.018885 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:445
wsd-00026-00026 12:43:56.018904 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:445
<shutdown>-00026 12:43:56.019084 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:445
<shutdown>-00026 12:43:56.019097 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:445
<shutdown>-00026 12:43:56.019103 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:445
<shutdown>-00026 12:43:56.019109 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:445
<shutdown>-00026 12:43:56.019114 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:445
<shutdown>-00026 12:43:56.019119 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:445
<shutdown>-00026 12:43:56.019211 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:445
<shutdown>-00026 12:43:56.019222 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:445

Sorry, I haven’t found any soltion to this so far, I’ve tried to investigate myself (on the source code) but I really don’t know what’s going on there (C++ is not my strongest side…).
I’ve also tried to get some help from people in IRC chats but so far, unfortunately, no one could help.

If I figure anything out, I’ll make sure to share my solution.

The same here. I also get this error message. My configuration can be found here: Permission denied

Still no luck, just documenting my trials and unsuccessful attempts:

After reading Permission denied - #2 by myshevchuk (Answer to Eneas thread) I thought I might have a conflicting docker / kernel issue as well:

I checked my installed docker (on Ubuntu), it was docker-engine:

apt list --installed | grep docker
docker --version
Docker version 17.05.0-ce, build 89658be)

Then I instaled docker.io instead (see [1] for differences)

apt purge docker-engine; apt install docker.io
docker --version
Docker version 1.12.6, build 78d1802

However, the error remains exactly the same:

[details=docker -l debug logs -f DOCKER_ID]> Generating RSA private key, 2048 bit long modulus

…+++
…+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.0 - b2e736a3
wsd-00024-00024 06:54:08.272296 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2405
Failed to fork child processes.
wsd-00024-00024 06:54:08.274339 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2551
Failed to fork child processes.
wsd-00024-00024 06:54:08.278844 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:445
wsd-00024-00024 06:54:08.279161 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:445
-00024 06:54:08.283357 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:445
-00024 06:54:08.283444 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:445
-00024 06:54:08.283526 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:445
-00024 06:54:08.283566 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:445
-00024 06:54:08.283630 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:445
-00024 06:54:08.283705 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:445
-00024 06:54:08.284083 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:445
-00024 06:54:08.284149 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:445
frk-00026-00026 06:54:08.289767 [ forkit ] FTL Pipe closed.| common/IoUtil.cpp:309[/details]

So I’m still not able to run collabora/code docker, unfortunately.

[1] https://www.quora.com/What-is-the-difference-between-docker-engine-and-docker-io-packages

Next unsuccessful attempt: I’ve increased the RAM for my virtual machine (which is running collaborad docker container) to 4 GB (was: 1 GB) - still the same error message.

Cross-posted to

Though that issues tracker seems close to dead (10 issues? 1 contributor to repository?)

Same problem here.
Is there a possibility to pull image v2.0 of collabora/code instead of the latest? I tried several tags with the pull command with no luck.

I don’t think this is possible, I’ve not seen any “older” tag being available.

I’m asking on IRC as well about this topic, but unfortunately, no solution as of now that I know of.

i got the same problem, it’s not exactly docker-specific, i got it outside of docker as well, version 2.1.1 here :confused: if there is anything to try, any certain logs that might help, i can paste them here

Funny, I’ve just run “docker pull” again, it now works again. I’ve not changed anything in my set-up nor the way I run the docker.

For me, this issue seems to be fixed with the newest docker image…

wow, is there a way to see the difference, like a changelog or something?

or could you maybe check if there are changes in the scripts in the root folder of the docker image? like use

docker exec -t -i your-docker-container-name /bin/bash

and in there:

cat install-libreoffice.sh
cat start-libreoffice.sh

i have bad internet at the moment but will try it later on my own :slight_smile:

especially the last line in start-libreoffice.sh would be interesting

in mine it is:
su -c “/usr/bin/loolwsd --version --o:sys_template_path=/opt/lool/systemplate --o:lo_template_path=/opt/collaboraoffice5.3 --o:child_root_path=/opt/lool/child-roots --o:file_server_root_path=/usr/share/loolwsd” -s /bin/bash lool

update: seems like there was no really interesting change in the scripts, just found a git-repo

update2: it seems like they updated loolwsd to 2.1.1-4, will use their repo ^^

cat install-libreoffice.sh

#!/bin/sh

# Update installed packages
apt-get update && apt-get -y upgrade

# Install HTTPS transport
apt-get -y install apt-transport-https

# Install locales
apt-get -y install locales-all

# Add Collabora repos
echo "deb https://collaboraoffice.com/repos/CollaboraOnline/CODE /" >> /etc/apt/sources.list.d/collabora.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D
apt-get update

# Install the Collabora packages
apt-get -y install loolwsd code-brand

cat start-libreoffice.sh

#!/bin/sh

# Fix lool resolv.conf problem (wizdude)
rm /opt/lool/systemplate/etc/resolv.conf
ln -s /etc/resolv.conf /opt/lool/systemplate/etc/resolv.conf

# Generate new SSL certificate instead of using the default
mkdir -p /opt/ssl/
cd /opt/ssl/
mkdir -p certs/ca
openssl genrsa -out certs/ca/root.key.pem 2048
openssl req -x509 -new -nodes -key certs/ca/root.key.pem -days 9131 -out certs/ca/root.crt.pem -subj "/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=Dummy Authority"
mkdir -p certs/{servers,tmp}
mkdir -p "certs/servers/localhost"
openssl genrsa -out "certs/servers/localhost/privkey.pem" 2048 -key "certs/servers/localhost/privkey.pem"
openssl req -key "certs/servers/localhost/privkey.pem" -new -sha256 -out "certs/tmp/localhost.csr.pem" -subj "/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost"
openssl x509 -req -in certs/tmp/localhost.csr.pem -CA certs/ca/root.crt.pem -CAkey certs/ca/root.key.pem -CAcreateserial -out certs/servers/localhost/cert.pem -days 9131
mv certs/servers/localhost/privkey.pem /etc/loolwsd/key.pem
mv certs/servers/localhost/cert.pem /etc/loolwsd/cert.pem
mv certs/ca/root.crt.pem /etc/loolwsd/ca-chain.cert.pem

# Replace trusted host and set admin username and password
perl -pi -e "s/localhost<\/host>/${domain}<\/host>/g" /etc/loolwsd/loolwsd.xml
perl -pi -e "s/<username desc=\"The username of the admin console. Must be set.\"><\/username>/<username desc=\"The username of the admin console. Must be set.\">${username}<\/username>/" /etc/loolwsd/loolwsd.xml
perl -pi -e "s/<password desc=\"The password of the admin console. Must be set.\"><\/password>/<password desc=\"The password of the admin console. Must be set.\">${password}<\/password>/g" /etc/loolwsd/loolwsd.xml

# Start loolwsd
su -c "/usr/bin/loolwsd --version --o:sys_template_path=/opt/lool/systemplate --o:lo_template_path=/opt/collaboraoffice5.3 --o:child_root_path=/opt/lool/child-roots --o:file_server_root_path=/usr/share/loolwsd" -s /bin/bash lool

I have absolutely no idea how to check diffs between my current docker images and the previous one, sorry.

1 Like

Hi all. This is a cross-post from https://github.com/CollaboraOnline/Docker-CODE/issues/10
Forgive me if it seems redundant, but as stated previously the github project seems rather sleepy…
I am having the same problem, using a docker image pulled today. System is Arch Linux.

#uname -r
4.9.30-1-lts
#pacman -Si docker
Repository      : community
Name            : docker
Version         : 1:17.05.0-1
[…]
Build Date      : Fri 05 May 2017 10:42:16 PM CEST
Validated By    : MD5 Sum  SHA-256 Sum  Signature
Installed Size  : 88.17 MiB
Packager        : SĂ©
[
    {
        "Id": "38ea21ae35b6214d779a1b23208d8a75bc435ff8315dbb57e20d02498bc0333a",
        "Created": "2017-06-04T07:52:49.45273884Z",
        "Path": "/bin/sh",
        "Args": [
            "-c",
            "bash start-libreoffice.sh"
        ],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 137,
            "Error": "",
            "StartedAt": "2017-06-04T07:57:17.788074925Z",
            "FinishedAt": "2017-06-04T12:03:22.069898922Z"
        },
        "Image": "sha256:d3757c5469234839e2d58dfaee49cc8466d61f87074961391986e861c6dbf14f",
        "ResolvConfPath": "/var/lib/docker/containers/38ea21ae35b6214d779a1b23208d8a75bc435ff8315dbb57e20d02498bc0333a/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/38ea21ae35b6214d779a1b23208d8a75bc435ff8315dbb57e20d02498bc0333a/hostname",
        "HostsPath": "/var/lib/docker/containers/38ea21ae35b6214d779a1b23208d8a75bc435ff8315dbb57e20d02498bc0333a/hosts",
        "LogPath": "/var/lib/docker/containers/38ea21ae35b6214d779a1b23208d8a75bc435ff8315dbb57e20d02498bc0333a/38ea21ae35b6214d779a1b23208d8a75bc435ff8315dbb57e20d02498bc0333a-json.log",
        "Name": "/wizardly_borg",
        "RestartCount": 5,
        "Driver": "overlay2",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "default",
            "PortBindings": {
                "9980/tcp": [
                    {
                        "HostIp": "127.0.0.1",
                        "HostPort": "9980"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "always",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": [
                "MKNOD"
            ],
            "CapDrop": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DeviceCgroupRules": null,
            "DiskQuota": 0,
            "KernelMemory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": -1,
            "OomKillDisable": false,
            "PidsLimit": 0,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/a6e3472d865a223330d01c5b078369f206439bea8c8f99e1dc600ca483ffaee0-init/diff:/var/lib/docker/overlay2/b14335218e66a1ea8940ef671bec2f7c6f7030a9f184765af6d9f60ba6c13e94/diff:/var/lib/docker/overlay2/ad5642adbe8566f711fcec95ae4cab5e62ce34cc1df63d108940985415cd149e/diff:/var/lib/docker/overlay2/a30640e1e0bc41324e49d69e0181245bdf94f15dea4520841cddf3fba9c0ccb6/diff:/var/lib/docker/overlay2/24f88ff1146028958a4b0c9467b02afaf052d239616e45a8e808f840e4781113/diff:/var/lib/docker/overlay2/411c16332e95176fb553363ff8248db4c8e5a3464f757ba63726b7f9f92db4e9/diff:/var/lib/docker/overlay2/685233aa866ef5afa2823e5c3d4512df097d59dd9d0bde8253f441735e37535a/diff:/var/lib/docker/overlay2/752fb968056ab7eca54814d6f09a0fe7a44fd37e7be8774cd42fca79733d3b4d/diff:/var/lib/docker/overlay2/d886180b45b8e08fe76f25db152f30e5f2a9af75aaae5f33634881ade9af904a/diff",
                "MergedDir": "/var/lib/docker/overlay2/a6e3472d865a223330d01c5b078369f206439bea8c8f99e1dc600ca483ffaee0/merged",
                "UpperDir": "/var/lib/docker/overlay2/a6e3472d865a223330d01c5b078369f206439bea8c8f99e1dc600ca483ffaee0/diff",
                "WorkDir": "/var/lib/docker/overlay2/a6e3472d865a223330d01c5b078369f206439bea8c8f99e1dc600ca483ffaee0/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [],
        "Config": {
            "Hostname": "38ea21ae35b6",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "9980/tcp": {}
            },
            "Tty": true,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "domain=subdomain\\.domain\\.org",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "LC_CTYPE=en_US.UTF-8"
            ],
            "Cmd": [
                "/bin/sh",
                "-c",
                "bash start-libreoffice.sh"
            ],
            "ArgsEscaped": true,
            "Image": "collabora/code",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {}
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "ffeaab1f03863e71fcb167480dd9c100cb698557378f991972915b0a3fef004d",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/ffeaab1f0386",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "e55ad2c38cb147a8209e284ef5dcb5078a23641207cd25f490900f3890fbf328",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": ""
                }
            }
        }
    }
]
#docker -l debug logs CONTAINER_ID
Generating RSA private key, 2048 bit long modulus
..................+++
.+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
....................................................+++
.........................................................................................................+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.1 - 52f0568e
e[1me[31mwsd-00025-00025 07:53:43.257922 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2443e[0m
Failed to fork child processes.
e[1me[31mwsd-00025-00025 07:53:43.258517 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2590e[0m
Failed to fork child processes.
e[1me[33mwsd-00025-00025 07:53:43.258980 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507e[0m
e[1me[33mwsd-00025-00025 07:53:43.259072 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507e[0m
<shutdown>-00025 07:53:43.260100 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:53:43.260159 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:53:43.260207 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:53:43.260258 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:53:43.260303 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:53:43.260348 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:53:43.260663 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:53:43.260718 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
e[1me[31mfrk-00027-00027 07:53:43.263370 [ forkit ] FTL  Pipe closed.| common/IoUtil.cpp:309e[0m
Generating RSA private key, 2048 bit long modulus
...................................................+++
.........................................+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
.............+++
........+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.1 - 52f0568e
e[1me[31mwsd-00025-00025 07:54:35.663806 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2443e[0m
Failed to fork child processes.
e[1me[31mwsd-00025-00025 07:54:35.664365 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2590e[0m
Failed to fork child processes.
e[1me[33mwsd-00025-00025 07:54:35.664815 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507e[0m
e[1me[33mwsd-00025-00025 07:54:35.664913 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507e[0m
<shutdown>-00025 07:54:35.665923 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:54:35.665981 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:54:35.666022 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:54:35.666069 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:54:35.666113 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:54:35.666156 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:54:35.666432 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:54:35.666495 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
e[1me[31mfrk-00027-00027 07:54:35.669392 [ forkit ] FTL  Pipe closed.| common/IoUtil.cpp:309e[0m
Generating RSA private key, 2048 bit long modulus
..............................................................+++
..........................................................................................................................................................................................................................................+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
.........................................+++
......................+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.1 - 52f0568e
e[1me[31mwsd-00025-00025 07:55:29.282207 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2443e[0m
Failed to fork child processes.
e[1me[31mwsd-00025-00025 07:55:29.282810 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2590e[0m
Failed to fork child processes.
e[1me[33mwsd-00025-00025 07:55:29.283304 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507e[0m
e[1me[33mwsd-00025-00025 07:55:29.283410 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507e[0m
<shutdown>-00025 07:55:29.284533 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:55:29.284593 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:55:29.284685 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:55:29.284762 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:55:29.284833 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:55:29.284911 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:55:29.285297 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:55:29.285381 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
e[1me[31mfrk-00027-00027 07:55:29.287970 [ forkit ] FTL  Pipe closed.| common/IoUtil.cpp:309e[0m
Generating RSA private key, 2048 bit long modulus
.......................+++
.........................................+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
..............................................................................+++
..................................................................................+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.1 - 52f0568e
e[1me[31mwsd-00024-00024 07:56:22.727144 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2443e[0m
Failed to fork child processes.
e[1me[31mwsd-00024-00024 07:56:22.727668 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2590e[0m
Failed to fork child processes.
e[1me[33mwsd-00024-00024 07:56:22.728187 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507e[0m
e[1me[33mwsd-00024-00024 07:56:22.728290 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507e[0m
<shutdown>-00024 07:56:22.729318 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00024 07:56:22.729380 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00024 07:56:22.729465 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00024 07:56:22.729539 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00024 07:56:22.729609 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00024 07:56:22.729676 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00024 07:56:22.730004 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00024 07:56:22.730085 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
e[1me[31mfrk-00026-00026 07:56:22.732483 [ forkit ] FTL  Pipe closed.| common/IoUtil.cpp:309e[0m
Generating RSA private key, 2048 bit long modulus
.............................................................................+++
.............................................................................+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
............+++
..+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.1 - 52f0568e
e[1me[31mwsd-00025-00025 07:57:15.609266 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2443e[0m
Failed to fork child processes.
e[1me[31mwsd-00025-00025 07:57:15.609812 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2590e[0m
Failed to fork child processes.
e[1me[33mwsd-00025-00025 07:57:15.610269 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507e[0m
e[1me[33mwsd-00025-00025 07:57:15.610380 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507e[0m
<shutdown>-00025 07:57:15.611411 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:57:15.611471 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:57:15.611518 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:57:15.611567 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:57:15.611613 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:57:15.611657 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:57:15.611993 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00025 07:57:15.612049 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
e[1me[31mfrk-00027-00027 07:57:15.614443 [ forkit ] FTL  Pipe closed.| common/IoUtil.cpp:309e[0m
Generating RSA private key, 2048 bit long modulus
...............+++
......+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
.......................................................................+++
....+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.1 - 52f0568e
office version details: { "ProductName": "Collabora Office", "ProductVersion": "5.3", "ProductExtension": ".10.13", "BuildId": "e639c2ad9c05a793b16db13bd879342ed75dcf95" }
e[1me[33mwsd-00025-00026 07:57:46.504191 [ prisoner_poll ] WRN  ForKit not responsive for 28299 ms forking 1 children. Resetting.| wsd/LOOLWSD.cpp:338e[0m

I’m available to provide any extra info or perform test if needed.
Thanks for any insight.
Regards,
Mark.

I am at a loss here. Even though, this is supposed to be the official way to install Collabora and they’re working together officially, a lot of people seem to have problems with the Docker-Image.

I tried to install this just now on a clients’ NC server, but to no avail.

When I tried to reproduce it on my own installation (where it was working fine until today) I experienced the same thing.
The docker image just seems to FUBARd - especially considering everything was working fine until I updated the docker image on my own server (without changing anything else on my server)…

I agree xaasst.
The lack of any transparent versioning, to say nothing of a change list when modifications are made to the docker images makes Collabora close to unusable at this stage.
I have given up trying to get it to work from the docker image for now. I might try a native installation at some point but for the moment I’m just too disappointed from having done what I believe to be the right thing (based on the instructions provided on Collabora and Nextclouds websites), over and over again, trying to amend my own setup to avoid interference, and having arrived at nothing but unhelpful errors like the ones quoted in my previous post…
So my constructive criticism would be:
– Please implement clear, transparent versioning of the CODE docker image.
– Where humanly possible, please list changes somewhere accessible…
– When more time is available, and if possible, please improve the quality of certain error messages (I’m referring in particular to “[ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2590e[0m” which is of no help in tracking down why the fork failed…
Thanks anyway for all the work that seems to be going into developing what is certainly a very much wanted - if not needed - piece of software.

1 Like

I’m not sure why this is marked as solved.
When I follow the instructions from https://nextcloud.com/collaboraonline/
I get the error in this post.
The docker container just keeps restarting. I am running on a clean install of ubuntu 16.04 LTS with the latest docker-ce