Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2ed3af4d
Commit
2ed3af4d
authored
Sep 04, 2002
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build
parents
1a0e3423
dcf559af
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
196 additions
and
91 deletions
+196
-91
Build-tools/Do-compile
Build-tools/Do-compile
+180
-87
Docs/manual.texi
Docs/manual.texi
+16
-4
No files found.
Build-tools/Do-compile
View file @
2ed3af4d
This diff is collapsed.
Click to expand it.
Docs/manual.texi
View file @
2ed3af4d
...
@@ -8707,7 +8707,7 @@ cat /proc/sys/fs/super-max
...
@@ -8707,7 +8707,7 @@ cat /proc/sys/fs/super-max
@end example
@end example
If you have more than 16 MB of memory, you should add something like the
If you have more than 16 MB of memory, you should add something like the
following
in your boot script (@file{/etc/rc/boot.local} on SuSE
):
following
to your init scripts (e.g. @file{/etc/init.d/boot.local} on SuSE Linux
):
@example
@example
echo 65536 > /proc/sys/fs/file-max
echo 65536 > /proc/sys/fs/file-max
...
@@ -8715,10 +8715,22 @@ echo 8192 > /proc/sys/fs/dquot-max
...
@@ -8715,10 +8715,22 @@ echo 8192 > /proc/sys/fs/dquot-max
echo 1024 > /proc/sys/fs/super-max
echo 1024 > /proc/sys/fs/super-max
@end example
@end example
You can also run the preceding commands from the command-line as root, but
in this case
You can also run the preceding commands from the command-line as root, but
your old limits will be used
the next time your computer reboots.
these settings will be lost
the next time your computer reboots.
You should also add /etc/my.cnf:
Alternatively, you can set these parameters on bootup by using the
@code{sysctl} tool, which is used by many Linux distributions (SuSE has
added it as well, beginning with SuSE Linux 8.0). Just put the following
values into a file named @file{/etc/sysctl.conf}:
@example
# Increase some values for MySQL
fs.file-max = 65536
fs.dquot-max = 8192
fs.super-max = 1024
@end example
You should also add the following to @file{/etc/my.cnf}:
@example
@example
[safe_mysqld]
[safe_mysqld]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment