logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Load Balancers maximum?
Author
Angioni



Joined: 15 Oct 2018
Posts: 1
Location: The Netherlands, Zwolle

PostPosted: Mon 15 Oct '18 16:06    Post subject: Load Balancers maximum? Reply with quote

I created in Linux 7.x Apache 2.4 a folder /etc/httpd/websites.d. In here i created many websites for hosting internally on another server.
In this config i use LoadBalancer and Cookie stickey sessions.
Now, when i add website conf #62 into this folder, and reload ( or restart ) httpd, httpd stops.
When i remove this configfile, Apache can be started.

I there some kind of maximum reached. Can i change anything to get it running with hundreds of websites, each with it's one load-balance config? Of must i change the entire config to have 1 loadbalancer config used for all my websites?

this is what i find in the log:

-- Unit httpd.service has begun starting up.
Oct 12 23:20:42 928137-app2.angioni.nl sshd[16193]: Did not receive identification string from 78.116.74.4 port 54511
Oct 12 23:20:43 928137-app2.angioni.nl kill[16388]: kill: cannot find process ""
Oct 12 23:20:43 928137-app2.angioni.nl systemd[1]: httpd.service: control process exited, code=exited status=1
Oct 12 23:20:43 928137-app2.angioni.nl systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Oct 12 23:20:43 928137-app2.angioni.nl systemd[1]: Unit httpd.service entered failed state.
Oct 12 23:20:43 928137-app2.angioni.nl systemd[1]: httpd.service failed.
Oct 12 23:20:43 928137-app2.angioni.nl polkitd[678]: Unregistered Authentication Agent for unix-process:15991:103087 (system bus name :1.68, object path /org/freedesktop/PolicyKit1/Authenticat..........
lines 1736-1792/1792 (END)



============== config LB ==============
<VirtualHost *:443>
Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
<Proxy Balancer://officemyset>
BalancerMember http://192.168.100.55:80 route=office.angioni.nl-Dev02
ProxySet stickysession=ROUTEID
</Proxy>

ProxyPreserveHost On
ProxyTimeout 1800
ProxyPass "/" "balancer://officemyset/" timeout=1800
ProxyPassReverse "/" "balancer://officemyset/" timeout=1800
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Tue 16 Oct '18 22:49    Post subject: Reply with quote

There is no Linux 7. Which Distro do you use?
Back to top


Reply to topic   Topic: Load Balancers maximum? View previous topic :: View next topic
Post new topic   Forum Index -> Apache