On Fri, 2003-01-17 at 07:59, Frank Li wrote: > Thanks, Roman, > > > > >options MAXDSIZ="(256*1024*1024)" > > > >options MAXSSIZ="(256*1024*1024)" > > > >options DFLDSIZ="(256*1024*1024)" > > > > > > > >Depending on what you're doing, you might well find using a 64-bit > > > >platform (Alpha hardware? Solaris on SPARC?) to be more appropriate... > > > > > > Which file should I put in the following ? > > > > in your kernel configuration file, look in /usr/src/sys/i386/conf/ > > So, I need to recompile kernel ? > I guess in this case I'd better back up things in case the kernel no longer > boots up... >
You can also tune this at boot time by adding them to the file /boot/loader.conf. e.g. kern.maxdsiz="(256*1024*1024)" Although I am not 100% certain whether the tunables parser actually calculates that, I haven't checked the source too closely. I play it safe by using the actual number. On other thing to beware of, whether you set this in the kernal or /boot/loader.conf, is that you cannot go over 2^31-1 because FreeBSD uses a signed int for this value (I tried setting it to 2G once and MySQL refused to start - MySQL AB verified the problem). -- The information contained in this email is confidential. If you are not the intended recipient, you may not disclose or use the information in this email in any way. Dark Blue Sea does not guarantee the integrity of any emails or attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Dark Blue Sea. Dark Blue Sea does not warrant that any attachments are free from viruses or other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message