博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
MAN QPIDD
阅读量:3912 次
发布时间:2019-05-23

本文共 13730 字,大约阅读时间需要 45 分钟。

QPIDD(1) User Commands QPIDD(1)

NAME

qpidd - the Qpid AMQP Message Broker Daemon

SYNOPSIS

qpidd [OPTIONS]

DESCRIPTION

An AMQP message broker daemon that stores, routes and forwards messages using the Advanced Message Queueing Protocol (AMQP).

OPTIONS

The options below are built-in to qpidd. Installing add-on modules provides additional options. To see the full set of options
available type “qpidd --help”

Options may be specified via command line, environment variable or configuration file. See FILES  and  ENVIRONMENT  below  for   details.   -h [ --help ]          Displays the help message   -v [ --version ]          Displays version information   --config FILE (/etc/qpid/qpidd.conf)          Reads configuration from FILE   --client-config FILE (/etc/qpid/qpidc.conf)          Reads client configuration from FILE (for cluster interconnect)

Module options:

–module-dir DIR (/usr/lib64/qpid/daemon)
Load all shareable modules in this directory

--load-module FILE          Specifies additional module(s) to be loaded   --no-module-dir          Don't load modules from module directory

Broker Options:

–data-dir DIR ($HOME/.qpidd)
Directory to contain persistent data generated by the broker

--no-data-dir          Don't use a data directory.  No persistent configuration will be loaded or stored   --paging-dir DIR          Directory in which paging files will be created for paged queues   -p [ --port ] PORT (5672)          Tells the broker to listen on PORT   --interface 
|
Which network interfaces to use to listen for incoming connections --listen-disable
Transports to disable listening --protocols
Which protocol versions to allow --worker-threads N (9) Sets the broker thread pool size --connection-backlog N (10) Sets the connection backlog limit for the server socket -m [ --mgmt-enable ] yes|no (1) Enable Management --mgmt-publish yes|no (1) Enable Publish of Management Data ('no' implies query-only) --mgmt-qmf2 yes|no (1) Enable broadcast of management information over QMF v2 --mgmt-qmf1 yes|no (0) Enable broadcast of management information over QMF v1 --mgmt-pub-interval SECONDS (10s) Management Publish Interval --queue-purge-interval SECONDS (600s) Interval between attempts to purge any expired messages from queues --auth yes|no (1) Enable authentication, if disabled all incoming connections will be trusted --realm REALM (QPID) Use the given realm when performing authentication --sasl-service-name NAME The service name to specify for SASL --default-queue-limit BYTES (104857600) Default maximum size for queues (in bytes) --tcp-nodelay Set TCP_NODELAY on TCP connections --require-encryption Only accept connections that are encrypted --known-hosts-url URL or 'none' (none) URL to send as 'known-hosts' to clients ('none' implies empty list) --sasl-config DIR Allows SASL config path, if supported by platform, to be overridden. For default location on Linux, see Cyrus SASL documentation. There is no SASL config dir on Windows. --default-flow-stop-threshold PERCENT (80) Percent of queue's maximum capacity at which flow control is activated. --default-flow-resume-threshold PERCENT (70) Percent of queue's maximum capacity at which flow control is de-activated. --default-event-threshold-ratio %age of limit (80) The ratio of any specified queue limit at which an event will be raised --default-message-group GROUP-IDENTIFER (qpid.no-group) Group identifier to assign to messages delivered to a message group queue that do not contain an identifier. --enable-timestamp yes|no (0) Add current time to each received message. --link-maintenance-interval SECONDS (2s) Interval to check federation link health and re-connect if need be --link-heartbeat-interval SECONDS (120s) Heartbeat interval for a federation link --dtx-default-timeout SECONDS (60) Default timeout for DTX transaction before aborting it --dtx-max-timeout SECONDS (3600) Maximum allowed timeout for DTX transaction. A value of zero disables maximum timeout limit checks and allows arbitrar‐ ily large timeout settings. --max-negotiate-time MILLISECONDS (10000) Maximum time a connection can take to send the initial protocol negotiation --federation-tag NAME Override the federation tag --session-max-unacked DELIVERIES (5000) Maximum number of un-acknowledged outoing messages per sesssion

Logging options:

-t [ --trace ]
Enables all logging

