You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PSS all the configuration files are in XML format, including all the parameters of the running framework.
you can modify these parameters according to your needs, to achieve the purpose of the control framework.
currently supported is,main.xml,logger.xml,forbiddenIP.xml,alert.xml,FileTestCfg.xml,ConsoleCommand.xml。
mian.xml(Main frame configuration information)
Label
Label description
Attribute information
NetWorkMode
Framework network mode configuration
Attribute
information
Mode
Network mode, currently supported for windows is IOCP,Select;Linux下为Epoll,Select,poll,Epoll_et
BackLog
socket length of receive wait queue
ByteOrder
Server word order, buffpacket according to this word order to resolve the number in the packet, the parameter is HOST_ORDER或NET_ORDER
desc
Current label description information
ServerType
Basic service information
Attribute
information
Type
Set 0 to run in foreground and 1 to run in background ( 1 to start in service mode under windows )
name
Name of the current service ( used in windows service state only )
displayname
Display name of the current server ( used in windows service state only )
Debug
Whether debug mode is turned on, 0 bits off, 1 is turned on, and the framework will output additional data to run the log after turning on
DebugSize
If debug is on, the maximum output length for a single log is set here
IsClose
Remote shutdown service is supported, 0 is not supported, 1 is supported
desc
Current label description information
ServerID
Server ID
Attribute
information
id
Server ID
desc
Current label description information
ServerName
Server Name
Attribute
information
name
Server Name
desc
Current label description information
ServerVersion
Server Version
Attribute
information
Version
Server Version
desc
Current label description information
TCPServerIP
Server listening IP ( can be multiple )
Attribute
information
ip
Listen for IP, default is INADDR_ANY
port
Listen port
ipType
Ip address mode, IPv4 and IPv6 support
desc
Current label description information
PacketParse
Packet resolution plug-in location ( can be multiple )
Attribute
information
ParseID
Parse ID
ModulePath
Path to plug - in
ModuleName
File name of the plug - in
Type
the type of plug - in H&B or STREAM
OrgLength
If H&B refers to the packet header length, and if stream mode refers to the maximum packet length
desc
Current label description information
Console
Frame control instruction receiving port
Attribute
information
support
0 is an open port and 1 is an open port
sip
Monitor IP address, default is INADDR_ANY
sport
Monitor port
desc
Current label description information
Message
Message worker thread control related parameters
Attribute
information
Msg_High_mark
High water mark for worker thread queue
Msg_Low_mark
Low water mark for worker thread queue
Msg_Buff_Max_Size
Maximum number of bytes held by work thread queue pending commands
Msg_Process
Process mode runs worker threads, and the number represents the number of worker processes started
Msg_Thread
Number of worker threads started
Msg_MaxQueue
Maximum number of unprocessed messages allowed for worker thread message queues
desc
Current label description information
ModuleManager
Maximum number of logical plug-in modules
Attribute
information
MaxCount
Maximum number of logical plug-in modules
desc
Current label description information
ModuleInfo
Logical plug-in module information ( can be multiple )
Attribute
information
ModuleSPath
Logical plug - in module path
ModuleSName
Logical plug - in module name
ModuleSParam
Logical plug - in startup parameters
desc
Current label description information
CoreSetting
Coredump file generation configuration ( Linux only )
Attribute
information
CoreNeed
0 is off and 1 is on
Script
When a program sends a crash, if a script path and file are set here, the script is automatically called for execution.
desc
Current label description information
CommandAccount
Message command access statistics logging
Attribute
information
Account
Packets are counted by number of signaling, 0 is off, 1 is on
FlowAccount
Packets are counted by signaling traffic, 0 is off, 1 is on
MaxCommandCount
Maximum number of message command lists supported
desc
Current label description information
RecvInfo
Receive packet configuration correlation
Attribute
information
RecvBuffSize
Sets the socket receive buffer size
RecvQueueTimeout
Set receive socket timeout
desc
Current label description information
SendInfo
Send data queue configuration related
Attribute
information
SendQueueMax
Maximum number of data sent by the send data queue
TcpNodelay
Sets the nodelay algorithm parameters for socket
MaxBlockSize
Maximum packet length sent
BlockCount
Maximum number of packets in the send buffer pool that can be buffered
SendTimeout
Socket send timeout ( in milliseconds )
SendQueueTimeout
Maximum write time to send queue
SendQueueCount
Number of transmit queues
PutQueueTimeout
Timeout period for sending packets into the sending queue
desc
Current label description information
ThreadInfo
Worker thread self-test configuration
Attribute
information
ThreadTimeout
Worker thread self-test cycle, in seconds
ThreadTimeCheck
The maximum time, in seconds, that a worker thread determines whether to execute a deadlock or not respond
DisposeTimeout
Worker thread processing timeout alarm
PutQueueTimeout
Maximum time-out for data to be placed in a worker thread
desc
Current label description information
ThreadInfoAI
The worker thread filters the timeout signaling configuration according to the signaling processing time
Attribute
information
AI
0 is off and 1 is on
CheckTime
Packet processing time detection period, in seconds
TimeoutCount
Packet processing timeout, in seconds
StopTime
When a packet continuously times out, the time, in seconds, to stop receiving a signaling packet
ReturnDataType
Returns the instruction type, 1 - bit binary, 0 text, that does not process the packet to the client when the packet continues to process the timeout
ReturnData
Returns a binary text information packet body
desc
Current label description information
ClientInfo
Client access connection management configuration
Attribute
information
HandlerCount
Maximum number of data connections allowed current pool size
MaxHandlerCount
Maximum number of maximum buffer pool sizes allowed for data connections
MaxConnectTime
When data link connection, more than this time does not send data, will automatically disconnect, in seconds
CheckAliveTime
The period of time, in seconds, that the data state of the data link is detected
MaxBuffRecv
Maximum size of received packet
desc
Current label description information
ConnectServer
Configuration of connection information between servers
Attribute
information
TimeInterval
Maximum timeout, in seconds, for connection alive detection between servers
TimeCheck
Self - test cycle time, in seconds
Recvbuff
Maximum size of packets received between servers
RunType
Returns packet processing mode between servers, 0 is synchronous and 1 is asynchronous
desc
Current label description information
Monitor
Pss framework monitoring information
Attribute
information
CpuAndMemory
Cpu and memory monitoring, 0 is off, 1 is on
CpuMax
Maximum CPU alarm limit
MemoryMax
Maximum memory usage alarm limit
desc
Current label description information
AceDebug
Acedebug setting output
Attribute
information
TrunOn
0 is off and 1 is on
DebugName
Debug information output file name
ChkInterval
Detection period
LogFileMaxSize
Maximum size of a single log file
LogFileMaxCnt
Number of log file loop overrides
Level
Log output level
desc
Current label description information
TSTimer
TSTimer configure
Attribute
information
TimerListPool
The maximum number of tasks allowed for the current timer pool. if it is 0, the ts timer thread will not be started by default.
TcpRedirection
Data forwarding
Attribute
information
SrcPort
Local ports that need corresponding forwarding
RedirectionIP
Forward IP
RedirectionPort
Forward Port
Mode
0 only forwards data and does not respond to the client with response data. 1 Forward data and accept the response data from the forwarding server to the client
ConnectState
0 is out of sync with the forwarding connection. 1 is synchronized with the forwarding connection
ServerToServer
Connection information configuration between servers
Attribute
information
S2SID
Remote server ID, must be unique
S2SIp
Remote server IP
S2SPort
Remote server port
S2SPacketParseID
The ID of the corresponding message parsing plugin PacketParse
List of client IPS that are not accessible ( can be multiple )
Attribute
information
ip
Client IP to disable connection
type
Connect type,TCP or UDP
desc
Current label description information
## alert.xml(Framework alert configuration information)
Maximum number of packets sent for a single connection in 1 minute, exceeding this number, alerts the message
Label
Labelinformation
Attribute information
AlertConnect
Connection information alert configuration
Attribute
information
ConnectMin
The current minimum number of connections ( within 1 minute ), if 0, is not monitored and the message is alerted if this number is exceeded
ConnectMax
The current maximum number of connections ( within 1 minute ), if 0, is not monitored and the message is alerted if this number is exceeded
DisConnectMin
The current minimum number of disconnected connections ( within 1 minute ) is not monitored if 0, and alert message
DisConnectMax
The current maximum number of disconnected connections ( within 1 minute ), if 0, is not monitored and the message is alerted if this number is exceeded
ConnectAlert
The maximum number of connections currently in existence, exceeding which alert messages
desc
Current label description information
IP
Client IP connections monitoring alerts
Attribute
information
IPMax
The maximum number of IP connections ( in units of time ) for the same client, exceeding which messages are alerted
Timeout
Detection period, unit time is long, unit is seconds
desc
Current label description information
ClientData
Per unit time, a single connection receives the transmit data monitoring configuration
Attribute
information
RecvPacketCount
Maximum number of packets received for a single connection in 1 minute, exceeding this number, alerts the message
RecvDataMax
The maximum total packet size threshold for receiving a single connection within 1 minute, exceeding which the message is alerted
SendPacketCount
SendDataMax
The maximum total packet size threshold for sending a single connection within 1 minute, exceeding which an alert message is sent
MailID
Id corresponding to the message sent
desc
Current label description information
CommandInfo
Signaling monitoring configuration information ( can be multiple )
Attribute
information
CommandID
Signaling id to monitor
CommandCount
The maximum number of minutes to process the signaling, 0 is not monitored, more than this number will alert the message
MailID
Id corresponding to the message sent
desc
Current label description information
Mail
Alert mail related configuration ( can be multiple )
Attribute
information
MailID
Alert mail id
fromMailAddr
Set up the sender of the mail
toMailAddr
Set up message recipients
MailPass
Mailbox password
MailUrl
Mailbox SMTP address
MailPort
Smtp port for mailbox
desc
Current label description information
## ConsoleCommand.xml(Framework control instruction permission configuration information)
Label
Labelinformation
Attribute information
CommandInfo
Background command permission configuration for PSS framework ( can be multiple )
Attribute
information
CommandName
Command name
User
Allowed user information, multiple users separated by commas
desc
Current label description information
## FileTestCfg.xml(File test interface configuration information)
Label
Labelinformation
Attribute information
FileTestConfig
Test file interface entry packet configuration
Attribute
information
Path
Test file packet path
TimeInterval
Test time period, in seconds
ConnectCount
Number of unit cycle connections established
ResponseCount
Number of unit cycle packet processing returns
ExpectTime
The total time spent looking forward to testing, in milliseconds
ParseID
Parser plug - in id that needs to work with the framework
ContentType
Connection type, 1 is a binary packet, 0 is a text packet