about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-12-20 01:12:52 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-12-20 01:12:52 +0000
commit9308fb23a3add751d7614919723f72c017e6757f (patch)
treef81020249591fc3578475338409fded7859ddd63
parent6fb6c3beca84246e19f3e15855a9d52339dfaea0 (diff)
downloadunicorn-9308fb23a3add751d7614919723f72c017e6757f.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@481 19e92222-5c0b-0410-8929-a290d50e31e9
-rw-r--r--doc/site/src/faq.page20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/site/src/faq.page b/doc/site/src/faq.page
index 8bbc373..b98d2e0 100644
--- a/doc/site/src/faq.page
+++ b/doc/site/src/faq.page
@@ -162,6 +162,26 @@ but you should basically just install Ruby from source, then install Mongrel.
 
 h2. Deployment
 
+h3. Q: What can cause Mongrel to lock up on a regular basis?
+
+There are several reasons Mongrel can stop functioning properly, but
+most of them are related to using resources that aren't shared properly
+between multiple processes.  The following is just a short list of the
+possible things you could be doing to cause Mongrel processes to lock:
+
+# Configuring Logger to rotate log files.  Logger doesn't do this reliably
+between processes, so use an external log rotation like logrotate.
+# Using PStore to store your sessions.  This isn't faster than the database
+and has frequent locking and coordination issues.
+# Sharing a file or similar service without proper locking.  SQLite and BerkleyDB are
+both culprits here.
+# Not setting the MySQL timeout properly (see later in the FAQ).
+# Using up too much CPU or memory on Linux will cause the oomkiller to
+kill your Mongrel process.
+
+If you have frequent stopping and stability issues, then install "monit":http://www.tildeslash.com/monit/
+and have it restart your Mongrels when the go down or don't respond promptly.
+
 h3. Q: How do I deploy Mongrel in production?
 
 Take a look at the "documentation pages":/docs/index.html for