Below is the error stack stress from my production. I'm just have 14000 queues under a exchange. Pushing new messages randomly in 14K queues from a single publisher. I have 2 consumer at other side. Once the following error is thrown the complete RabbitMQ process goes down and restart automatically.
RabbitMQ Version: 3.6.9
Node.js: v6.10.2
System Config: Ubuntu 14 + 8 Core CPU + 16 GB RAM
"RangeError: Maximum call stack size exceeded\n
at Queue.emit (events.js:136:44)\n
at Queue._onMethod (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/queue.js:386:8)\n
at Queue.Channel._onChannelMethod (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/channel.js:85:12)\n
at Connection._onMethod (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/connection.js:454:28)\n
at AMQPParser.self.parser.onMethod (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/connection.js:136:12)\n
at AMQPParser._parseMethodFrame (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:377:10)\n
at frameEnd (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:94:16)\n
at frame (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:79:14)\n
at header (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:65:14)\n
at frameEnd (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:112:16)\n
at frame (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:79:14)\n
at header (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:65:14)\n
at frameEnd (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:112:16)\n
at frame (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:79:14)\n
at header (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:65:14)\n
at frameEnd (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:112:16)
Below is the error stack stress from my production. I'm just have 14000 queues under a exchange. Pushing new messages randomly in 14K queues from a single publisher. I have 2 consumer at other side. Once the following error is thrown the complete RabbitMQ process goes down and restart automatically.
RabbitMQ Version: 3.6.9 Node.js: v6.10.2 System Config: Ubuntu 14 + 8 Core CPU + 16 GB RAM
"RangeError: Maximum call stack size exceeded\n at Queue.emit (events.js:136:44)\n
at Queue._onMethod (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/queue.js:386:8)\n
at Queue.Channel._onChannelMethod (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/channel.js:85:12)\n
at Connection._onMethod (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/connection.js:454:28)\n
at AMQPParser.self.parser.onMethod (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/connection.js:136:12)\n
at AMQPParser._parseMethodFrame (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:377:10)\n
at frameEnd (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:94:16)\n
at frame (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:79:14)\n
at header (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:65:14)\n
at frameEnd (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:112:16)\n
at frame (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:79:14)\n
at header (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:65:14)\n
at frameEnd (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:112:16)\n
at frame (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:79:14)\n
at header (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:65:14)\n
at frameEnd (/opt/cnmaestro-server/deploy/node_modules/amqp/lib/parser.js:112:16)