Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 35839 Details for
Bug 57786
Ebuild for swapd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/swapd.conf.d
swapd.conf.d (text/plain), 1.42 KB, created by
John Richard Moser
on 2004-07-20 15:51:44 UTC
(
hide
)
Description:
files/swapd.conf.d
Filename:
MIME Type:
Creator:
John Richard Moser
Created:
2004-07-20 15:51:44 UTC
Size:
1.42 KB
patch
obsolete
># swapd.conf - config file for swapd ># ># Copyright 2000 Neven Lovric <nlovric@jagor.srce.hr> ># ># Ripped this from the man page ;) ># ># I tried using --config, but it doesn't work for 0.4.0a; this is my ># hackish workaround. > ># Memory limit in KiB. ># When the total amount of free memory gets below this number, swapd creates ># a new swap file. ># 16384 or more recommended (16MiB) >memlimit=16384 > ># Pause between memory checks in mS. ># When the total amount of free memory is above <memlimit>, swapd will pause ># for <pause> mS before checking memory again. ># 1000 should be ok for most systems (1S) >pause=1000 > ># Swap file size in KiB. ># >= 64, 4096 recommended (4MiB), 64MiB max :) >minswapsize=4096 >maxswapsize=65536 > ># Maximum number of swap files. ># No more than <maxswaps> swap files will be used. ># 0 = unlimited (as many as the kernel will allow) >maxswaps=0 > ># Timeout in seconds. ># If the last created swap file is unused for <sec> seconds, it will be ># removed. The last created swapfile is considered unused when there are ># more than <memlimit> + <swapsize> kb of free memory (physical + swap). ># ># In other words, when a swap file is no longer needed, the thing gets ># removed. ># 60 is nice >timeout=60 > ># Swap directory where all the swap files are kept. >swapdir=/var/lib/swapd > ># PID file (where the currently running swapd stores it's PID so a new swapd ># can find it) >pidfile=/var/run/swapd.pid > ># Full path to mkswap. >mkswap=/sbin/mkswap
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 57786
:
35838
| 35839 |
35840
|
45341