提高Bugzilla提交和修改bug时发送mail的效率

转载请注明出处:[Michael`s blog] http://www.toplee.com/blog/1399.html

经常我们会遇到bugzilla里面提交和修改bug的时候反应非常的慢,其实问题大部分是出在提交的时候发送邮件的处理上,解决的思路两种:提高发信速度或者让发信变成异步的操作。

我这里使用的是异步发邮件的方法来提高处理效率,这需要配置两个方面的内容,一个是在bugzilla管理界面的email设置中,有个use_mailer_queue设置项需要设置为“on”,表示将使用后台的队列方式发送邮件,另外一个就是用在后台配置好 jobqueue 的服务。

在服务器上bugzilla目录下,有个 jobqueue.pl文件,该文件用来处理bugzilla的一些后台任务,使用帮助可以参照bugzilla文档里面的说明,我们这里可以直接运行 jobqueue.pl start 来启动该服务,文档里面还会告知你如何配置成系统自动启动的服务,操作都非常简单。

对于详细的配置和更多的讲解可以和我单独讨论,这里不多讲解,我这里主要是讲解处理问题的思路。

另外,我们使用的是利用Gmail来发邮件,使用Gmail发邮件还有比较复杂一点的配置,需要配置SMTP::TSL发送模块,网上有不少文档专门讲解。

Category: 其他技术
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
No Responses
  1. minecraft says:

    Asking questions are truly nice thing if you are not
    understanding something fully, but this article provides fastidious understanding even.

  2. minecraft says:

    I’m gone to convey my little brother, that he should
    also go to see this website on regular basis to get
    updated from latest gossip.

  3. Hey superb website! Does running a blog like this require a
    massive amount work? I have very little understanding of programming but I was hoping to start my own blog in the near future.
    Anyways, should you have any recommendations
    or techniques for new blog owners please share.
    I know this is off topic however I simply needed to ask.
    Thanks a lot!

  4. Highly descriptive article, I enjoyed that bit.

    Will there be a part 2?

  5. We absolutely love your blog and find many of your post’s to
    be what precisely I’m looking for. Would you offer guest writers to write content to suit your
    needs? I wouldn’t mind creating a post or elaborating on a number of the subjects you write about here.
    Again, awesome web log!

  6. I don’t even know how I ended up here, but I thought this post was great.
    I do not know who you are but certainly you are going to a famous blogger if you are not already 😉 Cheers!

  7. Hi i am kavin, its my first occasion to commenting anyplace, when i read this post i thought i
    could also create comment due to this good article.

  8. I really like your blog.. very nice colors & theme.

    Did you create this website yourself or did you hire someone to do it for you?

    Plz respond as I’m looking to construct
    my own blog and would like to know where u got this from.
    thanks

  9. I will immediately clutch your rss feed as I can’t find your email subscription hyperlink or e-newsletter service.
    Do you’ve any? Please let me know in order that I could
    subscribe. Thanks.

  10. When someone writes an article he/she keeps the image of a user
    in his/her brain that how a user can understand it.
    Therefore that’s why this post is perfect. Thanks!

  11. Hi, this weekend is pleasant for me, as this point in time i
    am reading this great informative post here at
    my residence.

  12. Very good post! We will be linking to this
    great post on our website. Keep up the good
    writing.

  13. Actually no matter if someone doesn’t be aware of afterward its up to other visitors that they will help, so here it occurs.

  14. Sling TV says:

    Hello, Neat post. There’s a problem together with your website in web explorer, could check this?
    IE nonetheless is the marketplace leader and
    a big component to folks will leave out your
    excellent writing due to this problem.

  15. This article is genuinely a nice one it assists new internet visitors, who are wishing in favor of blogging.

  16. all the time i used to read smaller content that also clear
    their motive, and that is also happening with this paragraph which I am reading here.

  17. What’s up colleagues, its great piece of writing about educationand completely defined, keep it up all the time.

  18. A person essentially lend a hand to make seriously articles I might state.

    This is the first time I frequented your web page and so far?

    I surprised with the research you made to create this actual put
    up amazing. Wonderful task!

  19. I’d like to find out more? I’d love to find out
    some additional information.

  20. Hello just wanted to give you a quick heads up. The text in your content seem to
    be running off the screen in Firefox. I’m not sure if this is a
    format issue or something to do with browser compatibility but I figured I’d post
    to let you know. The design and style look great though!
    Hope you get the issue fixed soon. Thanks

  21. Highly descriptive blog, I enjoyed that bit.
    Will there be a part 2?

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image