Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add item to troubleshoot about Out of memory and SELinux
  • Loading branch information
fabianoaraujo-egsys authored Oct 29, 2018
commit 49b4ed3a74b917efd7f8c852c31bbb92c6c4bcc6
5 changes: 5 additions & 0 deletions deployment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,11 @@ kernel and return your project's root directory::
}
}

Out of memory when accessing /web/app.php
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Some UNIX systems make use of SELinux, specially Red Hat distributions, like CentOS. By default SELinux is set to enforcing as it should be. If you deploy with app_dev.php you will see some weird permission errors even if you set 777 to `var` directory inside your project's folder. To resolve this, either set SELinux configuration correctly or disable it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

either set SELinux configuration correctly or disable it.

I don't see any value in this if you say to someone configure it correctly you aren't really helping them. Also, SELinux is a security feature, I don't think we should recommend people to disable it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're, I should have written SELinux commands then or fully omit this phrase. I'll remove that.


.. _`Capifony`: https://github.com/everzet/capifony
.. _`Capistrano`: http://capistranorb.com/
.. _`sf2debpkg`: https://github.com/liip/sf2debpkg
Expand Down