<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Dude where's my PFE? : Exchange 2003</title><link>http://blogs.technet.com/jeff_stokes/archive/tags/Exchange+2003/default.aspx</link><description>Tags: Exchange 2003</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Defeated by Unexpected Transaction Log File growth</title><link>http://blogs.technet.com/jeff_stokes/archive/2009/01/25/defeated-by-unexpected-transaction-log-file-growth.aspx</link><pubDate>Sun, 25 Jan 2009 20:23:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3191270</guid><dc:creator>jeffstok</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/jeff_stokes/comments/3191270.aspx</comments><wfw:commentRss>http://blogs.technet.com/jeff_stokes/commentrss.aspx?PostID=3191270</wfw:commentRss><wfw:comment>http://blogs.technet.com/jeff_stokes/rsscomments.aspx?PostID=3191270</wfw:comment><description>&lt;P&gt;&lt;EM&gt;Applies to Exchange 2003, concepts apply to 2007 as well.&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've bumped into a few cases recently where the customer had unexpected transaction log file growth that caused the server to dismount a storage group due to lack of disk space.&amp;nbsp; In this post I'll attempted to explain why this occurs, how to troubleshoot it, etc.&lt;/P&gt;
&lt;P&gt;The short of it is transaction log file growth usually occurs because of a repeating transaction.&amp;nbsp; It can be a looping message, a mis-behaving client, or a corrupt message.&amp;nbsp; Looping messages I've seen done by users setting up special things on their Outlook clients.&amp;nbsp;&amp;nbsp;Consider the following example:&lt;/P&gt;
&lt;P&gt;A user leaves for the weekend.&amp;nbsp; They are expecting an important email, so they put in a forward rule to forward all email to their mobile phone's email address.&amp;nbsp; They either &amp;nbsp;1)mis-type that address, or 2)their phone's email box doesn't accept messages above a certain size.&amp;nbsp; In the event of 1), every message sent to the user is going to hit the mail servers of the phone provider and bounce with an invalid address.&amp;nbsp; This NDR will come back and hit the mailbox of the user, where the forward rule will forward the NDR to the phone, which will bounce and come back to the inbox, where it will forward the NDR to the phone......&amp;nbsp; In the event of 2), any message above the size limit will trigger the loop above (unless the ISP's mail server knows not to append the offending email as an attachment to the NDR).&lt;/P&gt;
&lt;P&gt;This is a real world example I've personally run into.&amp;nbsp; Users can and will do all kinds of bizarre things that under the light of day seem obtuse, but in the heat of the moment make sense.&lt;/P&gt;
&lt;P&gt;So how do you track this down?&lt;/P&gt;
&lt;P&gt;The normal troubleshooting path I take for this type of problem is:&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; Run Exmon.&amp;nbsp; Tell me if a single user is taking something silly like 50% of the servers resources.&amp;nbsp; If you're spooling out transaction logs like it's nobody's business and Exmon shows a user at 50%+ and they are in the same Storage Group as the&amp;nbsp;spooling transaction logs,&amp;nbsp;then chances are you've found your man.&amp;nbsp; If Exmon doesn't point anything out of the ordinary, then proceed to step 2:&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; Go to your Exchange System Manager, drill down to the Storage Group that you're seeing the transaction log growth on.&amp;nbsp; Expand each database and visit the logins area.&amp;nbsp; Add columns for MSG Ops, Folder Ops, Total Ops, and sort by high/low and see if you have one user towering above the rest.&amp;nbsp; Do this for each database.&amp;nbsp; If you've got a single user standing out, again, this is very likely your culprit.&amp;nbsp; Log into their mailbox, see if there is something stuck in the Outbox, or&amp;nbsp;check their active client for any&amp;nbsp;client-side rule that may be at fault.&amp;nbsp; Worse comes to worse, disable the user's mail.&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp; User Scott Oseychik's guide on Transaction Log analysis to figure out what the offending message might be:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/scottos/archive/2007/07/12/rough-and-tough-guide-to-identifying-patterns-in-ese-transaction-log-files.aspx"&gt;http://blogs.msdn.com/scottos/archive/2007/07/12/rough-and-tough-guide-to-identifying-patterns-in-ese-transaction-log-files.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This is an excellent guide and needs no further clarification.&lt;/P&gt;
&lt;P&gt;4.&amp;nbsp; If this doesn't work out for you at this point, call into support, it could be a problem with a mobile device syncing or an OWA session trying to process a corrupt message (I've seen both scenarios).&amp;nbsp; Only a series of store dumps collected with adplus will tell us that.&lt;/P&gt;
&lt;P&gt;I hope this helps in your troubleshooting efforts.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3191270" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jeff_stokes/archive/tags/Exchange+2003/default.aspx">Exchange 2003</category><category domain="http://blogs.technet.com/jeff_stokes/archive/tags/Transaction+Log/default.aspx">Transaction Log</category><category domain="http://blogs.technet.com/jeff_stokes/archive/tags/growth/default.aspx">growth</category></item><item><title>How to get rid of 9646 events</title><link>http://blogs.technet.com/jeff_stokes/archive/2008/11/25/how-to-get-rid-of-9646-events.aspx</link><pubDate>Tue, 25 Nov 2008 23:16:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3159459</guid><dc:creator>jeffstok</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/jeff_stokes/comments/3159459.aspx</comments><wfw:commentRss>http://blogs.technet.com/jeff_stokes/commentrss.aspx?PostID=3159459</wfw:commentRss><wfw:comment>http://blogs.technet.com/jeff_stokes/rsscomments.aspx?PostID=3159459</wfw:comment><description>&lt;P&gt;&lt;EM&gt;Applies to Exchange 2003&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Event Type: Error &lt;BR&gt;Event Source: MSExchangeIS &lt;BR&gt;Event Category: General &lt;BR&gt;Event ID: &lt;SPAN id=#h6 class=KeywordHighlight&gt;9646&lt;/SPAN&gt; &lt;BR&gt;Description: &lt;BR&gt;Mapi session "/o=&amp;lt;org&amp;gt;/ou=First Administrative &lt;BR&gt;Group/cn=Recipients/cn=&amp;lt;userName&amp;gt;" exceeded the maximum of 32 objects of type "session". &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Seen these in your environment?&amp;nbsp; Sometimes they are caused by desktop search engines opening too many MAPI sessions, other times they are because your Exchange server is keeping open connections from the client that the client for whatever reason thinks are closed.&lt;/P&gt;
&lt;P&gt;For example, say you have users connecting to Exchange over a poor network connection or VPN.&amp;nbsp; When Outlook connects, it establishes MAPI sessions.&amp;nbsp; If the users drops the VPN connection without closing Outlook first, those connections are going to stay open on the Exchange server for 2 hours.&amp;nbsp; If the user connects again, more connections get added to the Exchange server for that user.&amp;nbsp; See where we're going with this?&amp;nbsp; If you max out, new connections will fail, resulting in an unhappy end user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;So how do you fix this?&lt;/P&gt;
&lt;P&gt;Well, one of three ways.&lt;/P&gt;
&lt;P&gt;You can try to prevent your clients from doing so many connections by educating your users, making changes in Outlook 2007, correctly configuring Network Accelerators to not keep connections open, etc.&lt;/P&gt;
&lt;P&gt;You can tell Windows/Exchange that 2 hours is far too long to keep a session open without activity.&amp;nbsp; To do this you follow the instructions in this document, specifically the TCP KeepAliveTime, set that to 5 minutes.&lt;/P&gt;
&lt;P&gt;KB324270&amp;nbsp;How to harden the TCP/IP stack against denial of service attacks in Windows Server 2003.&lt;BR&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;324270"&gt;http://support.microsoft.com/default.aspx?scid=kb;EN-US;324270&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Or finally, and the last resort, you can add additional allowable sessions by following KB842022.&amp;nbsp; Note that this is a last resort, as in many cases you are merely delaying your pain for later.&amp;nbsp; Note the warning:&amp;nbsp; "If you do this, try to determine the minimum value that you can use so that the client program can run without problems. If you raise the limit too high, the client program might affect the performance of the Exchange Server computer."&lt;/P&gt;
&lt;P&gt;Event ID 9646 is logged in the application event log of your Exchange Server 2003 computer when a client opens many MAPI sessions.&lt;BR&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;842022" mce_href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;842022"&gt;http://support.microsoft.com/default.aspx?scid=kb;EN-US;842022&lt;/A&gt;.&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3159459" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jeff_stokes/archive/tags/Exchange+2003/default.aspx">Exchange 2003</category><category domain="http://blogs.technet.com/jeff_stokes/archive/tags/TCP+KeepAliveTime/default.aspx">TCP KeepAliveTime</category><category domain="http://blogs.technet.com/jeff_stokes/archive/tags/9646/default.aspx">9646</category><category domain="http://blogs.technet.com/jeff_stokes/archive/tags/MSExchangeIS/default.aspx">MSExchangeIS</category></item><item><title>Repeating 623 version store error.</title><link>http://blogs.technet.com/jeff_stokes/archive/2008/10/26/repeating-623-version-store-error.aspx</link><pubDate>Sun, 26 Oct 2008 22:38:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3142189</guid><dc:creator>jeffstok</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/jeff_stokes/comments/3142189.aspx</comments><wfw:commentRss>http://blogs.technet.com/jeff_stokes/commentrss.aspx?PostID=3142189</wfw:commentRss><wfw:comment>http://blogs.technet.com/jeff_stokes/rsscomments.aspx?PostID=3142189</wfw:comment><description>&lt;P&gt;&lt;EM&gt;Applies to Exchange 2003&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I had a case a couple weeks ago I thought I'd write about.&amp;nbsp; What was happening is the Version Store would run out of memory and a 623 error would throw.&amp;nbsp; Version Store buckets allocated would climb from 4 to over 2000 in less than 5 minutes.&amp;nbsp; The store would then rollback its transactions for a bit, recover, run for 10-15 minutes and repeat the whole cycle over.&lt;/P&gt;
&lt;P&gt;This is atypical 623 behavior to say the least.&lt;/P&gt;
&lt;P&gt;What we ended up doing to fix it was capture an adplus dump, 3 actually, triggered at Version Store buckets allocated crossing 1600.&amp;nbsp; We captured 3 dumps at 1 minute intervals.&lt;/P&gt;
&lt;P&gt;The 1st dump caught the problem transaction, the last 2 were both capturing rollbacks, so this was a quick ramp up.&lt;/P&gt;
&lt;P&gt;Turns out the problem was being caused by a bad meeting request being processed over and over again.&amp;nbsp; We tried all kinds of ways to delete the message, all of which caused Version Store buckets allocated to climb.&amp;nbsp; A MFCMapi hard delete ended up doing the trick.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3142189" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jeff_stokes/archive/tags/Exchange+Version+Store/default.aspx">Exchange Version Store</category><category domain="http://blogs.technet.com/jeff_stokes/archive/tags/Exchange+2003/default.aspx">Exchange 2003</category></item><item><title>How to fix smashed schema in Exchange 2003</title><link>http://blogs.technet.com/jeff_stokes/archive/2008/10/08/how-to-fix-smashes-schema-in-exchange-2003.aspx</link><pubDate>Thu, 09 Oct 2008 00:53:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3134306</guid><dc:creator>jeffstok</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/jeff_stokes/comments/3134306.aspx</comments><wfw:commentRss>http://blogs.technet.com/jeff_stokes/commentrss.aspx?PostID=3134306</wfw:commentRss><wfw:comment>http://blogs.technet.com/jeff_stokes/rsscomments.aspx?PostID=3134306</wfw:comment><description>&lt;P&gt;Dan and I and some other engineers wrote up a blog post you can find &lt;A class="" href="http://blogs.msdn.com/webdav_101/archive/2008/08/23/broken-exchange-schema-allprops-sinks-and-or-exoledb-fail-to-return-properties.aspx" mce_href="http://blogs.msdn.com/webdav_101/archive/2008/08/23/broken-exchange-schema-allprops-sinks-and-or-exoledb-fail-to-return-properties.aspx"&gt;here&lt;/A&gt;&amp;nbsp;on how to recover from a smashes schema scenario on your Exchange Servers.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's pretty succinct so I don't have anything to add to it, it's an interesting read though.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3134306" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/jeff_stokes/archive/tags/Exchange+2003/default.aspx">Exchange 2003</category><category domain="http://blogs.technet.com/jeff_stokes/archive/tags/schema/default.aspx">schema</category></item></channel></rss>