<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Core Services &#187; Linux</title>
	<atom:link href="http://coreservices.blog.gustavus.edu/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://coreservices.blog.gustavus.edu</link>
	<description>A division of Technology Services</description>
	<lastBuildDate>Wed, 21 Oct 2009 14:30:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Time-lapse of Ice Rink Replacement</title>
		<link>http://coreservices.blog.gustavus.edu/2008/12/08/time-lapse-of-ice-rink-replacement/</link>
		<comments>http://coreservices.blog.gustavus.edu/2008/12/08/time-lapse-of-ice-rink-replacement/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 20:04:10 +0000</pubDate>
		<dc:creator>Dan Oachs</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[CorpseFlower]]></category>
		<category><![CDATA[ForActiveDesktop]]></category>
		<category><![CDATA[ForWikiPage]]></category>
		<category><![CDATA[FrontPage]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[TimeLapse]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[doachs]]></category>
		<category><![CDATA[Gustavus]]></category>
		<category><![CDATA[ice rink]]></category>
		<category><![CDATA[time lapse]]></category>

		<guid isPermaLink="false">http://coreservices.blog.gustavus.edu/?p=314</guid>
		<description><![CDATA[Ice Rink Time-lapse
This is a time-lapse video of the Don Roberts ice rink going from the final stages of the 2008 Nobel Conference to the  newly repaired ice rink.  Earlier this year the cooling system failed and had to be replaced.  In this video you can see the removal of the old [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://fms.gac.edu/vod/IceArena640480.mp4" class="stream autosize embed">Ice Rink Time-lapse</a></p>
<p>This is a time-lapse video of the Don Roberts ice rink going from the final stages of the 2008 Nobel Conference to the  newly repaired ice rink.  Earlier this year the cooling system failed and had to be replaced.  In this video you can see the removal of the old cooling system followed by the installation of the new cooling system.  If you ever wanted to see what is down there below the ice, here is your chance.</p>
<p>The video was created by taking a photo every minute from October 9th through November 30th and stitching them together.  To try and shorten the video I removed most of the images where not much was happening such as each night and some of the weekends.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreservices.blog.gustavus.edu/2008/12/08/time-lapse-of-ice-rink-replacement/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
<enclosure url="http://fms.gac.edu/vod/IceArena-mobile.mp4" length="60570512" type="video/mp4" />
<enclosure url="http://fms.gac.edu/vod/IceArena640480.mp4" length="101057021" type="video/mp4" />
		</item>
		<item>
		<title>SpamAssassin Performance Issues</title>
		<link>http://coreservices.blog.gustavus.edu/2006/09/01/spamassassin-performance-issues/</link>
		<comments>http://coreservices.blog.gustavus.edu/2006/09/01/spamassassin-performance-issues/#comments</comments>
		<pubDate>Fri, 01 Sep 2006 20:24:18 +0000</pubDate>
		<dc:creator>Dan Oachs</dc:creator>
				<category><![CDATA[GAC IT]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://coreservices.blog.gustavus.edu/2006/09/01/spamassassin-performance-issues/</guid>
		<description><![CDATA[About 9 months ago we started using a MySQL database to store the bayes information for SpamAssassin.  At first it worked great.  It significantly reduced the load on our disk drives that used to house that information in the users home directories.  Over time SpamAssassin became more popular and now it looks [...]]]></description>
			<content:encoded><![CDATA[<p>About 9 months ago we started using a MySQL database to store the bayes information for SpamAssassin.  At first it worked great.  It significantly reduced the load on our disk drives that used to house that information in the users home directories.  Over time SpamAssassin became more popular and now it looks like over 3000 accounts are using it to filter their email and now the  sa_bayes   database is over 4.1GB in size.  Having a database of that size on an underpowered server (dual Athalon MP 2000+, 3GB ram, 2 IDE disk drives) it just could not keep up.  Probably because the disks are just too slow for this kind of application and load.</p>
<p>I tried to diagnose the bottleneck and it appears as though the bayes_token table ( now over 3GB ) is frequently locked causing other access to it to stall for a bit.  So, my plan was to move the table from MyISAM to InnoDB and hope that row level locking would help.  Well it turns out that even after days of trying, I just could not get our current database altered to be InnoDB in a reasonable amount of time.  As a result I created new tables on a different database server and pointed spamd at the now empty but InnoDB based tables.  For now performance is great, hopefully InnoDB will scale much better than MyISAM did otherwise I will be doing this again in a few months.</p>
<p>If anyone else is using MySQL to house their SpamAssassin database I would like to hear how you do it.  Perhaps there is something simple that I missed.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreservices.blog.gustavus.edu/2006/09/01/spamassassin-performance-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora Core 5 and Openldap</title>
		<link>http://coreservices.blog.gustavus.edu/2006/05/03/fedora-core-5-and-openldap/</link>
		<comments>http://coreservices.blog.gustavus.edu/2006/05/03/fedora-core-5-and-openldap/#comments</comments>
		<pubDate>Thu, 04 May 2006 03:01:39 +0000</pubDate>
		<dc:creator>Dan Oachs</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://coreservices.blog.gustavus.edu/2006/05/03/fedora-core-5-and-openldap/</guid>
		<description><![CDATA[After many hours of trial and error, I was finally able to get openldap on FC5 working the way we need it to.Â  I noticed that there are a few differences in the way openldap works on FC5 when compared to the way things were on fc4.
In the past when using fc4 the database would [...]]]></description>
			<content:encoded><![CDATA[<p>After many hours of trial and error, I was finally able to get openldap on FC5 working the way we need it to.Â  I noticed that there are a few differences in the way openldap works on FC5 when compared to the way things were on fc4.</p>
<p>In the past when using fc4 the database would sometimes get corrupted and I would have to run db_recover -h /var/lib/ldap.Â  Well after installing the db4-utils rpm and trying to run db_recover -h /var/lib/ldap I would get this error:</p>
<blockquote><p>db_recover: Program version 4.3 doesn&#8217;t match environment version<br />
db_recover: Unacceptable log file /var/lib/ldap/log.0000000043: unsupported log version 11<br />
db_recover: Invalid log file: log.0000000043: Invalid argument<br />
db_recover: PANIC: Invalid argument<br />
db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery<br />
db_recover: DB_ENV-&gt;open: DB_RUNRECOVERY: Fatal error, run database recovery</p></blockquote>
<p>After a little hunting I discovered that openldap now comes with its own db_recover program called slapd_db_recover.</p>
<p>In order to keep the db log files in check, I would runÂ  db_archive -h /var/lib/ldap -d daily, now I run slapd_db_recover -h /var/lib/ldap -d daily.<br />
I also ran into some trouble while trying to import our data.Â  I used slapcat on our FC4 box to generate an ldif file and tried to use slapadd on the fc5 box to import it.Â  Then I got an error that saidÂ  &#8220;Lock table is out of available locks&#8221;.Â  To fix that problem I copied the DB_CONFIG.example that came with openldap in /etc/openldap to /var/lib/ldap and renamed it just DB_CONFIG.Â  Then I added these lines to the file:</p>
<blockquote><p>set_lk_max_locks 8000<br />
set_lk_max_lockers 2000<br />
set_lk_max_objects 2000</p></blockquote>
<p>And that fixed all my importing errors. Then I needed to change the ownership of all the files in /var/lib/ldap so they were owned by ldap and fire it up.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreservices.blog.gustavus.edu/2006/05/03/fedora-core-5-and-openldap/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Gustavus Webadvisor Server</title>
		<link>http://coreservices.blog.gustavus.edu/2006/04/11/gustavus-webadvisor-server/</link>
		<comments>http://coreservices.blog.gustavus.edu/2006/04/11/gustavus-webadvisor-server/#comments</comments>
		<pubDate>Tue, 11 Apr 2006 19:17:08 +0000</pubDate>
		<dc:creator>Dan Oachs</dc:creator>
				<category><![CDATA[GAC IT]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://coreservices.blog.gustavus.edu/2006/04/11/gustavus-webadvisor-server/</guid>
		<description><![CDATA[This afternoon the web services team has changed the links for Webadvisor on the Gustavus home page
to point to our new webadvisor server.  The new setup consists of two linux servers running apache and tomcat 5, running in a highly available mode such that if the primary server should fail, the secondary server will [...]]]></description>
			<content:encoded><![CDATA[<p>This afternoon the web services team has changed the links for Webadvisor on the Gustavus home page<br />
to point to our new webadvisor server.  The new setup consists of two linux servers running apache and tomcat 5, running in a highly available mode such that if the primary server should fail, the secondary server will take over for it.  The link for the new servsers is <a title="webadvisor" href="https://webadvisor.gac.edu/">https://webadvisor.gac.edu/</a>  Give it a try.  If there is something that does not work, please let me know.  Hopefully everything will work great and registration in a couple of weeks will go smoothly.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreservices.blog.gustavus.edu/2006/04/11/gustavus-webadvisor-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System Downtime</title>
		<link>http://coreservices.blog.gustavus.edu/2006/04/07/system-downtime/</link>
		<comments>http://coreservices.blog.gustavus.edu/2006/04/07/system-downtime/#comments</comments>
		<pubDate>Fri, 07 Apr 2006 13:55:06 +0000</pubDate>
		<dc:creator>Dan Oachs</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[GAC IT]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://coreservices.blog.gustavus.edu/2006/04/07/system-downtime/</guid>
		<description><![CDATA[This morning at about 8:00am, one of our servers (meow) had a kernel panic and died.Â  As a result some services had issues with switching over to our secondary NFS server.Â  Thus there were problems accessing home directories on some apple computers, viewing homepages on our homepages.gac.edu webserver and checking quotas. By 8:30am, the server [...]]]></description>
			<content:encoded><![CDATA[<p>This morning at about 8:00am, one of our servers (meow) had a kernel panic and died.Â  As a result some services had issues with switching over to our secondary NFS server.Â  Thus there were problems accessing home directories on some apple computers, viewing homepages on our homepages.gac.edu webserver and checking quotas. By 8:30am, the server was back up and running again.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreservices.blog.gustavus.edu/2006/04/07/system-downtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postifx and Authentication</title>
		<link>http://coreservices.blog.gustavus.edu/2005/12/02/postifx-and-authentication/</link>
		<comments>http://coreservices.blog.gustavus.edu/2005/12/02/postifx-and-authentication/#comments</comments>
		<pubDate>Fri, 02 Dec 2005 16:34:06 +0000</pubDate>
		<dc:creator>Dan Oachs</dc:creator>
				<category><![CDATA[GAC IT]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://coreservices.blog.gustavus.edu/2005/12/02/postifx-and-authentication/</guid>
		<description><![CDATA[After updating one of our 2 postfix mailservers we discovered that some email clients can&#8217;t deal with all the authentication options our mailserver presents to them.  For example Eudora has an issue if postfix says it can do CRAM-MD5 as in the following example:

250-AUTH PLAIN DIGEST-MD5 LOGIN CRAM-MD5
250-AUTH=PLAIN DIGEST-MD5 LOGIN CRAM-MD5

For some reason it [...]]]></description>
			<content:encoded><![CDATA[<p>After updating one of our 2 postfix mailservers we discovered that some email clients can&#8217;t deal with all the authentication options our mailserver presents to them.  For example Eudora has an issue if postfix says it can do CRAM-MD5 as in the following example:<br />
<code><br />
250-AUTH PLAIN DIGEST-MD5 LOGIN CRAM-MD5<br />
250-AUTH=PLAIN DIGEST-MD5 LOGIN CRAM-MD5<br />
</code></p>
<p>For some reason it tries CRAM-MD5 first, that fails, then it does not try anything else.  To solve that problem I edited /usr/lib/sasl2/smtpd.conf.  I added &#8220;mech_list: login plain&#8221; to the end of that file.  Now if I look at the AUTH line that postfix sends to clients, I see this:</p>
<p><code><br />
250-AUTH PLAIN LOGIN<br />
250-AUTH=PLAIN LOGIN<br />
</code></p>
<p>Now all of our email clients can happily authenticate and send email again.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreservices.blog.gustavus.edu/2005/12/02/postifx-and-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Horde, IMP, and imapproxy</title>
		<link>http://coreservices.blog.gustavus.edu/2005/11/02/horde-imp-and-imapproxy/</link>
		<comments>http://coreservices.blog.gustavus.edu/2005/11/02/horde-imp-and-imapproxy/#comments</comments>
		<pubDate>Thu, 03 Nov 2005 01:02:21 +0000</pubDate>
		<dc:creator>Dan Oachs</dc:creator>
				<category><![CDATA[GAC IT]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://coreservices.blog.gustavus.edu/2005/11/02/horde-imp-and-imapproxy/</guid>
		<description><![CDATA[So it turns out that the cache in imapproxy that we turned on yesterday has a problem.  First of all, it seemed to work great.  I think webmail was more responsive and there was a reduced load on our mail disks.  However not all was well.  It seems like some times [...]]]></description>
			<content:encoded><![CDATA[<p>So it turns out that the cache in imapproxy that we turned on yesterday has a problem.  First of all, it seemed to work great.  I think webmail was more responsive and there was a reduced load on our mail disks.  However not all was well.  It seems like some times when you deleted a message, it was still displayed in your inbox. Also some times when you read a message, and then went back to the inbox, the message still looked like it was unread.  Unfortunately this means we had to turn off the cache.  Oh well, it was worth a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreservices.blog.gustavus.edu/2005/11/02/horde-imp-and-imapproxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email performance</title>
		<link>http://coreservices.blog.gustavus.edu/2005/11/01/email-performance-2/</link>
		<comments>http://coreservices.blog.gustavus.edu/2005/11/01/email-performance-2/#comments</comments>
		<pubDate>Wed, 02 Nov 2005 03:40:35 +0000</pubDate>
		<dc:creator>Dan Oachs</dc:creator>
				<category><![CDATA[GAC IT]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://coreservices.blog.gustavus.edu/2005/11/01/email-performance-2/</guid>
		<description><![CDATA[As many people have noticed, email performance during our peak usage time (9:50am-10:20am) has been extremely poor.  The main reason we believe is that the disk drives our email inboxes are stored on are just not fast enough.  Currently we are using a Sun T3 disk array with a 1Gig cache and 9 [...]]]></description>
			<content:encoded><![CDATA[<p>As many people have noticed, email performance during our peak usage time (9:50am-10:20am) has been extremely poor.  The main reason we believe is that the disk drives our email inboxes are stored on are just not fast enough.  Currently we are using a Sun T3 disk array with a 1Gig cache and 9 fibre-channel disk drives.  During this time our usage goes through the roof and the disks just can&#8217;t keep up with the demand.  When the disks are maxed out, we see about 30MB/s of reading from the disks.</p>
<p>In the short term, here are a couple of things we have done to help reduce the load.  First, we have cut back the maximum size of a person&#8217;s inbox.  We have a script that runs each night and if your inbox is more than 50MB, we move the oldest messages out of the inbox until it is down to about 30MB.</p>
<p>Second, we have installed a newer version of imapproxy on our webmail servers.  This new version supports an IMAP SELECT cache which should help when reloading the inbox display because it will have the message headers already cached.  Another nice feature of this version is that it now supprts encrypted IMAP connections by using TLS.  So now your messages and password are being encrypted while they are being transmitted from the mailserver to the webmail server.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreservices.blog.gustavus.edu/2005/11/01/email-performance-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatic Proxy Settings</title>
		<link>http://coreservices.blog.gustavus.edu/2005/10/26/automatic-proxy-settings/</link>
		<comments>http://coreservices.blog.gustavus.edu/2005/10/26/automatic-proxy-settings/#comments</comments>
		<pubDate>Wed, 26 Oct 2005 13:56:08 +0000</pubDate>
		<dc:creator>Dan Oachs</dc:creator>
				<category><![CDATA[GAC IT]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://coreservices.blog.gustavus.edu/2005/10/26/automatic-proxy-settings/</guid>
		<description><![CDATA[We just figured out that somewhere along the line, we broke automatic proxy configuration stuff.  To fix it there are a couple of things we can do.  First we added this to our /etc/dhcpd.conf file:
option WPAD code 252 = string;
option WPAD &#8220;http://www.gac.edu/cgi-bin/proxies&#8221;;
In our old config we had option option-252 &#8220;http://www.gac.edu/cgi-bin/proxies&#8221;; but that just [...]]]></description>
			<content:encoded><![CDATA[<p>We just figured out that somewhere along the line, we broke automatic proxy configuration stuff.  To fix it there are a couple of things we can do.  First we added this to our /etc/dhcpd.conf file:</p>
<p>option WPAD code 252 = string;<br />
option WPAD &#8220;http://www.gac.edu/cgi-bin/proxies&#8221;;</p>
<p>In our old config we had option option-252 &#8220;http://www.gac.edu/cgi-bin/proxies&#8221;; but that just gave us an error about option-252 unknown.</p>
<p>To make Firefox&#8217;s auto config work, we had to make sure we had wpad.domain defined for all of our subdomains such as wpad.it.gac.edu, wpad.res-hall.gac.edu, etc. all pointing to our real, wpad.gac.edu.</p>
<p>Hopefully this will help our bandwith usage a bit.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreservices.blog.gustavus.edu/2005/10/26/automatic-proxy-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Failure</title>
		<link>http://coreservices.blog.gustavus.edu/2005/08/26/email-failure/</link>
		<comments>http://coreservices.blog.gustavus.edu/2005/08/26/email-failure/#comments</comments>
		<pubDate>Sat, 27 Aug 2005 03:26:02 +0000</pubDate>
		<dc:creator>Dan Oachs</dc:creator>
				<category><![CDATA[GAC IT]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://coreservices.blog.gustavus.edu/2005/08/26/email-failure/</guid>
		<description><![CDATA[For an hour or so today our email server was rejecting email.  The server would respond with an error that the account does not exist.  It turns out that it could not look up users in LDAP because one of our LDAP servers was having a problem handling the load.  The LDAP [...]]]></description>
			<content:encoded><![CDATA[<p>For an hour or so today our email server was rejecting email.  The server would respond with an error that the account does not exist.  It turns out that it could not look up users in LDAP because one of our LDAP servers was having a problem handling the load.  The LDAP server thought it had too many open files.  To fix the problem we have added another LDAP server and also added an idletimeout of 60 seconds.  Hopefully that will help us handle the load and keep the LDAP servers functioning properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreservices.blog.gustavus.edu/2005/08/26/email-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
