Answer the question
In order to leave comments, you need to log in
Check the number of concurrent connections
Gentlemen, I want to check how many simultaneous connections (just connections) my mail server can withstand, I want to install 600 connections from different machines and use 5 such machines (it doesn’t matter Windows or Linux) and understand how many the server will start refusing to connect,
you don’t know ready solutions?
PS I
use dovecot in proxy mode, about 600
users complain about periodic problems with access to mail
cl_mail_proxy ~ # ulimit -n
4096
cl_mail_proxy ~ # cat /etc/security/limits.conf
@mail soft nofile 8098
@mail soft nproc 8098
@dovenull soft nofile 8098
@dovenull soft nproc 8098
* hard locks 8192
* hard nofile 8192
* soft locks 4096
* soft nofile 4096
Answer the question
In order to leave comments, you need to log in
Do you need a stress test tool? For example, the python libraries have "imaplib" (http://docs.python.org/library/imaplib.html). You can try to adapt this script for yourself from its docks:
#!/usr/bin/env python
import imaplib
M = imaplib.IMAP4('yourserver.com')
M.login('imapuser','imappass')
M.select()
typ, data = M.search(None, 'ALL')
for num in data[0].split():
typ, data = M.fetch(num, '(RFC822)')
print 'Message %s\n%s\n' % (num, data[0][1])
M.close()
M.logout()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question