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

It sets the kernels shmmax parameter to 104857600, but only if it is
smaller than 104857600. I don't remember how I came to use 104857600, it's
a long time ago...

Simon

>
> 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
>

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to