Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container options, especially shm-size #75

Closed
frankhommers opened this issue Mar 14, 2023 · 4 comments
Closed

Container options, especially shm-size #75

frankhommers opened this issue Mar 14, 2023 · 4 comments
Labels
feature Feature request

Comments

@frankhommers
Copy link

I am running postgres in a container but I don't know what to set the container limits exactly to.

I'd like to see that pg_tune also recommends something for the shm-size.

Inspiration:

This might be out of scope, but I think it would be very beneficial to people running it in a container.
I am also not sure yet on how to calculate the best value for this yet.

@frankhommers frankhommers added the feature Feature request label Mar 14, 2023
@le0pard
Copy link
Owner

le0pard commented Mar 14, 2023

Just provide shm_size same value as have shared_buffers. What issue with such approach?

@frankhommers
Copy link
Author

Is that the only logic needed? I am really not confident about that. But you might be right.
(Maybe add an auto generated comment behind it then to say so ;-) ).

@le0pard
Copy link
Owner

le0pard commented Mar 19, 2023

Tuning PostgreSQL in docker is out of scope for this tool

@le0pard le0pard closed this as completed Mar 19, 2023
@frankhommers
Copy link
Author

Too bad, it would be a nice addition. A lot of people are running it that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants