Re: [CentOS] selinux commands fail on low memory box

2015-10-15 Thread Jonathan Billings
On Thu, Oct 15, 2015 at 12:30:22AM -0400, Tim Dunphy wrote: > > How about adding some swap into system? > Not a bad idea, Eero! That worked. You might want to consider permanent swap, particularly for such low-memory systems. For a simple web server, you'd probably benefit from having the rest of

Re: [CentOS] selinux commands fail on low memory box

2015-10-14 Thread Tim Dunphy
> > How about adding some swap into system? Not a bad idea, Eero! That worked. [root@ops3:~] #cat /proc/swaps FilenameTypeSizeUsed Priority /swapfile file1048572 712 -1 [root@ops3:~] #semodule -i newr

Re: [CentOS] selinux commands fail on low memory box

2015-10-14 Thread Eero Volotinen
How about adding some swap into system? -- Eero 2015-10-15 4:40 GMT+03:00 Tim Dunphy : > Hey all, > > I have 3 web servers hosted at Digital Ocean that all have the same amount > of memory at 512MB. They're all running CentOS 7. > > They are low powered apache servers and don't really need mor

[CentOS] selinux commands fail on low memory box

2015-10-14 Thread Tim Dunphy
Hey all, I have 3 web servers hosted at Digital Ocean that all have the same amount of memory at 512MB. They're all running CentOS 7. They are low powered apache servers and don't really need more than that. All they're doing is serving the web, no database on those hosts at all. On the first