<?xml version="1.0"?>
<!-- name="generator" content="blosxom/2.0" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
  <channel>
    <title>Az's Link Spam   </title>
    <link>http://www.underhanded.org/blog</link>
    <description>I'm Bored</description>
    <language>en</language>

  <item>
    <title>Apache Memory Usage</title>
    <link>http://www.underhanded.org/blog/2008/07/18#apachemem</link>
    <description>
After a day of trying to figure out why one of my web servers was locking up, I found that it was using a bit too much memory.  But I had no idea how much, and Linux memory reporting is a bit arcane at best.  Especially with something like apache + PHP using shared memory pools.  So after some analysis, I came up with the following script:
&lt;br&gt;&lt;br&gt;
&lt;a href=&quot;/apachemem.pl.txt&quot;&gt;apachemem.pl&lt;/a&gt;
&lt;br&gt;&lt;br&gt;
It had the following output:
&lt;br&gt;&lt;br&gt;
&lt;pre&gt;
Total memory available: 3.21G
Total used by apache2 (451 instances): 3.80G
Total used by other processes: 0.12G

Average memory used per apache2 process: 8.63M
Recommended number of processes based on Average: 381
Needed memory for 500 processes based on Average: 4.21G

Max memory used for apache2 process: 17.61M
Recommended number of processes based on Max: 186
Needed memory for 500 processes based on Max: 8.60G

Mean plus two Standard Deviations (bulk of usage under max): 11.28M
Recommended number of processes based on Mean + 2*Stdev: 291
Needed memory for 500 processes based on Mean + 2*Stdev: 5.51G
&lt;/pre&gt;

