Announcement

Collapse
No announcement yet.

How to increase thread count in glog.properties file?

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

  • How to increase thread count in glog.properties file?

    Does anyone know how to increase thread counts for SMTP, HTTP, and OMD in the glog.properties file?

    The only properties I could find are in the glog.base.properties file:

    glog.process.threadGroup.mail=1
    glog.process.threadGroup.httppost=1

    Are these the right ones to update? Which property is it for OMD?

    Thanks in advance!

  • #2
    Re: How to increase thread count in glog.properties file?

    Here is the OMD one:

    !remove glog.workflow.topicGroup=OMD,2

    The ones for HTTP are
    glog.base.properties:glog.workflow.topicGroup=http ,4
    glog.base.properties:glog.process.threadGroup.http post=1

    The one I will tell you NOT to increase is the smtp one. There really is no need to increase this and if you have a problem it is usually with your SMTP server. Increasing this may cause system instability.
    If my post was helpful please click on the Thanks! button

    MavenWire Hosting Admin
    15 years of OTM experience

    Comment


    • #3
      Re: How to increase thread count in glog.properties file?

      Thanks Nick! Is it unusual to have a SMTP thread process for roughly 30 seconds by one outbound tender? I'm seeing a processing time average of 6.4 seconds, with a longest processing time of 120 seconds.

      This is what I'm seeing here. So, for example, if we tender out 50 tenders at a time and it is taking about 30 seconds for each to process then the last e-mail won't go out until about 50 mins later. By the time the carrier is getting the e-mail, the shipment may have timed out. In any case, I was wondering what is typical (or good) for processing times for the SMTP thread? Thanks again!

      Comment


      • #4
        Re: How to increase thread count in glog.properties file?

        If tenders are taking 50 minutes to get to your inbox, I think there is a problem with the SMTP server. A message should take at most 4-5 seconds to process. If it is taking longer there is a problem with the application or something external from the app. If the backlog clears quickly then it is a problem with the SMTP server or the way they throttle emails.
        If my post was helpful please click on the Thanks! button

        MavenWire Hosting Admin
        15 years of OTM experience

        Comment


        • #5
          Re: How to increase thread count in glog.properties file?

          Hi,

          Are there any other threads whose properties can be modified to improve speed ? Eg - Bulkplan.

          Thanks
          J

          Comment


          • #6
            Re: How to increase thread count in glog.properties file?

            You can increase threads of "batch" queue up to the number of CPUs of OTM App server.
            You may also enable "Multi-threading Bulkplan Processing". See detail in OTM Performance Monitoring and Tuning Guide.
            --
            Joseph Liang
            MavenWire APAC
            http://www.mavenwire.com/

            Comment


            • #7
              Re: How to increase thread count in glog.properties file?

              Just a quick note on this - I would generally recommend not exceeding N-1, where N is the number of CPU cores on your app server. This will ensure that the server doesn't become fully CPU locked by bulk plans.

              --Chris

              Comment


              • #8
                Re: How to increase thread count in glog.properties file?

                Thank you Joseph.

                Can you please point me where I can find this guide ?

                Comment


                • #9
                  Re: How to increase thread count in glog.properties file?

                  Thanks Chris. Noted.

                  Comment


                  • #10
                    Re: How to increase thread count in glog.properties file?

                    Have you checked the Object Lock servlet to see if there are any locks being held on the Shipments that have been Tendered? The Outbound Tender Email might not be processed until all the object locks have cleared since the data can be changed by another process that has obtained a lock. You should also check the logs for time outs.
                    Last edited by itnole; August 10, 2011, 01:53.

                    Comment


                    • #11
                      Re: How to increase thread count in glog.properties file?

                      @JayVal
                      You can find OTM Performance Monitoring and Tuning Guide from docs/administration folder of OTM server or MOS/Metalink Note 796594.1
                      --
                      Joseph Liang
                      MavenWire APAC
                      http://www.mavenwire.com/

                      Comment


                      • #12
                        Re: How to increase thread count in glog.properties file?

                        Thank you very much.

                        Comment

                        Working...
                        X
                        😀
                        🥰
                        🤢
                        😎
                        😡
                        👍
                        👎