Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-5000

AMQ 7.8 replication slave keeps FDs open for large messages

    XMLWordPrintable

Details

    • False
    • False
    • Undefined
    • Hide
      1. Create replicated master-slave brokers 
        ./artemis create --cluster-password admin --cluster-user admin --clustered --failover-on-shutdown --host IP  --replicated --user admin --password admin master
        
        ./artemis create --cluster-password admin --cluster-user admin --clustered --failover-on-shutdown --host IP  --replicated --port-offset 100 --slave --user admin --password admin slave

          
        2.  Start the brokers and check the opened file descriptors using lsof command.   
        ps -ef | grep java
        lsof -a -p <PID> | wc -l

       
                  3. Send 100 large messages to address using CLI producer : 

                  ./artemis producer --message-count 100 --message-size 1024000 --sleep 100 --url tcp://IP:61616   

                 

                    4. Check the file descriptors opened for slave using lsof command. 

       

      Show
      Create replicated master-slave brokers  ./artemis create --cluster-password admin --cluster-user admin --clustered --failover-on-shutdown --host IP  --replicated --user admin --password admin master ./artemis create --cluster-password admin --cluster-user admin --clustered --failover-on-shutdown --host IP  --replicated --port-offset 100 --slave --user admin --password admin slave    2.  Start the brokers and check the opened file descriptors using lsof command.    ps -ef | grep java lsof -a -p <PID> | wc -l               3. Send 100 large messages to address using CLI producer :              ./artemis producer --message-count 100 --message-size 1024000 --sleep 100 --url tcp: //IP:61616                              4. Check the file descriptors opened for slave using lsof command.   

    Description

      The replication slave broker opens file descriptor per large message and keeps it opened until message gets consumed or it becomes live.  The large number of messages results in "too many open files" at slave end.

       

      Attachments

        Activity

          People

            dbruscin Domenico Francesco Bruscino
            rhn-support-vkamble Varsha Kamble
            Roman Vais Roman Vais
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: