Fossil

Check-in [28a1da05]
Login

Check-in [28a1da05]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Enhanced description of how to set up the /proc filesystem inside of a chroot jail.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 28a1da05b1fa3f364a4cf1b94ed1306a75934152
User & Date: drh 2015-11-14 16:16:43
Context
2015-11-14
19:03
Fix a memcmp() that really should be fossil_strcmp(). ... (check-in: 5853fcf1 user: drh tags: trunk)
16:16
Enhanced description of how to set up the /proc filesystem inside of a chroot jail. ... (check-in: 28a1da05 user: drh tags: trunk)
2015-11-13
10:00
pedantic upstream cson -Wall/-Werror fixes (unused static consts) for clang. ... (check-in: f5bed9ce user: stephan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to www/server.wiki.
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
systems that support the "getloadavg()" API.  Most modern Unix systems have
this interface, but Windows does not, so the feature will not work on Windows.
Note also that Linux implements "getloadavg()" by accessing the "/proc/loadavg"
file in the "proc" virtual filesystem.  If you are running a Fossil instance
inside a chroot() jail on Linux, you will need to make the "/proc" file
system available inside that jail in order for this feature to work.  On
the self-hosting Fossil repository, this was accomplished by adding a line
to the "/etc/mtab" file that looks like:
<blockquote><pre>
chroot_jail_proc /home/www/proc proc r 0 0
</pre></blockquote>
Pathnames should be adjusted for individual systems, of course.
<p>
To see if the load-average limiter is functional, visit the [/test_env] page
of the server to view the current load average.  If the value for the load







|







342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
systems that support the "getloadavg()" API.  Most modern Unix systems have
this interface, but Windows does not, so the feature will not work on Windows.
Note also that Linux implements "getloadavg()" by accessing the "/proc/loadavg"
file in the "proc" virtual filesystem.  If you are running a Fossil instance
inside a chroot() jail on Linux, you will need to make the "/proc" file
system available inside that jail in order for this feature to work.  On
the self-hosting Fossil repository, this was accomplished by adding a line
to the "/etc/mtab" or "/etc/fstab" file that looks like:
<blockquote><pre>
chroot_jail_proc /home/www/proc proc r 0 0
</pre></blockquote>
Pathnames should be adjusted for individual systems, of course.
<p>
To see if the load-average limiter is functional, visit the [/test_env] page
of the server to view the current load average.  If the value for the load