Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Requested shared memory is always less than captured #41

Closed
@maksm90

Description

@maksm90

Starting from commitpostgres/postgres@cdbc0ca48ca shared preload libraries are become to initialize beforeMaxBackends global variable setup. This might lead to invalid calculation of requested shared memory size if this calculation is based on max number of possible backend processes in postgres instance. Forpg_wait_sampling module the size calculation of queryId shared memoryfollows this rule, i.e. it usesMaxBackends value. As result, for this shared memory fragment we request zero size (UPD. not zero butNUM_AUXILIARY_PROCS + max_prepared_xacts size) but later we assign non-zero memory (with already initializedMaxBackends value) for this purpose. Such behavior might incur future occurrences ofout of shared memory errors.

The hackersthread have to help in finding of possible solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp