https://bugzilla.wikimedia.org/show_bug.cgi?id=70967

            Bug ID: 70967
           Summary: labs-vagrant: hhvm.hhbc can fill tmpfs
           Product: MediaWiki-Vagrant
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: labs-vagrant
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

After updating and labs-vagrant provision of a flow-tests labs instance, I was
getting 503 errors.  /var/log/hhvm/error.log contained

[Wed Sep 17 20:41:47 2014] [hphp] [24230:7fb9ed1fe6c0:0:000001] [] Failed to
initialize central HHBC repository:\n  Failed to initialize schema in
/var/run/hhvm/hhvm.hhbc: RepoQuery::step(repo=0x7fb9dd467000) error: 'CREATE
TABLE main.writable_4cd91499a6638cdf8f21e85093dc7dab65e909e0(canary INTEGER);'
--> (13) database or disk is full\n  Failed to open /var/www/.hhvm.hhbc: 14 -
unable to open database file\n

Turns out /var/run/hhvm/hhvm.hhbc was 200MB which filled the tmpfs on /run that
is only 201MB on this small labs instance.

The workaround is to delete hhvm.hhbc.  Note that you need to stop and start
both hhvm and jobrunner, because both services have a handle to this file.

There was IRC discussion of placing hhvm.hhbc in a better location, e.g. /srv
somewhere.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to