OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: shmmax

From: Daniel Castro (danieltigmail.com)
Date: Fri Jun 09 2006 - 10:03:52 CDT


Hi Simon,

Thank you for your script, but can you tell me what it does?

best Regards

2006/6/9, Simon Matter <simon.matterch.sauter-bc.com>:
>
> > Hi,
> >
> > Do you have any documentation about shmmax parameter?
> > I have a server with 2 Gb of Ram, 2 processors and it is slow.
> > I need to correct it.I need to find out what is happening.
> > I think it is this parameter.
>
> I have no docs but I've put this into my init scripts:
>
> SHMMAX=$(/sbin/sysctl -n kernel.shmmax)
> if [ $SHMMAX -lt 104857600 ]; then
> /sbin/sysctl -w kernel.shmmax=104857600 > /dev/null 2>&1
> fi
>
> Regards,
> Simon
>

--
Daniel Castro
Website: http://danielti.no-ip.info:2139
MSN: danieltigmail.com
Skype: danielti2005
ICQ : 316727989
Jabber: danielti
Linux User: 387864
AOL User: Danielti2005
Sola Scriptura, Sola Gratia, Sola Fide, Solus Christus, Soli Deo Gloria