Open sergeycherepanov opened 5 years ago
I am not sure. You might need to change your monk configuration or give it more memory.
Hi @markstory, yes you are right.
It helped:
> mongo <your-server-and-port>
> use admin
> db.adminCommand({setParameter: 1, internalQueryExecMaxBlockingSortBytes:100302864})
I think will be good to add this case to the README
Hi @sergeycherepanov
Can you please help me solving this issue? which appears when I use the following code
db.adminCommand({setParameter: 1, internalQueryExecMaxBlockingSortBytes:100151432})
This is the error I received
{ "operationTime" : Timestamp(1565752556, 1), "ok" : 0.0, "errmsg" : "not authorized on admin to execute command { setParameter: 1.0, internalQueryExecMaxBlockingSortBytes: 100151432.0, $readPreference: { mode: \"secondaryPreferred\" }, $db: \"admin\" }", "code" : 13, "codeName" : "Unauthorized" }
Hi @jaimin-nimble From the error text, we can conclude that the problem is in the authorization. You must authorize as admin first.
@jaimin-nimble after added the root role in admin db, i can execute the adminCommand
# grant root role
db.grantRolesToUser('YourAdminUser', [{role: "root", db: "admin"}] )
# examin the roles
show users
You can find the details on the discussion in stackoverflow
I faced the same issue, we created the indexes for the columns in mongodb which resolves our issue .
@HarishKumarGudivada could you please share what indexes on which columns?
use index on your sorted field
Hi, and thanks for the amazing tool!
But unfortunately I have the issue with large requests.
The stack trace:
Does exists any way to pass through it?