[Dovecot] Best way to calculate concurrent users?
Well, i am having some problens to figure out how many concurrent users into the server!
In my envoriment now, most people are using the webmail interface, and it just conect and disconct pretty quickly so i can not get it with "doveadm who"
doveadm who only gets the ones that are connect with clients.
O use ipvs to balance betwaeen 2 servers does anyone have an ideia ?
With ipvs i get this results:
IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP XXX.XX.X.XX:143 lblcr -> 10.0.2.10:143 Masq 1 16 228 -> 10.0.2.11:143 Masq 1 16 184
There is others ports and stuff.
Does any one have an ideia how to get this number ?
[]'sf.rique
Quoting Henrique Fernandes sf.rique@gmail.com:
Well, i am having some problens to figure out how many concurrent users into the server!
In my envoriment now, most people are using the webmail interface, and it just conect and disconct pretty quickly so i can not get it with "doveadm who"
doveadm who only gets the ones that are connect with clients.
O use ipvs to balance betwaeen 2 servers does anyone have an ideia ?
With ipvs i get this results:
IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP XXX.XX.X.XX:143 lblcr -> 10.0.2.10:143 Masq 1 16 228 -> 10.0.2.11:143 Masq 1 16 184
If you use imapproxy on your web servers, you will have a constant connection from a known IP.
If you want that to show up in ipvsadm, you can have imapproxy point to your VIP.
Rick
I don't use imap proxy.
Other ideias ? []'sf.rique
On Thu, Jan 27, 2011 at 6:01 PM, Rick Romero rick@havokmon.com wrote:
Quoting Henrique Fernandes sf.rique@gmail.com:
Well, i am having some problens to figure out how many concurrent users
into
the server!
In my envoriment now, most people are using the webmail interface, and it just conect and disconct pretty quickly so i can not get it with "doveadm who"
doveadm who only gets the ones that are connect with clients.
O use ipvs to balance betwaeen 2 servers does anyone have an ideia ?
With ipvs i get this results:
IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP XXX.XX.X.XX:143 lblcr -> 10.0.2.10:143 Masq 1 16 228 -> 10.0.2.11:143 Masq 1 16 184
If you use imapproxy on your web servers, you will have a constant connection from a known IP.
If you want that to show up in ipvsadm, you can have imapproxy point to your VIP.
Rick
Then I'd suggest counting up your 'concurrent' webmail sessions. 'Concurrent' could be defined as 'session data updated in last 5 minutes'. That would be a better question for whoever provides your webmail system.
I would recommend using imapproxy though. Not only should it solve this problem, but it should also speed up your webmail sessions.
Rick
Quoting Henrique Fernandes sf.rique@gmail.com: >
I don't use imap proxy.
Other ideias ? []'sf.rique
On Thu, Jan 27, 2011 at 6:01 PM, Rick Romero rick@havokmon.com wrote:
Quoting Henrique Fernandes sf.rique@gmail.com:
Well, i am having some problens to figure out how many concurrent
users into> the server! > > In my envoriment now, most people are using the webmail
interface, and it > just conect and disconct pretty quickly so i can not get
it with "doveadm > who" > > doveadm who only gets the ones that are connect with clients
participants (2)
-
Henrique Fernandes
-
Rick Romero