Load Balancing Factor in Apache

Discussion in 'Apache' started by sivasenthilkumar, Apr 27, 2006.

  1. #1
    Hai I have configured my apps as load balancing with clustering using Apache Server and two tomcat server.

    Clustering working fine. How to check my load balancing. In workers.properties (Apache) how can i set lbfactor. What does it denotes. Explain.

    Thanks in advance
    Senthil
     
    sivasenthilkumar, Apr 27, 2006 IP
  2. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The lbfactor denotes the weight of the work that a worker would do, which means the higher the number set the more work the worker will do or more process will be passed to the worker.

    Which can also be compared to weight where the one that is set higher will have more chances to catch up the awaiting queue of request.

    Hope it helps
     
    theblight, Apr 29, 2006 IP
  3. tejendraprasad

    tejendraprasad Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i am doing apache 2.0 tomcat clustering with load balancing i am getting error like this when i start my apache server [ Starting httpd: httpd: Syntax error on line 148 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_jk.so into server: /etc/httpd/modules/mod_jk.so: invalid ELF header] this is my error and i am completely new to this .canany one help me

    regards,
    tejendra prasad
     
    tejendraprasad, Mar 29, 2010 IP