Changes to sysctl.conf not working
I need to set the following so avast will run on my system:
sysctl -w kernel.shmmax=10000000 It works great, but I would rather not type this at boot everytime so I edited /etc/sysctl.conf and added the following line: sysctl -w kernel.shmmax = 100000000 When I reboot the system it does not take effect, I still have to go to the command line and enter the command again. Anyone have any ideas to help? I am running Fedora 16 i686 Thanks |
Dumb question sorry guys.
For anyone who comes across this thread the sanswer is to NOT add the sysctl command in the line. Just add the following to /etc/sysctl.conf kernel.shmmax = 100000000 |
[root@server2 ~]# vim /etc/sysctl.conf
kernel.shmmax = 100000000 save and quit. |
Quote:
Code:
sysctl -p |
All times are GMT -5. The time now is 06:24 AM. |