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

error: sorry, too many clients already #1

Open
alexandremsouza1 opened this issue Apr 26, 2024 · 1 comment
Open

error: sorry, too many clients already #1

alexandremsouza1 opened this issue Apr 26, 2024 · 1 comment

Comments

@alexandremsouza1
Copy link

progress [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% | 0/1000000 | 14sC:\Trabalho\NODE PROJECT\parallelizing-nodejs-ops\node_modules\pg-protocol\dist\parser.js:283
const message = name === 'notice' ? new messages_1.NoticeMessage(length, messageValue) : new messages_1.DatabaseError(messageValue, length, name);
^

error: sorry, too many clients already
at Parser.parseErrorMessage (C:\Trabalho\NODE PROJECT\parallelizing-nodejs-ops\node_modules\pg-protocol\dist\parser.js:283:98)
at Parser.handlePacket (C:\Trabalho\NODE PROJECT\parallelizing-nodejs-ops\node_modules\pg-protocol\dist\parser.js:122:29)
at Parser.parse (C:\Trabalho\NODE PROJECT\parallelizing-nodejs-ops\node_modules\pg-protocol\dist\parser.js:35:38)
at Socket. (C:\Trabalho\NODE PROJECT\parallelizing-nodejs-ops\node_modules\pg-protocol\dist\index.js:11:42)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Readable.push (node:internal/streams/readable:278:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
length: 85,
severity: 'FATAL',
code: '53300',
detail: undefined,
hint: undefined,
position: undefined,
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'proc.c',
line: '351',
routine: 'InitProcess'
}

@WillianAgostini
Copy link

WillianAgostini commented May 2, 2024

Hi @alexandremsouza1

try decreasing the CLUSTER_SIZE variable and restart docker images

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

No branches or pull requests

2 participants