Search The ForumSearch   RegisterRegister  LoginLogin

MailBee Objects

 AfterLogic Forum : MailBee Objects
Subject Topic: question about mailbee with multi thread Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Guests
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 20 December 2004 at 4:30pm | IP Logged Quote Guests

Hi, there.
I'm using mailbee object and have some problem(I'm a paid customer).

I have to manage about 20K email account.
So, I try to run multiple programs to reduce access time.
When I run 10 programs(these share mailbee object), there was no problem(there were some overhead).
But I run 15 programs in same time, there was error.

My questions are,
1. How many programs(process) I can run with mailbee object(how many programs can access to mailbee object in same time)?
- What's the maximum number of program can access mailbee object in same time?
- I'm using win2000 server with dual zeon 2.6 ghz cpu, 4G ram.

2. How long it take mailbee object connect to email account?

3. Is there any problem If I use multi thread?
    - Can my multi thread process access mailbee object in same time?

Please answer mu question asap.
THanks.

Joe, Ko
Back to Top View Guests's Profile Search for other posts by Guests
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 21 December 2004 at 9:18am | IP Logged Quote Alex

Quote:

1. How many programs(process) I can run with mailbee object(how many programs can access to mailbee object in same time)?
- What's the maximum number of program can access mailbee object in same time?
- I'm using win2000 server with dual zeon 2.6 ghz cpu, 4G ram.


There is no specific limitation on concurrent number of programs using
MailBee. However:

Popular problem is mail server related issues. When too many
connections are made to mail server at the same time (especially from the
same IP address, as in your case), it may reject some of them to prevent
abuse, or it might just not support such a heavy load. Are you sure your
mail server allows > 10 simultaneous connections from the same IP address
and works stably under this condition?

Also, machine running your programs can just run out of resources if number of apps making
connections is too high. It doesn't matter whether MailBee makes connections
or any other code because it has something to do with exhausting number of
available Windows sockets. When connections are created/closed too
frequently, resources might run out quickly because there is always some
time passes between closing and freeing a socket. This is Windows limitation
(not MailBee), and each Windows version has different timespan for
closing-freeing interval.

Another possible problem is a presence of firewall or similar application
which blocks network access for your app under some circumstances
(traffic limit exceeded, number of instances exceeded, or whatever). If
you're using such an app (on MailBee-powered app machine or on mail server
machine, try to disable it and see if there any difference).

Also, make sure you disable logging MailBee session into a file, or make
each app instance to write to different log file.

Quote:

2. How long it take mailbee object connect to email account?


This depends on many factors (mainly network connection speed and mail
server performance). Usually, mail server performance degrades if number of
messages in mail account is quite large (so the connection might take up a
few seconds). If network is LAN and mail server is fast (or mailbox is empty), MailBee
connects in less than 0.1 second.


Quote:

3. Is there any problem If I use multi thread?
- Can my multi thread process access mailbee object in same time?


You can create as many instances of MailBee objects as you need and run them
simultaneously.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide