<?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>blog.mbentley.net &#187; windows</title>
	<atom:link href="http://blog.mbentley.net/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mbentley.net</link>
	<description>it&#039;s not clutter, just organized chaos</description>
	<lastBuildDate>Sun, 06 Nov 2011 23:31:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>iPhone iOS 4 &amp; 5 upgrade &#8211; restore lost pictures in camera roll</title>
		<link>http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/</link>
		<comments>http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 23:30:34 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[3gs]]></category>
		<category><![CDATA[4]]></category>
		<category><![CDATA[4s]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[camera empty]]></category>
		<category><![CDATA[camera roll]]></category>
		<category><![CDATA[failed]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[iOS 4]]></category>
		<category><![CDATA[iOS4]]></category>
		<category><![CDATA[iphone 3g]]></category>
		<category><![CDATA[iphone 3gs]]></category>
		<category><![CDATA[iphone 4]]></category>
		<category><![CDATA[iphone 4s]]></category>
		<category><![CDATA[iphone os 4]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lost pictures]]></category>
		<category><![CDATA[lost video]]></category>
		<category><![CDATA[mac osx]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[missing pictures]]></category>
		<category><![CDATA[no pictures]]></category>
		<category><![CDATA[no pictures or videos]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=364</guid>
		<description><![CDATA[update 10/21/2011 &#8211; it appears that this bug has come up again with a number of people who have updated to iOS 5. luckily, the solution is the same as before. i have updated the instructions to help with any changes that iOS 5 added. before you start &#8211; this will only work if your [...]]]></description>
			<content:encoded><![CDATA[<p><strong>update 10/21/2011</strong> &#8211; it appears that this bug has come up again with a number of people who have updated to iOS 5.  luckily, the solution is the same as before.  i have updated the instructions to help with any changes that iOS 5 added.</p>
<p><strong>before you start</strong> &#8211; this will only work if your photos actually exist on your device but do not show up in in the camera roll.  you can verify that photos exist on your device by looking <a href="http://blog.mbentley.net/wp-content/uploads/2010/06/iTunes_graph.png" class="smoothbox">graph at the bottom of iTunes</a> and by <a href="http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/comment-page-6/#comment-5513">checking your device</a> for the actual picture files.  if you post comments about having problems but don&#8217;t mention that you haven&#8217;t verified that your photos are still available on your device, i&#8217;m sorry but i won&#8217;t be able to help you.</p>
<hr />
<p>so i decided to upgrade to the new iOS 4 on my iphone 3gs to see what it is all about.  everything went smoothly.  i installed itunes 9.2, downloaded the new firmware, asked my phone to do a restore using the new firmware and then had it restore my latest backup of info.  everything seemed perfect after syncing with itunes but then i went into my camera roll and noticed i had no pictures!  in itunes, it showed over 1 GB worth of pictures so why were they not showing up?  i searched online for a little while i didn&#8217;t really come up with much at first.  many different solutions:  do a backup, sync, reboot, etc but nothing worked.  then i came across <a href="http://discussions.info.apple.com/thread.jspa?messageID=11734450">this discussion</a> on the apple forums.  i have slightly modified the steps.  if you use windows or osx, you can download <a href="http://www.macroplant.com/iphoneexplorer/">iphone explorer</a> and follow these steps:</p>
<pre>these steps are out of date.  see below for updated steps.
<del datetime="2011-10-21T21:33:12+00:00">1.) connect your iphone using the usb cable
2.) launch iphone explorer
3.) backup and then delete the following files (<a href="http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/comment-page-4/#comment-3200">backup instructions</a>):
     /DCIM/.MISC/Info.plist
     /PhotoData/Photos.sqlite
     /PhotoData/PhotosAux.sqlite
4.) reboot your iphone</del></pre>
<p>a recent update to iphone explorer may have changed the folder paths.  if you don&#8217;t see the folders mentioned, try the following:</p>
<pre>1.) connect your iphone using the usb cable
2.) launch iphone explorer
3.) backup and then delete the following files (<a href="http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/comment-page-4/#comment-3200">backup instructions</a>):
     /Media/DCIM/.MISC/Info.plist
     /Media/PhotoData/MISC/DCIM_APPLE.plist
     /Media/PhotoData/Photos.sqlite (or /PhotoData/Photos.sqlite)
     /Media/PhotoData/PhotosAux.sqlite (or /PhotoData/PhotosAux.sqlite)
