Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-360

Set up apache 2.1+ with mod_disk_cache before wiki

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete CommentsDelete
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Initial Clearing
    • MoinMoin
    • None
    • ajax.apache.org (RHEL)

    Description

      In order to make the wiki able to withstand much more load, a apache 2.1+ needs to be set up to serve it (or proxy it?) with proper settings for mod_cache. Something like this:

       + # Enable Caching of all moin pages. This does mean that pages which are edited
       + # will not appear modified unless someone does a "shift-refresh" or similar in
       + # his/her browser
       + #
       + <IfModule mod_cache.c>
       + <IfModule mod_disk_cache.c>
       + CacheRoot /www/wiki.apache.org/mod_disk_cache
       + CacheSize 1000000 # 1GB of maximum cache
       + CacheEnable disk /
       + CacheDirLevels 5
       + CacheDirLength 3
       + </IfModule>
       
       + <IfModule mod_mem_cache.c>
       + CacheEnable mem /
       + MCacheSize 4096
       + MCacheMaxObjectCount 100
       + MCacheMinObjectSize 1
       + MCacheMaxObjectSize 2048
       + </IfModule>
       + CacheIgnoreNoLastMod On # moin doesn't provide last-modified, but does provide cache-control
       + CacheDefaultExpire 600 # be conservative and make it 10 minutes
       + </IfModule>

      should work.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users

          People

            Unassigned Unassigned Assign to me
            lsimons Leo Simons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment