<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Snippets from the reprap-admin list</title>
        <description> Administration of the reprap.org domain and its server is pretty well hidden so far. But it exists! There&#039;s a invitation-only reprap-admin mailing list and with the recent dropouts, this list became pretty active quickly. To give the RepRap community a better feeling about what happens, I&#039;ll post here a snippet from this list. With agreement from the list members, of course.

QuoteOn 12 April 2013 14:47, bill2or3 wrote:


    I did a round of server tuning, here are the changes I made:

    - added robots.txt files to the wiki and forums, to tell msnbot, bingbot
      and YandexBot not to request &amp;gt; 2 pages per minute.  Those 3 bots combined
      were accounting for *thirty percent* of the hits to the wiki, but
      refer only a handful of visitors.  This has made a huge difference.

    - one-month &#039;Expires:&#039; headers for the icon images on forums.reprap.org.
      This will let those icons persist in client browser caches, across browser
      restarts.  Saves hits to the server, speeds up load times for return visitors.

    - made the forum &#039;update viewcount&#039; queries LOW_PRIORITY, so that actual
      useful SELECT queries will happen first.

    - set apache ssl session cache to the minimum size, 8k.  It was set to
      512k before, entirely unused.  I think we can disable mod_ssl entirely,
      which should free up a few megs.

    - tiny fix to ReCaptcha.php, to avoid about 9 megs of errors messages per day
      hitting /var/log/messages

    The Munin cpu and network graphs are pretty flat since these changes.
    Before, they were very inconsistent, occasionally spiking up by %400 or
    just missing big chunks where the server was too busy to collect the graph
    data.

    I&#039;m guessing that what was happening was that bingbot came to visit,
    from several different IP&#039;s at once.  All those bingbot crawlers were hitting
    forums, making lots of mostly identical requests.  All those queries eventually
    hit the &#039;messages&#039; table,  causing the sql table to lock, and grinding
    everything to a crawl.

    The graphs show that apache hits/apache traffic/ethernet traffic all dropped
    by about 1/3, and CPU seems to have a lot more breathing room.

    If nobody has any objections, I&#039;d like to let it run for a few days, just to
    be sure everything is stable, and then enable mod_gzip and disable mod_ssl,
    in Apache.

    Depending how it looks after that, perhaps investigate using APC php caching,
    and/or parsing php code via fastcgi instead of with mod_php.

    Overall, I&#039;m pretty happy with these results, and expect to quit hearing
    &quot;is it down?&quot; asked in IRC.

    cheers,
       Bill</description>
        <link>https://reprap.org/forum/read.php?33,199173,199173#msg-199173</link>
        <lastBuildDate>Sat, 12 Sep 2026 09:55:47 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,385849#msg-385849</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,385849#msg-385849</link>
            <description><![CDATA[ Pictures &amp; co. currently expire after 30 days.<br />
<br />
And If I see Bill's work correctly, he's currently in progress with abandoning Apache entirely in favour of Nginx. Progress so far about 80%, files; pictures and wiki PHP are served by Nginx and php-fpm already.<br />
<br />
One funny tidbit: I forwarded the above enhancement to Phorums bug tracker, but they refused to accept it. It's considered to be a feature, because there might be people which want to serve a different JavaScript for each forum section. Which confirms my opinion that software developers have a strong tendency to make things complicated :)]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Mon, 21 Jul 2014 06:07:49 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,385747#msg-385747</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,385747#msg-385747</link>
            <description><![CDATA[ Definitely a good thing.<br />
<br />
Q: Are we using mod_expires at all, and if not, could we consider setting it up?<br />
<br />
We can then improve the amount of client side caching that is done on things like images, javascript, css, etc, by forcing their cache expiry times to be longer than they currently are.<br />
<br />
This should reduce the amount of fetched traffic everywhere.<br />
<br />
eg: [<a href="http://www.inmotionhosting.com/support/website/htaccess/apache-module-mod-expires" target="_blank"  rel="nofollow">www.inmotionhosting.com</a>]]]></description>
            <dc:creator>Cefiar</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Sun, 20 Jul 2014 21:49:37 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,384774#msg-384774</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,384774#msg-384774</link>
            <description><![CDATA[ A genius at work!<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>bill2or3</strong><br />I've edited the forum file at /data/www/forums/htdocs/include/phorum_get_url.php to set it so the javascript.php requests don't have the forum id added.<br />
<br />
before:<br />
  GET /javascript.php?225<br />
after:<br />
  GET /javascript.php<br />
 <br />
The javascript doesn't vary by forum, so having that forum-id on the request was causing the file to be re-requested when a user switched between forums, rather than just using the javascript file it'd already downloaded.<br />
[...]<br />
A spot-check of yesterdays access_log shows that it transfered 3121 megs of javascript.php, but it'd be 1387 megs if there were no duplicate javascript.php traffic.</div></blockquote>]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Fri, 18 Jul 2014 06:21:44 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,381566#msg-381566</guid>
            <title>Re: Snippets from^H^H^H^H for the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,381566#msg-381566</link>
            <description><![CDATA[ Just upgraded the Widgets extension of the Wiki from v0.8.something to v1.1. If you see issues, please report. If you want to use it, see [<a href="http://reprap.org/mediawiki/index.php?title=Special%3AAllPages&amp;from=&amp;to=&amp;namespace=274" target="_blank"  rel="nofollow">reprap.org</a>] and [<a href="https://www.mediawiki.org/wiki/Extension:Widgets#Widget_library" target="_blank"  rel="nofollow">www.mediawiki.org</a>]]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Fri, 11 Jul 2014 14:46:44 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,373182#msg-373182</guid>
            <title>Wiki user cleanup</title>
            <link>https://reprap.org/forum/read.php?33,199173,373182#msg-373182</link>
            <description><![CDATA[ FWIW, I've just deleted 33'890 inactive accounts in the wiki using this maintenance script: [<a href="http://www.mediawiki.org/wiki/Manual:RemoveUnusedAccounts.php" target="_blank"  rel="nofollow">www.mediawiki.org</a>] That's about 84% of the previously 40'544 ones. Unused accounts are ones with zero edits <i>and</i> older than 100 days.<br />
<br />
I hope this script didn't catch more accounts than expected. In case you're human and your account got lost, please recreate it and add at least one edit, e.g. by creating a user page for yourself. In case you <i>had</i> edits and the account is gone anyways, please report here.<br />
<br />
What's left is 6'657 users, 2'200 of which are probably still spammers, but not for longer than 100 days. Active user count is 149. Users, which have edited something in the last 30 days.]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Sun, 22 Jun 2014 13:01:57 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,254674#msg-254674</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,254674#msg-254674</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Traumflug</strong><br />Blogging time :-)<br />
<br />
Notified by a lot of error messages in /var/log/forum_error_log I found images embedded into forum posts didn't work the way they should. Forum admins tended to disable the embed_images module, which doesn't match with some other part of the configuration.<br />
<br />
The problem was, /usr/bin/convert insists on additionally writing a file when told to send the output to stdout. That's clearly a bug. As it didn't have privileges to write (what a luck!), it failed.<br />
<br />
To fix this, I canged /data/www/forums/htdocs/includes/api/images.php to write this file to /dev/null. This workaround might break when 'convert' removes its bug. Nevertheless, it's the first time I see properly thumbnailed image boxes in our forum.<br />
<br />
Time needed to find the right place and the right type of this one-line fix: about 6 hours. :-)<br />
<br />
As always, I made a copy of images.php before patching. A person doing a wiki or forum upgrade may please watch out for files with a date appended (or "2013" in it's name), they're originals of patched files.</div></blockquote>
<br />
You see?<br />
<br />
<div id="div_05da684ce644aed6f44c0a3c415bac6e"
     class="mod_embed_images_extended"
     style="width:554px">

  

    
      
    

    <div id="imagediv_05da684ce644aed6f44c0a3c415bac6e" class="mod_embed_images_image"
         style="width:554px; height:400px">

    

    <a href="http://forums.reprap.org/file.php?33,file=19867,filename=Stuttgart+21+-+Rosensteinpark.jpeg">
        <img src="/forum/thumbcache/e20/702/c2d/ea8/7ab/48e/d6b/1b6/f15/abb/02_800x400.png"
             width="554"
             height="400"
             id="image_05da684ce644aed6f44c0a3c415bac6e"
             alt=""
             title=""/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_05da684ce644aed6f44c0a3c415bac6e"
      style="display:block">
      <a id="link_05da684ce644aed6f44c0a3c415bac6e" href="http://forums.reprap.org/file.php?33,file=19867,filename=Stuttgart+21+-+Rosensteinpark.jpeg"></a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('05da684ce644aed6f44c0a3c415bac6e', '/forum/thumbcache/e20/702/c2d/ea8/7ab/48e/d6b/1b6/f15/abb/02_800x400.png', 'http://forums.reprap.org/file.php?33,file=19867,filename=Stuttgart+21+-+Rosensteinpark.jpeg', 'https://reprap.org/forum/addon.php?33,module=embed_images,check_scaling=1,url=http%3A%2F%2Fforums.reprap.org%2Ffile.php%3F33%2Cfile%3D19867%2Cfilename%3DStuttgart%2B21%2B-%2BRosensteinpark.jpeg', '', 254674, 800, 400, 'Loading image ...', false);
</script>
<br/>]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Sun, 13 Oct 2013 22:49:56 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,242892#msg-242892</guid>
            <title>spam-post permissions adjustments.</title>
            <link>https://reprap.org/forum/read.php?33,199173,242892#msg-242892</link>
            <description><![CDATA[ I've made some adjustments to the forum permissions, posts from unregistered users are no longer allowed, anywhere.<br />
<br />
cheers,<br />
    Bill]]></description>
            <dc:creator>bill2or3</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Thu, 05 Sep 2013 13:06:00 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,239176#msg-239176</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,239176#msg-239176</link>
            <description><![CDATA[ Am 24.08.2013 01:05, schrieb Bill:<br />
&gt; <br />
&gt; I have (mostly) installed the latest Mediawiki version 1.21.1, at<br />
&gt; [<a href="http://reprap.org/mediawiki-1.21.1/" target="_blank"  rel="nofollow">reprap.org</a>].  It's using a separate database &amp;<br />
&gt; db user, so should have zero overlap with the production Wiki.<br />
&gt; <br />
&gt; It seems to run fine, I've updated a few of the extensions, and a<br />
&gt; few still need updating.  Also, the themes need an update &amp; copy,<br />
&gt; and the image files need to be copied over.  Right now it's just<br />
&gt; symlinking the image directory, and has uploads disabled.]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Sat, 24 Aug 2013 09:00:27 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,222937#msg-222937</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,222937#msg-222937</link>
            <description><![CDATA[ ... it's the same thing in all forums -- Adrian did the same as I did some time ago, but the options in the forums software seems to be overriden on server-level.<br />
<br />
Seems I have to force some specific actions from the server-level admins :S]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Mon, 01 Jul 2013 04:14:32 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,222900#msg-222900</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,222900#msg-222900</link>
            <description><![CDATA[ Hrm, was that applied just to a specific sub-forum, or to all forums? I just noticed what appeared to be a posting without an account in this sub-forum.<br />
<br />
Note: I did report it, so it may be gone by the time you see this.]]></description>
            <dc:creator>Cefiar</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Sun, 30 Jun 2013 21:19:24 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,222455#msg-222455</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,222455#msg-222455</link>
            <description><![CDATA[ &gt; On 28/06/13 19:49, Viktor Dirks wrote:<br />
&gt;&gt; Hi Admins,<br />
&gt;&gt;<br />
&gt;&gt; ... regarding the forum -- in the last time the spammers get much more <br />
&gt;&gt; nasty with registering or<br />
&gt;&gt; spamming even without a valid account.<br />
[...]<br />
<br />
Am 29.06.2013 02:39, schrieb Adrian Bowyer:<br />
&gt; We certainly shouldn't allow posting without an account.  I've disabled <br />
&gt; the reply option for public users, which should cut the problem down.<br />
&gt; <br />
&gt; Best wishes]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Sat, 29 Jun 2013 07:14:49 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,214958#msg-214958</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,214958#msg-214958</link>
            <description><![CDATA[ Is it worth considering a dynamic generated block list such as the ones at [<a href="http://www.iblocklist.com/lists.php?fileformat=p2p&amp;archiveformat=gz" target="_blank"  rel="nofollow">www.iblocklist.com</a>] perhaps? I know some of those are paid subscription lists, but there are others that aren't, such as "forumspam", "dshield" and the like, which are useful while allowing you to test the setup without the need to pay for list subscription first. I'd also expect that there would be some manual blocks regardless, as I'm sure there are a few places that just target us specifically (mainly just bad clients and web spiders).<br />
<br />
Note: I'm not expecting that these would be updated every day or something, but say once a month, or manually by an admin (eg: "Force an update").]]></description>
            <dc:creator>Cefiar</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Mon, 03 Jun 2013 18:29:40 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,214468#msg-214468</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,214468#msg-214468</link>
            <description><![CDATA[ In an attempt to open doors to more legitimate users I've cut down the wiki block list drastically. Removed all blocks older than 6 months and changed the younger ones to expire after 6 months. Formerly there were about 1200 blocks, now there are 130.<br />
<br />
Two months ago I removed a a few hundred blocks already as sort of a test-balloon. The raise of daily spam was, if there was a raise at all, not noticeable. Obviously, spammers have plenty of addresses to use, so blocking a few of them hurts only the legitimate users which happen to be in the same IP address pool of their internet service provider.<br />
<br />
Another experience is, only few spammers try to re-use their accounts for multiple edits. Accordingly I regularly block only those accounts where I see repeated re-appearances. And always with a 6 month expiry.]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Sun, 02 Jun 2013 09:45:25 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,202213#msg-202213</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,202213#msg-202213</link>
            <description><![CDATA[ This last culprit was a handful of different IP's, but all using a browser-id string that doesn't get used by any legitimate browsers.  I suspect some kind of buggy download manager. <br />
<br />
In any case, they gave up shortly after I removed their access to the file they kept requesting.<br />
<br />
cheers,<br />
    Bill]]></description>
            <dc:creator>bill2or3</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Tue, 23 Apr 2013 11:46:02 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,202106#msg-202106</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,202106#msg-202106</link>
            <description><![CDATA[ Well done, @Bill.]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Tue, 23 Apr 2013 05:20:25 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,202068#msg-202068</guid>
            <title>Re: Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,202068#msg-202068</link>
            <description><![CDATA[ Hi Bill,<br />
<br />
good job done :)-D<br />
<br />
Can you 'put your finger' on location and time the majority of this 'unwanted' requests occure?<br />
<br />
But I think, the databases are so big now and totally overwhelmed with high frequent queries, so we should look for better hardware/software anyhow ...]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Tue, 23 Apr 2013 02:20:44 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,202023#msg-202023</guid>
            <title>Re: Snippets from the reprap-admin list - part 2.</title>
            <link>https://reprap.org/forum/read.php?33,199173,202023#msg-202023</link>
            <description><![CDATA[ More updates, discovered some rogue web clients repeated reloading a large file.<br />
<br />
Stopping these hits reduced the outbound wiki bandwidth by somewhere around %25.<br />
<br />
The reprap.org server is looking happier each week.<br />
<br />
  Bill]]></description>
            <dc:creator>bill2or3</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Mon, 22 Apr 2013 22:21:57 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?33,199173,199173#msg-199173</guid>
            <title>Snippets from the reprap-admin list</title>
            <link>https://reprap.org/forum/read.php?33,199173,199173#msg-199173</link>
            <description><![CDATA[ Administration of the reprap.org domain and its server is pretty well hidden so far. But it exists! There's a invitation-only reprap-admin mailing list and with the recent dropouts, this list became pretty active quickly. To give the RepRap community a better feeling about what happens, I'll post here a snippet from this list. With agreement from the list members, of course.<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />On 12 April 2013 14:47, bill2or3 wrote:<br />
<br />
<br />
    I did a round of server tuning, here are the changes I made:<br />
<br />
    - added robots.txt files to the wiki and forums, to tell msnbot, bingbot<br />
      and YandexBot not to request &gt; 2 pages per minute.  Those 3 bots combined<br />
      were accounting for *thirty percent* of the hits to the wiki, but<br />
      refer only a handful of visitors.  This has made a huge difference.<br />
<br />
    - one-month 'Expires:' headers for the icon images on forums.reprap.org.<br />
      This will let those icons persist in client browser caches, across browser<br />
      restarts.  Saves hits to the server, speeds up load times for return visitors.<br />
<br />
    - made the forum 'update viewcount' queries LOW_PRIORITY, so that actual<br />
      useful SELECT queries will happen first.<br />
<br />
    - set apache ssl session cache to the minimum size, 8k.  It was set to<br />
      512k before, entirely unused.  I think we can disable mod_ssl entirely,<br />
      which should free up a few megs.<br />
<br />
    - tiny fix to ReCaptcha.php, to avoid about 9 megs of errors messages per day<br />
      hitting /var/log/messages<br />
<br />
    The Munin cpu and network graphs are pretty flat since these changes.<br />
    Before, they were very inconsistent, occasionally spiking up by %400 or<br />
    just missing big chunks where the server was too busy to collect the graph<br />
    data.<br />
<br />
    I'm guessing that what was happening was that bingbot came to visit,<br />
    from several different IP's at once.  All those bingbot crawlers were hitting<br />
    forums, making lots of mostly identical requests.  All those queries eventually<br />
    hit the 'messages' table,  causing the sql table to lock, and grinding<br />
    everything to a crawl.<br />
<br />
    The graphs show that apache hits/apache traffic/ethernet traffic all dropped<br />
    by about 1/3, and CPU seems to have a lot more breathing room.<br />
<br />
    If nobody has any objections, I'd like to let it run for a few days, just to<br />
    be sure everything is stable, and then enable mod_gzip and disable mod_ssl,<br />
    in Apache.<br />
<br />
    Depending how it looks after that, perhaps investigate using APC php caching,<br />
    and/or parsing php code via fastcgi instead of with mod_php.<br />
<br />
    Overall, I'm pretty happy with these results, and expect to quit hearing<br />
    "is it down?" asked in IRC.<br />
<br />
    cheers,<br />
       Bill</div></blockquote>]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Administration, Announcements, Policy</category>
            <pubDate>Fri, 12 Apr 2013 08:37:44 -0400</pubDate>
        </item>
    </channel>
</rss>
