httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58529] Segmentation fault after modifying a proxy BalancerMember
Date Fri, 23 Oct 2015 16:26:04 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58529

--- Comment #1 from Antoine Prevosto <antoine.prevosto@gmail.com> ---
Apache is 2.4.16.

Our vhost contains this directives :

<Proxy balancer://tst_antoine_um_unmanaged>
    ProxySet lbmethod=bybusyness stickysession=ASID|asid growth=1
    BalancerMember http://http1qvit-15.xxx:80 lbset=0 connectiontimeout=5
retry=60 ttl=10 timeout=60 route=a1s1
</Proxy>

Then the balancer-manager displays this balancer as follow :

************************************************
Server Version: Apache/2.4.16 (Unix) OpenSSL/1.0.1e-fips
Server Built: Oct 6 2015 15:58:34
Balancer changes will be persisted on restart.
Balancers are NOT inherited from main server.
ProxyPass settings are inherited from main server.
LoadBalancer Status for balancer://tst_antoine_um_unmanaged
[p7cf634bb_tst_antoine_um_unmanaged]

MaxMembers    StickySession    DisableFailover    Timeout    FailoverAttempts  
 Method    Path    Active
2 [1 Used]    ASID | asid    Off    0    0    bybusyness    /    Yes

Worker URL    Route    RouteRedir    Factor    Set    Status    Elected    Busy
   Load    To    From
http://http1qvit-15.xxxx a1s1        1    0    Init Ok    1    0    0    208   
1.4K
************************************************

Now, we change the port number into the configuration file, so the
BalancerMember directive is now :

BalancerMember http://http1qvit-15.xxxx:8080 lbset=0 connectiontimeout=5
retry=60 ttl=10 timeout=60 route=a1s1


Then, we reload this configuration (graceful restart). After reloading, the
balancer-manager shows that a new balancer member has been added (this seems
strange to me) :

************************************************
Server Version: Apache/2.4.16 (Unix) OpenSSL/1.0.1e-fips
Server Built: Oct 6 2015 15:58:34
Balancer changes will be persisted on restart.
Balancers are NOT inherited from main server.
ProxyPass settings are inherited from main server.
LoadBalancer Status for balancer://tst_antoine_um_unmanaged
[p7cf634bb_tst_antoine_um_unmanaged]

MaxMembers    StickySession    DisableFailover    Timeout    FailoverAttempts  
 Method    Path    Active
2 [2 Used]    ASID | asid    Off    0    1    bybusyness    /    Yes

Worker URL    Route    RouteRedir    Factor    Set    Status    Elected    Busy
   Load    To    From
http://http1qvit-15.xxxx:8080    a1s1        1    0    Init Ok    0    0    0  
 0    0
http://http1qvit-15.xxxx    a1s1        1    0    Init Ok    1    0    0    208
   1.4K
************************************************

Finally, when sending a request to this virtual host, the child process crashes
when trying to proxify the request to the new balancer member (in this case, no
server is listnening on port 8080).

Here is the error log :

************************************************
[Fri Oct 23 15:45:46.848308 2015] [mpm_worker:notice] [pid 25396:tid
140519901787968] AH00292: Apache/2.4.16 (Unix) OpenSSL/1.0.1e-fips configured
-- resuming normal operations
[Fri Oct 23 15:45:46.848329 2015] [core:notice] [pid 25396:tid 140519901787968]
AH00094: Command line: '/tech/apache/runtime/httpd-2.4.16/bin/httpd -D
inst-antoine-back-tomcat7_a -d /tech/apache/a090966 -f
/tech/apache/a090966/etc/main.conf -T -D connector -D hapi -D qos -D cache -D
ssl -D standard -D proxy -D arch-64 -D env-dev -D site-tls -D habile-r5 -D
target-any -D localIP'
[Fri Oct 23 15:45:46.848347 2015] [mpm_worker:warn] [pid 25396:tid
140519901787968] AH00291: long lost child came home! (pid 27493)
[Fri Oct 23 15:45:46.848359 2015] [mpm_worker:warn] [pid 25396:tid
140519901787968] AH00291: long lost child came home! (pid 27494)
[Fri Oct 23 15:45:46.848376 2015] [mpm_worker:warn] [pid 25396:tid
140519901787968] AH00291: long lost child came home! (pid 27495)

[Fri Oct 23 15:49:03.631823 2015] [proxy:error] [pid 22019:tid 140519652980480]
(111)Connection refused: AH00957: HTTP: attempt to connect to 10.60.88.70:8080
(http1qvit-15.xxxx) failed
[Fri Oct 23 15:49:03.631858 2015] [proxy:error] [pid 22019:tid 140519652980480]
AH00959: ap_proxy_connect_backend disabling worker for (http1qvit-15.xxxx) for
60s
[Fri Oct 23 15:49:03.631868 2015] [proxy_http:error] [pid 22019:tid
140519652980480] [client 10.70.130.50:52700] AH01114: HTTP: failed to make
connection to backend: http1qvit-15.xxxx
[Fri Oct 23 15:49:04.031590 2015] [core:notice] [pid 25396:tid 140519901787968]
AH00051: child pid 22019 exit signal Segmentation fault (11), possible coredump
in /tech/apache/a090966/var/logs/antoine-back-tomcat7_a
************************************************

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message