At the time I ran it, I had 450 instances out of a configured max of 700 active.  Come to find out I only had the ram to support about 380 of those at best. :(
&lt;br&gt;&lt;br&gt;
Hopefully some other people find this useful, as it's pretty hard to get a straight answer on &quot;How many processes can I support?&quot;  Now if only php and the standard modules
would officially work with the worker MPM.</description>
  </item>
  <item>
    <title>Apache Keepalive</title>
    <link>http://www.underhanded.org/blog/2008/04/30#keepalive</link>
    <description>
So, for the web servers at work, we had disabled Apache's &lt;a href=&quot;http://www.underhanded.org/blog?redirectURL=http%3A%2F%2Fhttpd.apache.org%2Fdocs%2F2.2%2Fmod%2Fcore.html%23keepalive&quot; onMouseOver=&quot;window.status='http://httpd.apache.org/docs/2.2/mod/core.html#keepalive'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=&quot;_BLANK&quot;&gt;KeepAlive&lt;/a&gt; settings due to possible denial of service.  As part of some performance tuning I had turned it back on with a low timeout (4 seconds) to see how it held up.  Here's the results:
&lt;br&gt;&lt;br&gt;
&lt;center&gt;&lt;img src=&quot;/pics/concurrent.png&quot; alt=&quot;Concurrent Connections&quot; /&gt;&lt;/center&gt;
&lt;br&gt;&lt;br&gt;
The drop on the right is where KeepAlive was turned on.  We did need to increase our MaxServers a bit for when load got high, but overall it's resulted in a huge speedup for the servers and less thrashing in general.</description>
  </item>
  <item>
    <title>The Escapist</title>
    <link>http://www.underhanded.org/blog/2005/07/19#escapist2</link>
    <description>
I probably should have mentioned it when it launched last week, but &lt;a href=&quot;http://www.underhanded.org/blog?redirectURL=http%3A%2F%2Fwww.escapistmagazine.com%2F&quot; onMouseOver=&quot;window.status='http://www.escapistmagazine.com/'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=&quot;_BLANK&quot;&gt;The Escapist&lt;/a&gt;
launched last Tuesday.  It's a magazine put out by the people I work with that deals with the Gaming Industry via a different topic each week.
There's a new issue every Tuesday, with a supplement every Friday.
&lt;br&gt;&lt;br&gt;
I personally was never much for writing, so mainly I just babysit and maintain the server and software behind the site.  Note to self:  Apache
does NOT like being restarted when there's a few thousand connections to the web server.  Trying to rotate logs to address an internal issue caused a chain
of events simultaneously with a &lt;a href=&quot;http://www.underhanded.org/blog?redirectURL=http%3A%2F%2Fgames.slashdot.org%2Farticle.pl%3Fsid%3D05%2F07%2F12%2F1812244&quot; onMouseOver=&quot;window.status='http://games.slashdot.org/article.pl?sid=05/07/12/1812244'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=&quot;_BLANK&quot;&gt;double&lt;/a&gt;
&lt;a href=&quot;http://www.underhanded.org/blog?redirectURL=http%3A%2F%2Fgames.slashdot.org%2Farticle.pl%3Fsid%3D05%2F07%2F12%2F159258&quot; onMouseOver=&quot;window.status='http://games.slashdot.org/article.pl?sid=05/07/12/159258'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=&quot;_BLANK&quot;&gt;Slashdotting&lt;/a&gt;.  But the actual traffic it handled well once it was back up.  *whistles innocently*
&lt;br&gt;&lt;br&gt;
This week deals with mobile gaming.  Check it out.</description>
  </item>
  <item>
    <title>Woohoo!  E3!</title>
    <link>http://www.underhanded.org/blog/2005/05/09#firste3</link>
    <description>
Heading out to E3 in LA for my first time.  Not sure exactly what I'll be doing yet, but should be an interesting experience.  Especially since I'm going as Press.  Free Loot!</description>
  </item>
  <item>
    <title>Run fast, run far</title>
    <link>http://www.underhanded.org/blog/2005/03/20#greatoldones</link>
    <description>
This is what you get when you're trapped in an office with a Canadian and a Mac user for too long.
&lt;br&gt;
&lt;a href=&quot;/cthwtf.jpg&quot;&gt;End of days.&lt;/a&gt;</description>
  </item>
  <item>
    <title>The End Is At Hand</title>
    <link>http://www.underhanded.org/blog/2004/09/14#end_of_days</link>
    <description>
Welp, the final &lt;a href=&quot;http://www.underhanded.org/blog?redirectURL=http%3A%2F%2Fwww.ryzom.com%2F&quot; onMouseOver=&quot;window.status='http://www.ryzom.com/'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=&quot;_BLANK&quot;&gt;Ryzom&lt;/a&gt; open Beta ended today, for better or worse.  The next couple weeks should prove interesting.
Still not sure what we're going to be doing during the downtime.  I'm voting for a 3 day bender where we all see just how drunk we can be while playing Cyberpunk.
&lt;br&gt;&lt;br&gt;
Which reminds me, &lt;a href=&quot;http://www.underhanded.org/blog?redirectURL=http%3A%2F%2Fwww.arch0n.com%2F&quot; onMouseOver=&quot;window.status='http://www.arch0n.com/'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=&quot;_BLANK&quot;&gt;Alex&lt;/a&gt; has dropped hints at the Ryzom release party being a bash of great proportions.  And &lt;a href=&quot;http://www.underhanded.org/blog?redirectURL=http%3A%2F%2Fwww.themis-group.com&quot; onMouseOver=&quot;window.status='http://www.themis-group.com'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=&quot;_BLANK&quot;&gt;Themis&lt;/a&gt;
already has a rep for crazy parties.  The five or so he's thrown in the 3 months I've been here have been a blast, but fairly tame.  And he never skimps on the high quality
booze either. ;)  This should be good, as long as it isn't anywhere near my shift post-release.  Best we can hope for is a slightly pre-release date where we all have off...
&lt;br&gt;&lt;br&gt;
But of course, can't give any details of what does go on.  What happens at a Themis party stays at a Themis party. :p
&lt;br&gt;&lt;br&gt;&lt;br&gt;
...Yeah so.  Get your damn &lt;a href=&quot;http://www.underhanded.org/blog?redirectURL=http%3A%2F%2Fwww.ryzom.com%2F%3Fmore%3DpreorderUS&quot; onMouseOver=&quot;window.status='http://www.ryzom.com/?more=preorderUS'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=&quot;_BLANK&quot;&gt;Ryzom pre-orders&lt;/a&gt; in now.  Az likes getting payed.</description>
  </item>
  <item>
    <title>Putting old DVDs to good use</title>
    <link>http://www.underhanded.org/blog/2004/08/25#DVD_tower_of_DOOM</link>
    <description>
Yeah, so a few weeks ago I got really bored at work.  It was after my shift, and I was hanging around abusing the computer resources as usual.
Then... I noticed that we had all these poor little &lt;a href=&quot;http://www.underhanded.org/blog?redirectURL=http%3A%2F%2Fwww.ryzom.com%2F&quot; onMouseOver=&quot;window.status='http://www.ryzom.com/'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=&quot;_BLANK&quot;&gt;Ryzom&lt;/a&gt; Beta CDs laying around looking all lonely.&lt;br&gt;&lt;br&gt;
So, I was walking around giving my eyes a break from the 'putar, and decided to build a tower of doom like I used to do with playing cards.
A half hour later I had a nice 11 story tower.  Topped off with an empty bottle of Bawls for that artistic touch.&lt;br&gt;&lt;br&gt;
It managed to survive all weekend, and Monday morning (when I wasn't here), everyone else came in and saw it.  They took some pictures and then took a video of them knocking it down.  Unfortunately SOMEONE taped over the video.&lt;br&gt;&lt;br&gt;
But we do have the &lt;a href=&quot;/work/&quot;&gt;pictures&lt;/a&gt;  (And we even put the intern to work as a display model!  ...And I'm probably going to get coffee poisoning for putting that online. :) )</description>
  </item>
  </channel>
</rss>