Last modified: 2014-09-09 20:21:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71131, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69131 - vagrant_ram overrides sometimes ignored/forgotten
vagrant_ram overrides sometimes ignored/forgotten
Status: RESOLVED FIXED
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Nik Everett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-04 23:28 UTC by Matthew Flaschen
Modified: 2014-09-09 20:21 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Matthew Flaschen 2014-08-04 23:28:08 UTC
I have two overrides for vagrant_ram:

* CirrusSearch has a puppet-managed override setting it to 1536
* I have a .settings.yaml with the following contents:
---
vagrant_ram: 2048
git_user: ''
puppet_debug: true

However, sometimes it's lower than both of those.  I.E.:
------
             total       used       free     shared    buffers     cached
Mem:           993        933         60         18          0         23
-/+ buffers/cache:        909         84
Swap:            0          0          0
------

Tested with 6b27f39 (I know that's a little old, so feel free to close if you think it's been fixed since).
Comment 1 Matthew Flaschen 2014-08-19 21:12:48 UTC
Possibly fixed by https://gerrit.wikimedia.org/r/154975 .
Comment 2 Matthew Flaschen 2014-08-24 03:26:41 UTC
I noticed that I had this problem again after a vagrant halt, vagrant up cycle.  The reason I did the halt was that it was non-responsive, so it's possible it was already wrong even before the halt.

Actual total and usage (when I have enough memory to do the free command, took a couple retries):

===
vagrant@mediawiki-vagrant:~$ free -m
             total       used       free     shared    buffers     cached
Mem:           993        938         55         20          0         25
-/+ buffers/cache:        912         81
Swap:            0          0          0

===
Roles:

===
Available roles:

  accountinfo              * guidedtour               * popups                  
  analytics                  gwtoolset                  proofreadpage           
  antispam                   hadoop                     renameuser              
  antispoof                  hive                       scholarships            
  apisandbox                 https                      scribunto               
  apparmor                   hue                        simple_miser            
  babel                      imagemetrics               simple_performant       
* betafeatures               interwiki                  sitematrix              
  centralauth                jsduck                     svg                     
  centralnotice              jsonconfig                 templatedata            
  chromium                   mantle                     textextracts            
  cirrussearch               massmessage                thumb_on_404            
  cite                     * math                       timedmediahandler       
  cldr                       mathsearch                 translate               
* codeeditor                 mleb                       uls                     
* cologneblue                mobileapp                  uploadwizard            
  commons                    mobilefrontend             urlshortener            
  commonsmetadata          * modern                     usermerge               
  confirmedit                molhandler               * vectorbeta              
  doublewiki               * monobook                 * visualeditor            
* echo                       multimedia                 wikidata                
  education                * multimediaviewer           wikidiff2               
* eventlogging               navigationtiming         * wikieditor              
  featuredfeeds              newusermessage             wikihiero               
* flow                       oauth                      wikilove                
  fss                        oozie                    * wikimediaevents         
  fundraising                pagedtiffhandler           wikimediaincubator      
* gadgets                  * pageimages                 wikimetrics             
  gadgets2                   pagetriage                 wikitech                
  geodata                  * parserfunctions            xhprof                  
  geshi                    * parsoid                    zend                    
* gettingstarted             pdfhandler                 zero                    
  globalcssjs                phptags                                            
  graph                      poem                                               
===

.settings.yaml

===
---
git_user: ''
vagrant_ram: 2048
puppet_debug: true
===

vagrant.d/10-cirrussearch.yaml:
===
# Vagrant settings
# Managed by puppet. Local changes will be lost on next puppet run.
vagrant_ram: 2000
forward_ports:
    9200: 9200
===
Comment 3 Matthew Flaschen 2014-08-24 03:29:17 UTC
Went back to:

===
vagrant@mediawiki-vagrant:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          2001       1037        964          8         17        370
-/+ buffers/cache:        649       1352
Swap:            0          0          0
===

after a vagrant reload --provision
Comment 4 Matthew Flaschen 2014-09-09 20:21:51 UTC
Probably fixed by 9da72b12c40f3e7a54870da8f6ec3c235ec6c337 ("Load settings if vagrant is run from subdirectory")

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links