Skip to content

declare exchange and Library error: table too large for buffer #131

@agborkowski

Description

@agborkowski

very wired for me is corelated #127 on my local exchange works good (brew rabbitmq-c and pecl ampq) but on ubuntu with same configuration same code produce error " table too large for buffer"

    $exchange = new AMQPExchange($channel);
                $exchange->setName($config['exchange']);
                $exchange->setType($options['type']);
                $exchange->setFlags($options['flags']);
                $exchange->declareExchange();
                $this->exchange = $exchange;
  • platform Ubuntu 14.10 (GNU/Linux 3.16.0-23-generic x86_64)
  • hardware DigitalOcean instance (small)
  • php
# php -v
PHP 5.5.13 (cli) (built: Aug 20 2014 12:44:57) 
  • rabbitmq-c (i'm trying now with master, tags/v0.5.2, tags/v0.5.0)
  • rabbitmq-c/codegen (tags/rabbitmq_v3_4_2)

i used copy of some *.h files like in tuts http://artem.aleksashkin.com/articles/article-Installing-RabbitMQ-Ubuntu-12-04-with-PHP-extension/

# free -m
             total       used       free     shared    buffers     cached
Mem:           993        850        143         22        136        390
-/+ buffers/cache:        323        670
Swap:            0          0          0
# php --ri amqp
amqp

Version => 1.4.0
Revision => $Revision: 327551 $
Compiled => Nov 28 2014 @ 04:21:08
AMQP protocol version => 0-9-1
librabbitmq version => 0.5.3-pre

Directive => Local Value => Master Value
amqp.host => localhost => localhost
amqp.vhost => / => /
amqp.port => 5672 => 5672
amqp.timeout => no value => no value
amqp.read_timeout => 0 => 0
amqp.write_timeout => 0 => 0
amqp.connect_timeout => 0 => 0
amqp.login => guest => guest
amqp.password => guest => guest
amqp.auto_ack => 0 => 0
amqp.prefetch_count => 3 => 3

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