[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[myserver-commit] [3026] Added documentation about temporary files locat
From: |
Giuseppe Scrivano |
Subject: |
[myserver-commit] [3026] Added documentation about temporary files location. |
Date: |
Mon, 23 Mar 2009 22:03:50 +0000 |
Revision: 3026
http://svn.sv.gnu.org/viewvc/?view=rev&root=myserver&revision=3026
Author: gscrivano
Date: 2009-03-23 22:03:49 +0000 (Mon, 23 Mar 2009)
Log Message:
-----------
Added documentation about temporary files location.
Modified Paths:
--------------
trunk/myserver/documentation/basic_configuration.texi
Modified: trunk/myserver/documentation/basic_configuration.texi
===================================================================
--- trunk/myserver/documentation/basic_configuration.texi 2009-03-23
17:43:53 UTC (rev 3025)
+++ trunk/myserver/documentation/basic_configuration.texi 2009-03-23
22:03:49 UTC (rev 3026)
@@ -35,3 +35,28 @@
the user (through the SERVER_ADMIN environment variable).
It is defined trought the @code{server.admin} variable, that can be
set in the global configuration file or for virtual host.
+
address@hidden Temporary files position
+There can be need for the server to save temporary files as a form of
+inter-process communication.
+It is possible to configure the directory where temporary files are
+stored trought the @code{server.temp_directory} variable inside the
+main configuration file.
+Operations on disk are much slower than read or write directly from
+the primary memory. To solve this problem under GNU/Linux you can
+think about use virtual memory instead of a persistent storage device
+to store files.
+
+It can be done, by the root user, as:
+
address@hidden
+# mount -t tmpfs -o size=256m tmpfs /tmp/tmpfs
address@hidden example
+
+The previous command mount a portion of memory, 256M, on the
+/tmp/tmpfs and it can be used as a normal file system.
+At this point, @code{server.temp_directory} shall be set to
address@hidden/tmp/tmpfs} to benefit from it.
+Files saved on the primary memory are not persistent between reboots,
+introducing another level of security as temporary data will not be
+saved on the server.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [myserver-commit] [3026] Added documentation about temporary files location.,
Giuseppe Scrivano <=