Hi, We have recently started using the director in some tests. We are using the static passdb setup (proxy=y nopassword=y) for now, where authentication is done on the downstream IMAP servers. "dovecot director status" shows a breakdown of proxied connections per backend, but there does not seem to be a similar breakdown of user connections per director. The output of "doveadm who" is empty. I assume this is due to there being no local userdb/passdb on the directors? root at xxx:/etc/dovecot/conf.d# doveadm who username # proto (pids) (ips) Is there a way in Dovecot to see which (or even how many) users are connected to a specific director without having to count TCP connections? Best regards, Eirik Rye
> On 13 Jun 2019, at 20.15, Eirik Rye via dovecot <dovecot at dovecot.org> wrote: > Is there a way in Dovecot to see which (or even how many) users are connected to a specific director without having to count TCP connections?# ps aux | grep imap-login dovenull 3200 0.0 0.0 44676 3376 ? S Apr16 1:15 dovecot/imap-login dovenull 3208 0.0 0.0 44664 3364 ? S Apr16 2:05 dovecot/imap-login dovenull 3209 0.0 0.0 42616 2296 ? S Apr16 9:00 dovecot/imap-login [1 connections (0 TLS)] dovenull 3210 0.0 0.0 44704 3604 ? S Apr16 3:19 dovecot/imap-login rinse and repeat with pop3-login or lmtp. Sami -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190614/37033db5/attachment.html>
This is only available if you use "verbose_proctitle = yes". However, I found the command "doveadm proxy list" which does what I want: ~# doveadm proxy list | wc -l 16993 - Eirik On 14/06/2019 08:39, Sami Ketola wrote:> > >> On 13 Jun 2019, at 20.15, Eirik Rye via dovecot <dovecot at dovecot.org >> <mailto:dovecot at dovecot.org>> wrote: >> Is there a way in Dovecot to see which (or even how many) users are >> connected to a specific director without having to count TCP connections? > > # ps aux | grep imap-login > dovenull? 3200? 0.0? 0.0? 44676? 3376 ?? ? ? ? S? ? Apr16 ? 1:15 > dovecot/imap-login > dovenull? 3208? 0.0? 0.0? 44664? 3364 ?? ? ? ? S? ? Apr16 ? 2:05 > dovecot/imap-login > dovenull? 3209? 0.0? 0.0? 42616? 2296 ?? ? ? ? S? ? Apr16 ? 9:00 > dovecot/imap-login [1 connections (0 TLS)] > dovenull? 3210? 0.0? 0.0? 44704? 3604 ?? ? ? ? S? ? Apr16 ? 3:19 > dovecot/imap-login > > rinse and repeat with pop3-login or lmtp. > > Sami >
Apparently Analagous Threads
- Dovecot director: show user breakdown by director?
- Upgrade 2.2.27 to 2.3.9.2: master(imap): net_connect_unix(imap) failed: Resource temporarily unavailable
- Upgrade 2.2.27 to 2.3.9.2: master(imap): net_connect_unix(imap) failed: Resource temporarily unavailable
- Upgrade 2.2.27 to 2.3.9.2: master(imap): net_connect_unix(imap) failed: Resource temporarily unavailable
- Upgrade 2.2.27 to 2.3.9.2: master(imap): net_connect_unix(imap) failed: Resource temporarily unavailable