Last modified: 2014-09-09 20:21:51 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).
Possibly fixed by https://gerrit.wikimedia.org/r/154975 .
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 ===
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
Probably fixed by 9da72b12c40f3e7a54870da8f6ec3c235ec6c337 ("Load settings if vagrant is run from subdirectory")