Skip to content

Commit

Permalink
Add limit to number of open files to prevent memory leak and fix typo…
Browse files Browse the repository at this point in the history
… in dev_environment.md
  • Loading branch information
Brooklyn committed Mar 14, 2024
1 parent 07947df commit 5da6bc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ RUN ln -s /usr/sbin/service /usr/bin/initctl
# Persist this folder to keep the generated TLS certificates on the first start
VOLUME /home/build/ovirt/etc/pki/ovirt-engine

# Edit the /etc/security/limits.conf file to set the number of open files to prevent memory leak https://pagure.io/python-daemon/issue/40
RUN echo "build soft nofile 2048" >> /etc/security/limits.conf

# Set default User
USER $USERNAME

Expand Down
2 changes: 1 addition & 1 deletion dev_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ Now we can safely boot the websocket service:
/home/build/ovirt/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py start
```

Next, go to your newly created VM and click on the 'v' arrow next to console. Navigate to 'Console Options' and set 'Console Invocation' to 'noVCN'. You can save this and click on the 'Console' button.
Next, go to your newly created VM and click on the 'v' arrow next to console. iNavigate to 'Console Options' and set 'Console Invocation' to 'noVCN'. You can save this and click on the 'Console' button.

You will see an error: "Something went wrong, connection is closed", this is normal. You need to accept the SSL certificate in your browser. You can do this by opening your browser development console and copying the `wss://XXXXX` url to your browser URL bar. Replace `wss` with `https` and navigate to the url. You can accept the certificate here. You can now reopen the console via the oVirt administrator panel.

0 comments on commit 5da6bc5

Please sign in to comment.