I'm using CPG to replicate messages in a high-traffic application. All
works well for small numbers of messages but with larger numbers I get: 

[MAIN ] Library queue is full, disconnecting library connection. 

After that happens, aisexec appears to be unusable. If I try to re-run
my application it hangs in cpg_initialize, nothing further appears in
the aisexec log. I have to restart aisexec to proceed.

>From this post
https://lists.linux-foundation.org/pipermail/openais/2005-August/006400.html
I guess my app is not processing CPG callbacks fast enough. I can add a
dispatch queue to make the app more responsive, but I have a couple more
questions:

How can my app find out if it's been dropped for non-responsiveness to
CPG? Currently it just hangs.

This error appears to make the aisexec daemon unusable, is this a bug or
something I'm doing wrong?

Does cpg have any flow control mechanisms I can use to manage this
situation?

Are there any configuration settings to tune this behavior?

Thanks,
Alan.

 
# Please read the openais.conf.5 manual page

totem {
        version: 2
        secauth: off
        threads: 0
        interface {
                ringnumber: 0
                bindnetaddr: 192.168.254.0
                mcastaddr: 226.94.1.1
                mcastport: 5405
        }
}

logging {
#       debug: on
        timestamp: off
        to_stderr: yes
        to_syslog: yes
#       to_file: yes
#       logfile: /tmp/aisexec.log
        logger {
               ident: CPG
#              debug: on
        }      
}

amf {
        mode: disabled
}
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to