SYS_MEM_LIMIT is too high for a system with 4 gigs of RAM

Bug #1174138 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql (Juju Charms Collection)
New
Undecided
Unassigned

Bug Description

At least, I think that's what's going on. What I do know: deploying the mysql charm on a calxeda highbank node lead to mysql failing to start with messages like this in the log:

130428 22:21:32 InnoDB: Initializing buffer pool, size = 3.1G
InnoDB: mmap(3416686592 bytes) failed; errno 12
130428 22:21:32 InnoDB: Completed initialization of buffer pool
130428 22:21:32 InnoDB: Fatal error: cannot allocate memory for the buffer pool

This node has 4 gigs of RAM and a 32 bit processor (and it's really 32 bit: no PAE or similar fun on a cortex-a9).

$ juju set mysql dataset-size=50%

got things working. I'm not sure what a safe upper limit is for a system like this.

Revision history for this message
dann frazier (dannf) wrote :

Whups, didn't see this one already existed. Marking it as a dup (since other one has a MP)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.