docker-images: Oracle 19c does not start because of memory configuration
Hi,
I try to use Oracle 19c Docker image built using provided in this repository steps. The image is built correctly - works on my machine very well. But when I tried to run it on our Jenkins machine, I could not start it. I can find the following errors in Docker logs:
db_1 | SQL*Plus: Release 19.0.0.0.0 - Production on Pt Paź 9 07:28:47 2020
db_1 | Version 19.3.0.0.0
db_1 |
db_1 | Copyright (c) 1982, 2019, Oracle. All rights reserved.
db_1 |
db_1 | Połączono z nieaktywną instancją.
db_1 |
db_1 | SQL> ORA-27104: system-defined limits for shared memory was misconfigured
db_1 | SQL> Rozłączono
db_1 | The Oracle base remains unchanged with value /opt/oracle
db_1 | #####################################
db_1 | ########### E R R O R ###############
db_1 | DATABASE SETUP WAS NOT SUCCESSFUL!
db_1 | Please check output for further info!
db_1 | ########### E R R O R ###############
db_1 | #####################################
db_1 | The following output is now a tail of the alert.log:
db_1 | 2020-08-11T13:49:43.364359+00:00
db_1 | Instance shutdown complete (OS id: 3796)
db_1 | 2020-10-09T07:28:49.300197+02:00
db_1 | Starting ORACLE instance (normal) (OS id: 32)
db_1 | 2020-10-09T07:28:49.353273+02:00
db_1 | System cannot support SGA size of 9536 MB.
db_1 | 2020-10-09T07:28:49.353373+02:00
db_1 | Total system memory configured is 10 GB.
db_1 | 2020-10-09T07:28:49.353463+02:00
db_1 | Instance maximum shared memory size should be less than 9023 MB.
I couldn’t find any information how to configure this memory. Any hints?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 22 (12 by maintainers)
@piotrekfus91 @noeldcosta
This is the PR that will allow you to pass memory config without having to rebuild the image with the above workaround.
https://github.com/oracle/docker-images/pull/1742
The PR is merged