Issue
How to check the number of active IMAP or POP connections and set a threshold for the same?
Solution
For checking the current number of active IMAP or POP connections on a system, we can use the following commands.
For the current number of IMAP connections,
> stat get system.imapc
For the current number of POP connections,
> stat get system.popc
We can set a threshold to the maximum number of IMAP / POP connections currently active on the system by using following commands,
To set threshold for IMAP connections,
> mon setthresh system.imapc "number"
To set threshold for POP connections,
> mon setthresh system.popc "number"
(number = maximum number of active connections allowed on the server simultaneously)
Comments
0 comments
Please sign in to leave a comment.