--log-enable RULE (notice+)          Enables logging for selected levels and components. RULE is in the form 'LEVEL[+-][:PATTERN]' LEVEL is one of:   trace debug info notice warning error          critical  PATTERN is a logging category name, or a namespace-qualified function name or name fragment. Logging category          names are:   Security Broker Management Protocol          System HA Messaging Store Network Test Client Application Model Unspecified For example: '--log-enable  warning+'  logs          all  warning,  error  and  critical  messages.   '--log-enable  trace+:Broker'  logs  all  category  'Broker' messages.          '--log-enable debug:framing' logs debug messages from all functions with 'framing' in the namespace or  function  name.          This option can be used multiple times   --log-disable RULE          Disables logging for selected levels and components. RULE is in the form 'LEVEL[+-][:PATTERN]' LEVEL is one of:   trace debug info notice warning error          critical  PATTERN is a logging category name, or a namespace-qualified function name or name fragment. Logging category          names are:   Security Broker Management Protocol          System HA Messaging Store Network Test Client Application Model Unspecified For example: '--log-disable warning-'  dis‐          ables logging all warning, notice, info, debug, and trace messages.  '--log-disable trace:Broker' disables all category          'Broker' trace messages.  '--log-disable debug-:qmf::' disables logging debug and trace  messages  from  all  functions          with 'qmf::' in the namespace.  This option can be used multiple times   --log-time yes|no (1)          Include time in log messages   --log-level yes|no (1)          Include severity level in log messages   --log-source yes|no (0)          Include source file:line in log messages   --log-thread yes|no (0)          Include thread ID in log messages   --log-function yes|no (0)          Include function signature in log messages   --log-hires-timestamp yes|no (0)          Use hi-resolution timestamps in log messages   --log-category yes|no (1)          Include category in log messages   --log-prefix STRING          Prefix to prepend to all log messages

Logging sink options:

–log-to-stderr yes|no (1)
Send logging output to stderr

--log-to-stdout yes|no (0)          Send logging output to stdout   --log-to-file FILE          Send log output to FILE.   --log-to-syslog yes|no (0)          Send logging output to syslog; customize using --syslog-name and --syslog-facility   --syslog-name NAME (qpidd)          Name to use in syslog messages   --syslog-facility LOG_XXX (LOG_DAEMON)          Facility to use in syslog messages

Daemon options:

-d [ --daemon ]
Run as a daemon. Logs to syslog by default in this mode.

--transport TRANSPORT (tcp)          The transport for which to return the port   --pid-dir DIR ($HOME/.qpidd)          Directory where port-specific PID file is stored   --pidfile FILE          File name to store the PID in daemon mode. Used as-is, no directory or suffixes added.   --close-fd FD          File descriptors that the daemon should close   -w [ --wait ] SECONDS (600)          Sets the maximum wait time to initialize or shutdown the daemon. If the daemon fails to initialize/shutdown , prints an          error and returns 1   -c [ --check ]          Prints the daemon's process ID to stdout and returns 0 if the daemon is running, otherwise returns 1   -q [ --quit ]          Tells the daemon to shut down with an INT signal   -k [ --kill ]          Kill the daemon with a KILL signal.   --socket-fd FD          File descriptor for tcp listening socket

ACL Options:

–acl-file FILE
The policy file to load from, loaded from data dir

--connection-limit-per-user N (0)          The maximum number of connections allowed per user. 0 implies no limit.   --max-connections N (500)          The maximum combined number of connections allowed. 0 implies no limit.   --connection-limit-per-ip N (0)          The maximum number of connections allowed per host IP address. 0 implies no limit.   --max-queues-per-user N (0)          The maximum number of queues allowed per user. 0 implies no limit.

SSL Settings:

–ssl-use-export-policy
Use NSS export policy

--ssl-cert-password-file PATH          File containing password to use for accessing certificate database   --ssl-cert-db PATH          Path to directory containing certificate database   --ssl-cert-name NAME (localhost.localdomain)          Name of the certificate to use   --ssl-port PORT (5671)          Port on which to listen for SSL connections   --ssl-require-client-authentication          Forces clients to authenticate in order to establish an SSL connection   --ssl-sasl-no-dict          Disables SASL mechanisms that are vulnerable to passive dictionary-based password attacks

AMQP 1.0 Options:

–domain DOMAIN
Domain of this broker

--queue-patterns PATTERN          Pattern for on-demand queues   --topic-patterns PATTERN          Pattern for on-demand topics

HA Options:

–ha-cluster yes|no (0)
Join a HA active/passive cluster.

