Hi Simon,

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

best Regards

2006/6/9, Simon Matter <[EMAIL PROTECTED]>:

> 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: [EMAIL PROTECTED]
Skype: danielti2005
ICQ : 316727989
Jabber: danielti
Linux User: 387864
AOL User: Danielti2005
Sola Scriptura, Sola Gratia, Sola Fide, Solus Christus, Soli Deo Gloria

Reply via email to