[dev] Patch to docs/PERFORMANCE
Myke Place
mp at xmission.com
Sun Mar 13 15:21:09 PST 2005
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Attached is a quick patch to modify docs/PERFORMANCE to include the
following information:
* If you have a large number of sessions, consider storing them in
hashed directory levels. (See ``session.save_path`` at
``http://us3.php.net/session``)
This is per Jan's request for a patch made today in #horde.
-mp
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="docs.PERFORMANCE.diff"
--- docs/PERFORMANCE.orig 2005-03-13 13:27:47.439059929 -0700
+++ docs/PERFORMANCE 2005-03-13 13:51:34.288615337 -0700
@@ -54,6 +54,10 @@
* Don't run PHP session garbage collection too often if using a slow storage
medium (like SQL). (See ``session.gc_probability`` in ``php.ini``)
+* If you have a large number of sessions, consider storing them in
+ hashed directory levels. (See ``session.save_path`` at
+ ``http://us3.php.net/session``)
+
* Consider using a faster storage medium for sessions, such as a tmpfs or
other memory based file system. If you are sure your apache setup is rock
solid and you don't restart it there is a mm session driver. However, be
@@ -111,7 +115,7 @@
* Enable mysql query cache if you have sufficient RAM. Edit your ``my.cnf``
file and add the following (change the memory size to meet your needs)::
- set-variable = query_cache_size=128M
+ set-variable = query_cache_size=128M
Application tuning
--W/nzBZO5zC0uMSeA--
More information about the dev
mailing list