GU_AVPHYS_SIZE can report more available memory than can be addressed on 32-bit systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Galera |
Fix Released
|
Medium
|
Alex Yurchenko | ||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
lp:1181347 is regressing on centos6-32
=======
130723 15:14:13 [Note] WSREP: Some threads may fail to exit.
130723 15:14:13 [Note] WSREP: Setting wsrep_ready to 0
130723 15:14:13 [Note] WSREP: Read nil XID from storage engines, skipping position init
130723 15:14:13 [Note] WSREP: wsrep_load(): loading provider library '/home/
130723 15:14:13 [Note] WSREP: wsrep_load(): Galera 2.6(r152) by Codership Oy <email address hidden> loaded succesfully.
130723 15:14:13 [Warning] WSREP: Could not open saved state file for reading: /home/jenkins/
130723 15:14:13 [Note] WSREP: Found saved state: 00000000-
130723 15:14:13 [Note] WSREP: Preallocating 134219040/134219040 bytes in '/home/
130723 15:14:13 [ERROR] WSREP: galerautils/
130723 15:14:13 [ERROR] WSREP: gcs/src/
130723 15:14:13 [ERROR] WSREP: gcs/src/
130723 15:14:13 [Note] WSREP: Passing config to GCS: base_host = 127.0.0.1; base_port = 4567; cert.log_conflicts = no; debug = 1; gcache.dir = /home/jenkins/
=======
Note, that wsrep-debug=1 and debug=1 in wsrep_provider_
Related branches
summary: |
- lp:1181347 regresses on 32 bit builds + GU_AVPHYS_SIZE can report more available memory than can be addressed on + 32-bit systems |
Changed in galera: | |
status: | Confirmed → In Progress |
Changed in percona-xtradb-cluster: | |
milestone: | none → 5.5.33-23.7.6 |
status: | New → Fix Committed |
Changed in percona-xtradb-cluster: | |
status: | Fix Committed → Fix Released |
Changed in galera: | |
status: | Fix Committed → Fix Released |
I would not call it "regressing": there it was an undetected overflow resulting in a wrong available memory estimate. Here it is most likely bad initial length estimate in gcs.c rather than a bug in gu_fifo.c. What does getconf -a | grep PAGES say on that system?