From jo2y at midnightlinux.com Sat Jun 14 00:49:58 2003 From: jo2y at midnightlinux.com (James O'Kane) Date: Sat, 14 Jun 2003 00:49:58 -0400 (EDT) Subject: [wplug-web] postgresql tweaks for openacs Message-ID: Mark(d2), I found out why tweaks to postgresql didn't work way back when. I don't remember what we tried, but we ended with this: shared_buffers = 3072 # 2*max_connections, min 16 #max_fsm_relations = 100 # min 10, fsm is free space map #max_fsm_pages = 10000 # min 1000, fsm is free space map #max_locks_per_transaction = 64 # min 10 #wal_buffers = 8 # min 4 === I changed it tonight to ==== shared_buffers = 15200 # 2*max_connections, min 16 sort_mem = 32168 # min 32 wal_files = 3 # range 0-64 checkpoint_segments = 3 # in logfile segments (16MB each), min 1 The secret ingredient was this in /etc/sysctl.conf kernel.shmmax = 134217728 It restarted so I declared it a working product and shipped it. (it restarted postgresql and kicked the nsd processes.) We need to turn down the logging in wplug-error.log or rotate that file every once in a while. -james From wplug at badgertronics.com Sat Jun 14 11:35:28 2003 From: wplug at badgertronics.com (Mark Dalrymple) Date: 14 Jun 2003 15:35:28 -0000 Subject: [wplug-web] postgresql tweaks for openacs In-Reply-To: (jo2y@midnightlinux.com) References: Message-ID: <20030614153528.8758.qmail@59.acronhosting.net> sweetness for the memory tweaks. I cranked down the debug level, so it should do a lot less spew now. ++md From jsbillings at mac.com Sat Jun 28 22:29:33 2003 From: jsbillings at mac.com (Jonathan Billings) Date: Sat, 28 Jun 2003 22:29:33 -0400 Subject: [wplug-web] Odd web behavior Message-ID: <85217C2F-A9D9-11D7-804E-000393477426@mac.com> I noticed that when I go to: , it redirects me to . If I go to (note the trailing slash), the port isn't revealed. This probably shouldn't happen. -- Jonathan Billings jsbillings at mac.com