4.) reboot your iphone</pre>
<p>note:  if you don&#8217;t have the file PhotosAux.sqlite, that&#8217;s not a problem.  It is a database of the location of where photos were taken which is extracted from the EXIF data of the pictures.  i would guess that it is uses by the Places feature in the camera roll.</p>
<p>if your phone is jailbroken and you are in &#8216;root&#8217; view in iphone explorer, these instructions &#038; file locations should work:</p>
<pre>1.) connect your iphone using the usb cable
2.) launch iphone explorer
3.) backup and then delete the following files:
     /private/var/mobile/Media/PhotoData/.MISC/Info.plist
     /private/var/mobile/Media/PhotoData/MISC/DCIM_APPLE.plist
     /private/var/mobile/Media/PhotoData/Photos.sqlite
     /private/var/mobile/Media/PhotoData/PhotosAux.sqlite
4.) reboot your iphone</pre>
<p>if you have linux, you shouldn&#8217;t need anything as long as you can mount your iphone as a device and delete the files listed above.  i used debian (squeeze) to access the files as it automatically mounts my iphone when i plug it in.  i just enabled &#8216;view hidden files&#8217; and i could access the files to delete.</p>
<p>once you have done that, just open your camera roll and it should re-index all of your photos!</p>
<p>*edit:  as Phil has pointed out in the comments, if the file &#8216;/DCIM/.MISC/Info.plist&#8217; does not exist or if you can&#8217;t find the folder &#8216;/DCIM/.MISC&#8217;, just skip past that file and follow the rest of the directions and it should still restore your photos in the camera roll.</p>
<p>*edit:  has anyone had this happen with the latest update to iOS 5?  i am curious whether or not it is happening again with the latest iOS.  if it is, please let me know in the comments.  thanks!</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/6e9qabx&amp;title=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/6e9qabx&amp;title=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/6e9qabx" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/6e9qabx&amp;title=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll+@+http://tinyurl.com/6e9qabx" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/feed/</wfw:commentRss>
		<slash:comments>520</slash:comments>
		</item>
		<item>
		<title>port 25 blocked by your ISP &amp; exchange 2003</title>
		<link>http://blog.mbentley.net/2010/02/port-25-blocked-by-your-isp-exchange-2003/</link>
		<comments>http://blog.mbentley.net/2010/02/port-25-blocked-by-your-isp-exchange-2003/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 15:12:46 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[blocked ports]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[exchange 2003]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[port 25]]></category>
		<category><![CDATA[port 587]]></category>
		<category><![CDATA[port forwarding]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows server 2003]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=183</guid>
		<description><![CDATA[as many people are aware, many ISPs block traffic on port 25 in order to attempt to prevent spammers from using bot infected hosts on their networks. this can be a problem for people who want to run a mail server from their home connection. yes, i realize that running an email server violates the [...]]]></description>
			<content:encoded><![CDATA[<p>as many people are aware, many ISPs block traffic on port 25 in order to attempt to prevent spammers from using bot infected hosts on their networks.  this can be a problem for people who want to run a mail server from their home connection.  yes, i realize that running an email server violates the TOS of most providers but that is a discussion for another day.  i personally use my email server as a learning experience but i also use it for my primary personal email.</p>
<p>users of comcast have recently reported that they are no longer able to relay their mail using &#8216;smtp.comcast.net&#8217; over port 25.  comcast had previously allowed port 25 traffic to be relayed inside their network when going to &#8216;smtp.comcast.net&#8217;.  unfortunately they are no longer allowing this which is a major problem for me any anyone who is using comcast&#8217;s smtp server as a smtp connector in exchange.</p>
<table border="0">
<tr>
<td valign="top">the easiest way to get around this problem is by changing the port in which your exchange server sends and receives email.  in my case, i decided to change mine to port 587 which is what comcast is using as the chances of them blocking that port is a bit slimmer than before.  in order to change this, i had to modify the port setting in two places (for each smtp server i had running).  start by opening <b>Exchange System Manager</b>.  from there, go to <b>Administrative Groups</b> > <b>First Administrative Group</b> > <b>Servers</b> > <b>[servername]</b> > <b>Protocols</b> > <b>SMTP</b> > then right click on <b>Default SMTP Virtual Server</b> and choose <b>Properties</b>.</td>
<td><a href="http://blog.mbentley.net/wp-content/uploads/2010/02/exchange_1.png" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/02/exchange_1-300x195.png" alt="" title="exchange_1" width="300" height="195" class="alignnone size-medium wp-image-189" /></a></td>
</tr>
</table>
<p>
then go to <strong>Advanced</strong> > <strong>Edit</strong> > then change the <strong>TCP port</strong> to the new port (in this case, <strong>587</strong>).  click <strong>OK</strong> twice and then click on the <strong>Delivery</strong> tab > <strong>Outbound connections</strong>.  change <strong>TCP port</strong> from 25 to the new value.  then choose <strong>OK</strong> twice which will return you to the <strong>Exchange System Manager</strong>.  if you have another exchange server in your organization, you will need to perform the same steps for the other servers.  once you have done this, you will need to restart the <strong>Default SMTP Virtual Server(s)</strong> for the changes to take effect (or a restart would work as well).</p>
<table border="0" width="100%">
<tr>
<td align="center"><a href="http://blog.mbentley.net/wp-content/uploads/2010/02/exchange_2.png" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/02/exchange_2-300x195.png" alt="" title="exchange_2" width="300" height="195" class="alignnone size-medium wp-image-190" /></a></td>
<td align="center"><a href="http://blog.mbentley.net/wp-content/uploads/2010/02/exchange_3.png" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/02/exchange_3-300x195.png" alt="" title="exchange_3" width="300" height="195" class="alignnone size-medium wp-image-188" /></a></tr>
</table>
<p>i use port forwarding on my router which i have setup to route incoming port 25 traffic to port 587.  even though port 25 is blocked, it enables me to connect using the default server port of 25 from inside my network.  i also use a no-ip service for incoming smtp redirection which will redirects all of my mail traffic to a high port so it will not be blocked by my ISP.  i had to configure the port forwarding on my router to point to port 587 internally instead of port 25 while still listening on the high port number as before.  this allows my email to continue to send and receive properly despite having port 25 blocked by my ISP.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/498z6kb&amp;title=port+25+blocked+by+your+ISP+%26%23038%3B+exchange+2003" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/498z6kb&amp;title=port+25+blocked+by+your+ISP+%26%23038%3B+exchange+2003" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/498z6kb" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/498z6kb&amp;title=port+25+blocked+by+your+ISP+%26%23038%3B+exchange+2003" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=port+25+blocked+by+your+ISP+%26%23038%3B+exchange+2003+@+http://tinyurl.com/498z6kb" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/02/port-25-blocked-by-your-isp-exchange-2003/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>optimizing vmware server 2.0 on a linux host</title>
		<link>http://blog.mbentley.net/2010/02/optimizing-vmware-server-2-0-on-a-linux-host-2/</link>
		<comments>http://blog.mbentley.net/2010/02/optimizing-vmware-server-2-0-on-a-linux-host-2/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 18:43:21 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[/dev/shm]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[ram]]></category>
		<category><![CDATA[ramdisk]]></category>
		<category><![CDATA[server 2003]]></category>
		<category><![CDATA[server 2008]]></category>
		<category><![CDATA[tmpfs]]></category>
		<category><![CDATA[vmware server]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=63</guid>
		<description><![CDATA[like many people, i like to tinker with all sorts of different technology including multiple operating systems as well as the different roles they can play. one of the best ways that i can do that is by using a virtualization product. i just happen to use vmware server 2.0 on my debian lenny server. [...]]]></description>
			<content:encoded><![CDATA[<p>like many people, i like to tinker with all sorts of different technology including multiple operating systems as well as the different roles they can play.  one of the best ways that i can do that is by using a virtualization product.  i just happen to use vmware server 2.0 on my <a href="http://www.mbentley.net/myserver.shtml">debian lenny server</a>.  <a href="http://www.vmware.com/">vmware</a> is one of the leaders in virtualization (if not <strong>the</strong> leader).</p>
<p>at home, i have five virtual machines that i rely on heavily for my day-to-day operations.  i have two windows server 2008 domain controllers, two windows server 2003 servers running exchange 2003 and one windows server 2008 computer i use for remote desktop and management of services.  some of these services can provide a fair load on my server and i was starting to see the impact, especially from my win2k8 vms.  it seems that there are a number of optimizations that are not enabled by default in vmware server.  i searched far and wide through vmware kb docs as well as blogs and web forums and came up with the following optimizations:</p>
<p>force virtual machines to run in shared memory (in ram)<br />
inside &#8216;/etc/vmware/config&#8217; lies the default config for vmware.  add the following lines at the end:</p>
<pre>MemTrimRate = "0"
mainMem.useNamedFile = "FALSE"
sched.mem.pshare.enable = "FALSE"
tmpDirectory="/dev/shm"</pre>
<p>this will ensure that virtual machines actually store their virtual memory on /dev/shm.  /dev/shm is a location that most linux distributions use for shared memory that is located directly on ram (think of a ramdisk).  you will want to make sure that your host makes uses of /dev/shm as seen below:</p>
<pre>root@athena:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md0               67G  7.3G   56G  12% /
tmpfs                 4.0G     0  4.0G   0% /lib/init/rw
udev                   10M  972K  9.1M  10% /dev
<em>tmpfs                 8.0G  5.1G  3.0G  64% /dev/shm</em>
/dev/md2              917G  665G  207G  77% /media/md2
/dev/md3              917G  556G  315G  64% /media/md3</pre>
<p>the text in italics above is what you are looking for.  by default, most distros will not allocate that much space for shared memory.  however, you can specify the size in the file &#8216;/etc/default/tmpfs&#8217;:</p>
<pre># SHM_SIZE sets the maximum size (in bytes) that the /dev/shm tmpfs can use.
# If this is not set then the size defaults to the value of TMPFS_SIZE
# if that is set; otherwise to the kernel's default.
#
# The size will be rounded down to a multiple of the page size, 4096 bytes.
SHM_SIZE=8G</pre>
<p>by default the variable seen above will be blank (ie &#8211; &#8216;SHM_SIZE=&#8217;).  i set mine to 8GB because i have 8GB of ram in my server.  the great thing about using shared memory is that if you happen to actually fill up your system&#8217;s ram, it will start using swap space instead of just running out of room.</p>
<p>next, i added a few lines to the file &#8216;/etc/sysctl.conf&#8217;:</p>
<pre>vm.swappiness = 0
vm.overcommit_memory = 1
vm.dirty_background_ratio = 5
vm.dirty_ratio = 10
vm.dirty_expire_centisecs = 1000</pre>
<p>it is my understanding that these are meant to help prevent vmware from using the swap file unnecessarily.</p>
<p>last but not least, i needed to do a little bit of optimization of my file system.  my server uses software raid 1 with an ext3 file system so write performance isn&#8217;t amazing but to speed things up, i changed a few of the mount options in my &#8216;/etc/fstab&#8217;:</p>
<pre> /etc/fstab: static file system information.
#
# &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;          &lt;options&gt;                       &lt;dump&gt;  &lt;pass&gt;
proc            /proc           proc            defaults                        0       0
/dev/md0        /               ext3            errors=remount-ro,relatime      0       1
/dev/md1        none            swap            sw                              0       0
/dev/scd0       /media/cdrom0   udf,iso9660     user,noauto                     0       0
/dev/md2        /media/md2      ext3            defaults<em>,noatime,nodiratime</em>     0       2
/dev/md3        /media/md3      ext3            defaults<em>,noatime,nodiratime</em>     0       2</pre>
<p>i added the &#8216;noatime,nodiratime&#8217; options so that write times are not constantly being recorded causing excessive delays.</p>
<p>these settings seem to make my virtual machines run smoother and boot much faster.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/4gxc39w&amp;title=optimizing+vmware+server+2.0+on+a+linux+host" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/4gxc39w&amp;title=optimizing+vmware+server+2.0+on+a+linux+host" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/4gxc39w" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/4gxc39w&amp;title=optimizing+vmware+server+2.0+on+a+linux+host" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=optimizing+vmware+server+2.0+on+a+linux+host+@+http://tinyurl.com/4gxc39w" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/02/optimizing-vmware-server-2-0-on-a-linux-host-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