--ha-queue-replication yes|no (0)          Enable replication of specific queues without joining a cluster   --ha-brokers-url URL          URL with address of each broker in the cluster.   --ha-public-url URL          URL advertized to clients to connect to the cluster.   --ha-replicate LEVEL (none)          Replication level for creating queues and exchanges if there is no qpid.replicate argument supplied. LEVEL  is  'none',          'configuration' or 'all'   --ha-username USER          Username for connections between HA brokers   --ha-password PASS          Password for connections between HA brokers   --ha-mechanism MECH          Authentication mechanism for connections between HA brokers   --ha-backup-timeout SECONDS (10s)          Maximum time to wait for an expected backup to connect and become ready.   --ha-flow-messages N (1000)          Flow control message count limit for replication, 0 means no limit   --ha-flow-bytes N (0)          Flow control byte limit for replication, 0 means no limit

Linear Store Options:

–store-dir DIR
Store directory location for persistence (instead of using --data-dir value). Required if --no-data-dir is also used.

--truncate yes|no (0)          If  yes|true|1, will truncate the store (discard any existing records). If no|false|0, will preserve the existing store          files for recovery.   --wcache-page-size N (16)          Size of the pages in the write page cache in KiB. Allowable values - powers of 2 starting at 4 (4, 8, 16, 32...)  Lower          values decrease latency at the expense of throughput.   --wcache-num-pages N (16)          Number of pages in the write page cache. Minimum value: 4.   --tpl-wcache-page-size N (4)          Size  of  the  pages in the transaction prepared list write page cache in KiB.  Allowable values - powers of 2 starting          at: 4 (4, 8, 16, 32...) Lower values decrease latency at the expense of throughput.   --tpl-wcache-num-pages N (16)          Number of pages in the transaction prepared list write page cache. Minimum value: 4.   --efp-partition N (1)          Empty File Pool partition to use for finding empty journal files   --efp-file-size N (2048)          Empty File Pool file size in KiB to use for journal files. Must be a multiple of 4 KiB.   --overwrite-before-return yes|no (0)          If yes|true|1, will overwrite each store file with zeros before returning it to the Empty File Pool. When  not  in  use          (the  default),  then  old message data remains in the file, but is overwritten on next use. This option should only be          used where security considerations justify it as it makes the store somewhat slower.   --journal-flush-timeout SECONDS (500ms)          Maximum time to wait to flush journal.  Use ms, us units for small time values (eg 10ms) - no space between  value  and          unit.

Store Options:

–storage-provider PROVIDER
Name of the storage provider to use.

ENVIRONMENT

QPID_
There is an environment variable for each option.

The  environment  variable is the option name in uppercase, prefixed with QPID_ and '.' or '-' are replaced with '_'. Environ‐   ment settings are over-ridden by command line settings. For example:     export QPID_PORT=6000     export QPID_MAX_CONNECTIONS=10     export QPID_LOG_TO_FILE=/tmp/qpidd.log

FILES

/etc/qpidd.conf
Default configuration file.

Configuration file settings are over-ridden by command line or environment variable settings.  '--config  
' or 'export QPID_CONFIG=
' specifies an alternate file. Each line is a name=value pair. Blank lines and lines beginning with # are ignored. For example: # My qpidd configuration file. port=6000 max-connections=10 log-to-file=/tmp/qpidd.log

AUTHOR

The Apache Qpid Project,

REPORTING BUGS

Please report bugs to

qpidd (qpid-cpp) version 1.38.0 March 2018 QPIDD(1)

转载地址:http://aourn.baihongyu.com/

你可能感兴趣的文章
C#阻塞队列BlockingCollection
查看>>
在传统行业做数字化转型之业务篇
查看>>
如何在 C# 中使用 RabbitMQ
查看>>
一套标准的ASP.NET Core容器化应用日志收集分析方案
查看>>
如何使用 C# 扩展方法
查看>>
C#如何回到主线程,如何在委托指定线程执行
查看>>
服务器重新部署踩坑记
查看>>
.NET应用程序安全操作概述
查看>>
C# WPF:把文件给我拖进来!!!
查看>>
.NET5发布了,腾讯招聘点名要求精通MySQL,而不是SQLServer!
查看>>
让 CefSharp.WinForms 应用程序同时支持32位(x86)和64位(x64)的解决方案
查看>>
Docker Vs Podman
查看>>
程序员过关斩将--论系统设计的高可扩展性
查看>>
如何在 Asp.Net Core MVC 中处理 null 值
查看>>
浅谈AsyncLocal,我们应该知道的那些事儿
查看>>
移动建模平台元数据存储架构演进
查看>>
Visual Studio 即时窗口实用技巧
查看>>
如何在 C# 中使用 Dapper ORM
查看>>
AgileConfig-轻量级配置中心 1.1.0 发布,支持应用间配置继承
查看>>
C# :异步编程的注意点
查看>>