Announcement

Collapse
No announcement yet.

Very Slow Posting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Steve St.Lauren
    replied
    For anyone still having this problem here is a potential solution:


    http://www.vbulletin.com/forum/showt...254#post598254

    Leave a comment:


  • Scott MacVicar
    replied
    slowly resolving the host to send it too could have been the problem.

    Leave a comment:


  • Vigile
    replied
    I think I fixed the problem on our server...it turns out or DNS servers were out of date, and that was what as slowing down the sendmail.

    Leave a comment:


  • Vigile
    replied
    I have this same problem all the sudden...

    I think it has to do with major ISP cracking down on SPAM, and thus are sendmails are getting the shaft...

    But, let me know what you come up with DBs.

    Leave a comment:


  • DBs
    replied
    Maybe not a lot of their users have the email notification turned on or they have turned them off?

    I am gonna play with sendmail on Monday and work out the commands that will force it to queue the email and then set a queue runner to send the mails out every 1m.

    Will post the results here when i crack it.

    Leave a comment:


  • happ76
    replied
    yes, that seems to be the case with me, however, I am just using default sendmail settings. how come no one else has this problem but me.

    Leave a comment:


  • DBs
    replied
    Originally posted by happ76
    DBs: You have the same exact issue in that responses to your forums is slow?
    I did have but I did some frigging around the system to bypass this. I will have to dig out my changes.

    Try this to definately isolate the fault:

    Create a new thread, reply to it. If the post is accepted straight away then its an email issue, if it is slow (and you don't use email notifications for that thread/forum) then the problem lies somewhere else.

    Leave a comment:


  • DBs
    replied
    Originally posted by Ed Sullivan
    Well, I'm staring at the C code PHP uses to handle mailing and it definitely either goes to sendmail or the SMTP server you have specified, depending on your OS.

    I think what you're saying is that you should be able to specify an SMTP server connection aside from the php.ini one, regardless of your OS (ie, point to an SMTP server on *nix), which is something we've discussed previously.
    Yes, thats the point I am trying to make. The only other way is to do a fudge with your local sendmail config and configure it to accept all the mail as deferred and then every x minutes perform mail delivery. This way it instantly accepts the email.

    Leave a comment:


  • happ76
    replied
    the thing is my sendmail is working fine. Perfectly fine. However, Posting a reply with cable took about 3 1/2 minutes.

    Leave a comment:


  • happ76
    replied
    DBs: You have the same exact issue in that responses to your forums is slow?

    Leave a comment:


  • Mike Sullivan
    replied
    Well, I'm staring at the C code PHP uses to handle mailing and it definitely either goes to sendmail or the SMTP server you have specified, depending on your OS.

    I think what you're saying is that you should be able to specify an SMTP server connection aside from the php.ini one, regardless of your OS (ie, point to an SMTP server on *nix), which is something we've discussed previously.

    Leave a comment:


  • DBs
    replied
    Originally posted by Ed Sullivan
    php.ini, not the control panel. It's server level.

    Code:
    [mail function]
    ; For Win32 only.
    SMTP=localhost ; for Win32 only
    
    ; For Win32 only.
    [email protected] ; for Win32 only
    
    ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ;sendmail_path=
    What you're saying doesn't really make sense given these options and what I've seen in the past (specifically people's problems with SMTP servers).

    Email stuff isn't my strongest point, but isn't the only way to send the mail to actually go and talk to the destination server? So logicially, yes SMTP server connections are being made, but how else would you do it?

    Not at all.

    This is my setup:

    SMTP server (3). This server run on NT which is not the greatest of OS platforms by any means. Now, the mail daemon on this box (IMAIL) has been told to forward all mail to SMTP-RELAY.BARRYSWORLD.COM.

    SMTP-RELAY.BARRYSWORLD.COM actually consists of 2 linux boxes running exim. These are high performance relayers. They take all our outbound email from Imail, sort them, and then chuck them out to the destination SMTP server.

    This way Imail does not get bogged down with a task which *nix has been doing for decades.

    What the person above is asking todo is identical to this setup. He wants to relieve the burden on vb/php by blatting the email as fast as possible to one of his LOCAL smtp servers which in turn will send it on to the final destination.

    Another good thing about this is that on our relays we can do fancy filtering/routing/virus checking etc etc without having to spend money on buying windows software etc. Also it allows us to protect our smtp daemons running on nt with "hardended" more robust *nix versions.

    eg, I am about to send out a mailshot to 50k users from NT. This takes 10 mins as they are sent to the relayers which then worry about the nitty gritty.

    Make more sense now?

    Leave a comment:


  • Mike Sullivan
    replied
    Originally posted by DBs
    Where exactly in the control panel do you set this? I just searched for smtp and nothing came back. There is 1 entry under email options.
    php.ini, not the control panel. It's server level.

    Code:
    [mail function]
    ; For Win32 only.
    SMTP=localhost ; for Win32 only
    
    ; For Win32 only.
    [email protected] ; for Win32 only
    
    ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ;sendmail_path=
    What you're saying doesn't really make sense given these options and what I've seen in the past (specifically people's problems with SMTP servers).

    Email stuff isn't my strongest point, but isn't the only way to send the mail to actually go and talk to the destination server? So logicially, yes SMTP server connections are being made, but how else would you do it?

    Leave a comment:


  • DBs
    replied
    Originally posted by Ed Sullivan
    Uhh.. no, you can specify an SMTP server or, if you're not on Windows, your path to sendmail. It's all in your php.ini . It's not something vB controls at all -- it's how PHP's mail() function works. (AFAIK, the reason the mail function is so slow is that is re-establishes a connection to the server/sendmail for each mail to send out. So if you have a lot to send out, that's a lot of overhead.)
    Where exactly in the control panel do you set this? I just searched for smtp and nothing came back. There is 1 entry under email options.

    Forgive me for partly blaming vB but the problem still stands. The PHP mai() function calls each server directly (destination smtp domain). It does not pass it to a SMTP server.

    This is the reason why. If you do not believe me, ssh into this very server, watch outbound smtp connections and reply to this thread. Watch all the connections being initiated to the respective smtp servers.

    I had the same issue and looked very deep into the problem and under *nix, this is how php/vb works which imho is naff.

    Leave a comment:


  • Mike Sullivan
    replied
    Originally posted by DBs
    You misunderstand vBulletin.

    It does it in a rather naff way.

    Instead of being able to specify an SMTP server to send all outbound mail to, it actually initiates a connection direct from itself to the REMOTE smtp server for the domain that the email is destined for.
    Uhh.. no, you can specify an SMTP server or, if you're not on Windows, your path to sendmail. It's all in your php.ini . It's not something vB controls at all -- it's how PHP's mail() function works. (AFAIK, the reason the mail function is so slow is that is re-establishes a connection to the server/sendmail for each mail to send out. So if you have a lot to send out, that's a lot of overhead.)

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X