- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to simulate sending lots of emails
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2003 01:00 PM
тАО03-24-2003 01:00 PM
I have to test if my system (L3000) can handle sending lots of emails (about 50,000/day). I want to run the test such that -
1. emails are generated with recepients as different users in different domains (joe@domain1.com, mary@domain2.com, etc.)
2. MX records of these domains are resolved and verified by our DNS server.
3. The emails are NOT sent but a line is added to the log-file stating address being verified with a time-stamp.
Will this be a good test (simulation) to give me an idea of load? Any other idea, which would help to test and measure the load is also welcome.
As a side Q, which constitues a load in a sendmail server - memory, CPU, disk I/O ?
And no, its not to generate spam-mail! :-). One of the cgi-bin scripts on web-server will take input from visitor(s) and send emails to the addresses mentioned in the form.
Thanks and looking forward to your valuable inputs!
...Manjeet
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2003 01:15 PM
тАО03-24-2003 01:15 PM
Re: How to simulate sending lots of emails
The "cost" of sendmail is taken in process instantiation and disk I/O.
Each time a new mail connection comes in, sendmail forks a new process to handle the connection (process instantiation).
When mail is delivered, it may get written as many as three times (~/tmp, mqueue, mail). (I/O)
My fear is that since you aren't doing an end to end transaction, you're going to miss most of the "cost" (process instantiation and I/O).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2003 01:42 PM
тАО03-24-2003 01:42 PM
Re: How to simulate sending lots of emails
If the above is not true, what would be the true test? And how would I simulate the it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2003 01:44 PM
тАО03-24-2003 01:44 PM
Re: How to simulate sending lots of emails
I agree w/Christopher, if you don't *actually* send anything, you'll never know the limits.
You could try setting up host & user alias' such that the mail will leave the local host, go to your Exchange or SMTP server to be routed right back to the local host.
This would have the added feature of generating *twice* the volume as you'll have outgoing AND incoming sendmail sessions going on that box.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2003 01:46 PM
тАО03-24-2003 01:46 PM
Re: How to simulate sending lots of emails
As mentioned by the previous poster, sendmail is not really CPU and memory bound, but disk bound.
You can not really simulate this by conventional means.
What you could try, is if you have a firewall, have it drop all outbound packets for port 25, and not error. This would allow the best real testing for an outbound mail server.
Again though, there is alot of dependance on the size of each message, and your disk layout.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2003 02:07 PM
тАО03-24-2003 02:07 PM
Re: How to simulate sending lots of emails
This is my production server which does send outbound emails. I like the idea of dropping connection at firewall but that will drop legitimate emails as well. I will ask my n/w admin if our firewall can prevent emails based on some other rule (like sender).
I am still open for more suggestions! :-)
...Manjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2003 06:53 AM
тАО03-25-2003 06:53 AM
Re: How to simulate sending lots of emails
See
http://www-svca.mercuryinteractive.com/pdf/company/newport_load2000.pdf
for some sample companies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2003 03:10 PM
тАО03-25-2003 03:10 PM
Re: How to simulate sending lots of emails
I am going with Shannon's idea of sending email but dropping at firewall. Since I can't test it on live server, I am setting up a sacrificial-lamb and putting up a rule in firewall to drop the smtp connections coming from this host.
Shannon, if you are reading this, please respond so that I can assign points to you.
...Manjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2003 05:56 AM
тАО03-26-2003 05:56 AM
SolutionYou CAN test on your production server, using another sendmail.cf (cat
'Bat Book' 30.4.1.2 $h and other arguments in A=[IPC] (and maybe: 30.8.38 F=R Use a reserved TCP port) on how to do that.
HTH
Kasper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2003 07:46 AM
тАО03-28-2003 07:46 AM
Re: How to simulate sending lots of emails
With some simple tests, I got very favourable results. When I chose few domains, I could send about 60 emails in 5 seconds (comes to about 1 million emails in 24 hrs !!)
Thanks everyone!