Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Rainer Jung

Am 15.03.2018 um 18:25 schrieb lucas29252:

Steffen sent me the patched module and it works!


Same here.

Regards,

Rainer



Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Eric Covener
On Thu, Mar 15, 2018 at 1:25 PM, lucas29252  wrote:
> Steffen sent me the patched module and it works!

Thanks Steffen and Lucas!

(and Yann)


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread lucas29252
Steffen sent me the patched module and it works!



--
Sent from: 
http://apache-http-server.18135.x6.nabble.com/Apache-HTTP-Server-Dev-f4771363.html


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Yann Ylavic
On Thu, Mar 15, 2018 at 6:07 PM, Rainer Jung  wrote:
> Am 15.03.2018 um 16:48 schrieb Yann Ylavic:
>>
>> On Thu, Mar 15, 2018 at 3:20 PM, Rainer Jung 
>> wrote:
>> Index: modules/slotmem/mod_slotmem_shm.c
>> ===
>> --- modules/slotmem/mod_slotmem_shm.c   (revision 1826753)
>> +++ modules/slotmem/mod_slotmem_shm.c   (working copy)
>> @@ -447,9 +466,9 @@ static apr_status_t slotmem_create(ap_slotmem_inst
>>  }
>>  ap_log_error(APLOG_MARK, rv == APR_SUCCESS ? APLOG_DEBUG :
>> APLOG_ERR,
>>   rv, ap_server_conf, APLOGNO(02611)
>> - "create: apr_shm_create(%s) %s",
>> - fname ? fname : "",
>> - rv == APR_SUCCESS ? "succeeded" : "failed");
>> + "create: apr_shm_%s(%s) %s",
>> + fbased && is_child_process() ? "attach" : "create",
>> + fname, rv == APR_SUCCESS ? "succeeded" : "failed");
>>  if (rv != APR_SUCCESS) {
>>  return rv;
>>  }
>
>
> Removing the fname null check was intentional?

Can't happen, either fbased (this fname != NULL), or fname is set to
"none" above.

Thanks,
Yann.


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Rainer Jung

Am 15.03.2018 um 16:48 schrieb Yann Ylavic:

On Thu, Mar 15, 2018 at 3:20 PM, Rainer Jung  wrote:
Index: modules/slotmem/mod_slotmem_shm.c
===
--- modules/slotmem/mod_slotmem_shm.c   (revision 1826753)
+++ modules/slotmem/mod_slotmem_shm.c   (working copy)
@@ -447,9 +466,9 @@ static apr_status_t slotmem_create(ap_slotmem_inst
 }
 ap_log_error(APLOG_MARK, rv == APR_SUCCESS ? APLOG_DEBUG : APLOG_ERR,
  rv, ap_server_conf, APLOGNO(02611)
- "create: apr_shm_create(%s) %s",
- fname ? fname : "",
- rv == APR_SUCCESS ? "succeeded" : "failed");
+ "create: apr_shm_%s(%s) %s",
+ fbased && is_child_process() ? "attach" : "create",
+ fname, rv == APR_SUCCESS ? "succeeded" : "failed");
 if (rv != APR_SUCCESS) {
 return rv;
 }


Removing the fname null check was intentional?

Probably, just want to make sure.

Thanks as always,

Rainer



Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Rainer Jung

Am 15.03.2018 um 16:48 schrieb Yann Ylavic:

On Thu, Mar 15, 2018 at 3:20 PM, Rainer Jung  wrote:


For the sake of completeness, here are the full trace8 (failed) startup logs
for this reproduction scenario:


Thanks Rainer!

Could you (or Steffen, or Lucas) try the attached patch? It's based on
2.4.x, but should work for trunk too..


I currently do not have a quick way to do builds on Windows, but if 
Steffen could provide a build including your patch I could easily redo 
the described test.


Regards,

Rainer


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Jim Jagielski
*bringo*!

https://www.youtube.com/watch?v=4MpyHBoiTwk

> On Mar 15, 2018, at 9:58 AM, Eric Covener  wrote:
> 
> On Thu, Mar 15, 2018 at 9:44 AM, Yann Ylavic  wrote:
>> On Thu, Mar 15, 2018 at 2:22 PM, Yann Ylavic  wrote:
>>> On Thu, Mar 15, 2018 at 11:56 AM, Steffen  wrote:
 
 
 Looks a serious regression.
 
 Reported:  www.apachelounge.com/viewtopic.php?p=36597
>>> 
>>> It does not look like mod_slotmem_shm is used (missing some error
>>> logging from there), mod_slotmem_plain maybe?
>>> 
>>> Also, more context would be appreciated, full/relevant VirtualHost
>>> config (including IP:port, ServerName/ServerAlias eventually
>>> "anonymized"), BalancerPersist on/off(?) and whether or not other
>>> balancers are configured elsewhere (i.e. full httpd.conf if
>>> possible...).
>>> 
>>> Can Windows users reproduce this very basic case here with
>>> mod_slotmem_shm (it doesn't seem Windows specific to me)?
>> 
>> Wait:
>> [pid 19136:tid 136] mod_proxy_balancer.c(917): AH01178: Doing
>> balancers create: 552, 1 (6)
>> [pid 19136:tid 136] mod_proxy_balancer.c(986): AH01184: Doing workers
>> create: balancer://mycluster (p111c5be7_mycluster), 984, 2 [0]
>> [pid 30160:tid 756] mod_proxy_balancer.c(917): AH01178: Doing
>> balancers create: 552, 1 (6)
>> [pid 30160:tid 756] (17)File exists: AH01179: balancer slotmem_create failed
>> 
>> Two processes (PIDs) creating the same balancer, two httpd instances
>> with the same configuration?
> 
>> (IIRC, Windows MPM is threaded only, no "forking" right?).
> 
> the parent and child both run postconfig though on Windows.
> 
> -- 
> Eric Covener
> [email protected]



Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Yann Ylavic
On Thu, Mar 15, 2018 at 3:20 PM, Rainer Jung  wrote:
>
> For the sake of completeness, here are the full trace8 (failed) startup logs
> for this reproduction scenario:

Thanks Rainer!

Could you (or Steffen, or Lucas) try the attached patch? It's based on
2.4.x, but should work for trunk too..


Regards,
Yann.
Index: modules/slotmem/mod_slotmem_shm.c
===
--- modules/slotmem/mod_slotmem_shm.c	(revision 1826753)
+++ modules/slotmem/mod_slotmem_shm.c	(working copy)
@@ -274,11 +274,25 @@ static apr_status_t restore_slotmem(sharedslotdesc
 return rv;
 }
 
+static APR_INLINE int is_child_process(void)
+{
+#ifdef WIN32
+return getenv("AP_PARENT_PID") != NULL;
+#else
+return 0;
+#endif
+}
+
 static apr_status_t cleanup_slotmem(void *is_startup)
 {
 int is_exiting = (ap_state_query(AP_SQ_MAIN_STATE) == AP_SQ_MS_EXITING);
 ap_slotmem_instance_t *mem;
 
+if (is_child_process()) {
+*retained_globallistmem = globallistmem = NULL;
+return APR_SUCCESS;
+}
+
 /* When in startup/pre-config's cleanup, the retained data and global pool
  * are not used yet, but the SHMs contents were untouched hence they don't
  * need to be persisted, simply unlink them.
@@ -439,8 +453,13 @@ static apr_status_t slotmem_create(ap_slotmem_inst
 
 {
 if (fbased) {
-apr_shm_remove(fname, pool);
-rv = apr_shm_create(&shm, size, fname, gpool);
+if (is_child_process()) {
+rv = apr_shm_attach(&shm, fname, gpool);
+}
+else {
+apr_shm_remove(fname, pool);
+rv = apr_shm_create(&shm, size, fname, gpool);
+}
 }
 else {
 rv = apr_shm_create(&shm, size, NULL, pool);
@@ -447,9 +466,9 @@ static apr_status_t slotmem_create(ap_slotmem_inst
 }
 ap_log_error(APLOG_MARK, rv == APR_SUCCESS ? APLOG_DEBUG : APLOG_ERR,
  rv, ap_server_conf, APLOGNO(02611)
- "create: apr_shm_create(%s) %s",
- fname ? fname : "",
- rv == APR_SUCCESS ? "succeeded" : "failed");
+ "create: apr_shm_%s(%s) %s",
+ fbased && is_child_process() ? "attach" : "create",
+ fname, rv == APR_SUCCESS ? "succeeded" : "failed");
 if (rv != APR_SUCCESS) {
 return rv;
 }
@@ -811,7 +830,10 @@ static int pre_config(apr_pool_t *pconf, apr_pool_
 }
 globallistmem = *retained_globallistmem;
 
-if (ap_state_query(AP_SQ_MAIN_STATE) != AP_SQ_MS_CREATE_PRE_CONFIG) {
+if (is_child_process()) {
+gpool = pconf;
+}
+else if (ap_state_query(AP_SQ_MAIN_STATE) != AP_SQ_MS_CREATE_PRE_CONFIG) {
 gpool = ap_pglobal;
 }
 else {


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Eric Covener
IIRC they use a combo of AP_PARENT_PID and postconfig userdata to tell
between parent/child an first/second pass.

But i also vaguely recall there is a helper for it now?

On Thu, Mar 15, 2018 at 10:25 AM, Yann Ylavic  wrote:
> On Thu, Mar 15, 2018 at 3:05 PM, Yann Ylavic  wrote:
>> On Thu, Mar 15, 2018 at 2:58 PM, Eric Covener  wrote:
>>> On Thu, Mar 15, 2018 at 9:44 AM, Yann Ylavic  wrote:

 (IIRC, Windows MPM is threaded only, no "forking" right?).
>>>
>>> the parent and child both run postconfig though on Windows.
>>
>> Argh, that's it! (weird behaviour though, IMHO).
>>
>> The slotmem does not try to attach() first anymore, this needs to be 
>> restored...
>
> Is there a way for a module to know whether it's run by the parent or
> child process on Windows?



-- 
Eric Covener
[email protected]


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Yann Ylavic
On Thu, Mar 15, 2018 at 3:05 PM, Yann Ylavic  wrote:
> On Thu, Mar 15, 2018 at 2:58 PM, Eric Covener  wrote:
>> On Thu, Mar 15, 2018 at 9:44 AM, Yann Ylavic  wrote:
>>>
>>> (IIRC, Windows MPM is threaded only, no "forking" right?).
>>
>> the parent and child both run postconfig though on Windows.
>
> Argh, that's it! (weird behaviour though, IMHO).
>
> The slotmem does not try to attach() first anymore, this needs to be 
> restored...

Is there a way for a module to know whether it's run by the parent or
child process on Windows?


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Rainer Jung

Am 15.03.2018 um 15:06 schrieb Yann Ylavic:

On Thu, Mar 15, 2018 at 2:59 PM, lucas29252  wrote:

Hi, I'm the original reporter.

I've just make a fresh install of  httpd-2.4.32-Win64-VC15.zip


And then uncommented the following modules:

lbmethod_byrequests_module
proxy_module
slotmem_shm_module

And in the #Virtual hosts section added the following:


 ServerAdmin [email protected]
 DocumentRoot "C:/Apache24/docs/dummy-host.example.com"
 ServerName dummy-host.example.com
 ServerAlias www.dummy-host.example.com
 ErrorLog "logs/dummy-host.example.com-error.log"
 CustomLog "logs/dummy-host.example.com-access.log" common

 LogLevel debug

 
   BalancerMember http://localhost:8080 retry=0
   BalancerMember http://localhost:8880 retry=0 status=+H
 

 ProxyPass /  "balancer://mycluster/"
 ProxyPassReverse  /  "balancer://mycluster/"




Thanks, I think I see where it comes from, will provide a patch soon.


For the sake of completeness, here are the full trace8 (failed) startup 
logs for this reproduction scenario:


C:\Users\myuser\Apache\Apache24\bin>httpd
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] 
does not exist
[Thu Mar 15 15:16:22.739001 2018] [core:trace3] [pid 5968:tid 428] 
core.c(3345): Setting LogLevel for all modules to trace8
[Thu Mar 15 15:16:22.739001 2018] [proxy:debug] [pid 5968:tid 428] 
mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8080' for 
balancer 'balancer://mycluster'
[Thu Mar 15 15:16:22.739001 2018] [proxy:debug] [pid 5968:tid 428] 
mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8080' for 
balancer 'balancer://mycluster'
[Thu Mar 15 15:16:22.739001 2018] [proxy:debug] [pid 5968:tid 428] 
mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8880' for 
balancer 'balancer://mycluster'
[Thu Mar 15 15:16:22.739001 2018] [proxy:debug] [pid 5968:tid 428] 
mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8880' for 
balancer 'balancer://mycluster'



C:\Users\myuser\Apache\Apache24\logs>type dummy-host.example.com-error.log
[Thu Mar 15 15:16:22.801414 2018] [proxy_balancer:debug] [pid 5968:tid 
428] mod_proxy_balancer.c(917): AH01178: Doing balancers create: 552, 1 (6)
[Thu Mar 15 15:16:22.816981 2018] [proxy_balancer:debug] [pid 5968:tid 
428] mod_proxy_balancer.c(986): AH01184: Doing workers create: 
balancer://mycluster (p36f4bd69_mycluster), 984, 2 [0]
[Thu Mar 15 15:16:23.332625 2018] [proxy_balancer:debug] [pid 7520:tid 
416] mod_proxy_balancer.c(917): AH01178: Doing balancers create: 552, 1 (6)
[Thu Mar 15 15:16:23.332625 2018] [proxy_balancer:emerg] [pid 7520:tid 
416] (17)File exists: AH01179: balancer slotmem_create failed



C:\Users\myuser\Apache\Apache24\logs>type error.log
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] 
does not exist
[Thu Mar 15 15:16:22.785730 2018] [core:trace3] [pid 5968:tid 428] 
core.c(3345): Setting LogLevel for all modules to trace8
[Thu Mar 15 15:16:22.785730 2018] [proxy:debug] [pid 5968:tid 428] 
mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8080' for 
balancer 'balancer://mycluster'
[Thu Mar 15 15:16:22.785730 2018] [proxy:debug] [pid 5968:tid 428] 
mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8080' for 
balancer 'balancer://mycluster'
[Thu Mar 15 15:16:22.785730 2018] [proxy:debug] [pid 5968:tid 428] 
mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8880' for 
balancer 'balancer://mycluster'
[Thu Mar 15 15:16:22.785730 2018] [proxy:debug] [pid 5968:tid 428] 
mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8880' for 
balancer 'balancer://mycluster'
[Thu Mar 15 15:16:22.816981 2018] [mpm_winnt:notice] [pid 5968:tid 428] 
AH00455: Apache/2.4.32 (Win64) configured -- resuming normal operations
[Thu Mar 15 15:16:22.816981 2018] [mpm_winnt:notice] [pid 5968:tid 428] 
AH00456: Apache Lounge VC15 Server built: Mar 12 2018 15:30:34
[Thu Mar 15 15:16:22.816981 2018] [core:notice] [pid 5968:tid 428] 
AH00094: Command line: 'httpd -d C:/Users/myuser/Apache/Apache24'
[Thu Mar 15 15:16:22.848233 2018] [mpm_winnt:notice] [pid 5968:tid 428] 
AH00418: Parent: Created child process 7520
AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] 
does not exist
[Thu Mar 15 15:16:23.270113 2018] [core:trace3] [pid 7520:tid 416] 
core.c(3345): Setting LogLevel for all modules to trace8
[Thu Mar 15 15:16:23.270113 2018] [proxy:debug] [pid 7520:tid 416] 
mod_proxy.c(2327): AH01147: Defining worker 'http://localhost:8080' for 
balancer 'balancer://mycluster'
[Thu Mar 15 15:16:23.270113 2018] [proxy:debug] [pid 7520:tid 416] 
mod_proxy.c(2332): AH01148: Defined worker 'http://localhost:8080' for 
balancer 'balancer://mycluster'
[Thu Mar 15 15:16:23.270113 2018] [proxy:debug] [pid 7520:tid 416] 
mod_proxy.c(2327): AH01147: Defining worker 'http:

Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Yann Ylavic
On Thu, Mar 15, 2018 at 2:59 PM, lucas29252  wrote:
> Hi, I'm the original reporter.
>
> I've just make a fresh install of  httpd-2.4.32-Win64-VC15.zip
> 
>
> And then uncommented the following modules:
>
> lbmethod_byrequests_module
> proxy_module
> slotmem_shm_module
>
> And in the #Virtual hosts section added the following:
>
> 
> ServerAdmin [email protected]
> DocumentRoot "C:/Apache24/docs/dummy-host.example.com"
> ServerName dummy-host.example.com
> ServerAlias www.dummy-host.example.com
> ErrorLog "logs/dummy-host.example.com-error.log"
> CustomLog "logs/dummy-host.example.com-access.log" common
>
> LogLevel debug
>
> 
>   BalancerMember http://localhost:8080 retry=0
>   BalancerMember http://localhost:8880 retry=0 status=+H
> 
>
> ProxyPass /  "balancer://mycluster/"
> ProxyPassReverse  /  "balancer://mycluster/"
>
> 

Thanks, I think I see where it comes from, will provide a patch soon.


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Yann Ylavic
On Thu, Mar 15, 2018 at 2:58 PM, Eric Covener  wrote:
> On Thu, Mar 15, 2018 at 9:44 AM, Yann Ylavic  wrote:
>>
>> (IIRC, Windows MPM is threaded only, no "forking" right?).
>
> the parent and child both run postconfig though on Windows.

Argh, that's it! (weird behaviour though, IMHO).

The slotmem does not try to attach() first anymore, this needs to be restored...


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread lucas29252
Hi, I'm the original reporter.

I've just make a fresh install of  httpd-2.4.32-Win64-VC15.zip

  

And then uncommented the following modules:

lbmethod_byrequests_module
proxy_module
slotmem_shm_module

And in the #Virtual hosts section added the following:


ServerAdmin [email protected]
DocumentRoot "C:/Apache24/docs/dummy-host.example.com"
ServerName dummy-host.example.com
ServerAlias www.dummy-host.example.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common

LogLevel debug


  BalancerMember http://localhost:8080 retry=0
  BalancerMember http://localhost:8880 retry=0 status=+H


ProxyPass /  "balancer://mycluster/"  
ProxyPassReverse  /  "balancer://mycluster/"  





You get the same error in the log:

[proxy_balancer:debug] [pid 23672:tid 520] mod_proxy_balancer.c(917):
AH01178: Doing balancers create: 552, 1 (6)
[proxy_balancer:debug] [pid 23672:tid 520] mod_proxy_balancer.c(986):
AH01184: Doing workers create: balancer://mycluster (pfbbe1180_mycluster),
984, 2 [0]
[proxy_balancer:debug] [pid 29888:tid 544] mod_proxy_balancer.c(917):
AH01178: Doing balancers create: 552, 1 (6)
[proxy_balancer:emerg] [pid 29888:tid 544] (17)File exists: AH01179:
balancer slotmem_create failed





--
Sent from: 
http://apache-http-server.18135.x6.nabble.com/Apache-HTTP-Server-Dev-f4771363.html


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Eric Covener
On Thu, Mar 15, 2018 at 9:44 AM, Yann Ylavic  wrote:
> On Thu, Mar 15, 2018 at 2:22 PM, Yann Ylavic  wrote:
>> On Thu, Mar 15, 2018 at 11:56 AM, Steffen  wrote:
>>>
>>>
>>> Looks a serious regression.
>>>
>>> Reported:  www.apachelounge.com/viewtopic.php?p=36597
>>
>> It does not look like mod_slotmem_shm is used (missing some error
>> logging from there), mod_slotmem_plain maybe?
>>
>> Also, more context would be appreciated, full/relevant VirtualHost
>> config (including IP:port, ServerName/ServerAlias eventually
>> "anonymized"), BalancerPersist on/off(?) and whether or not other
>> balancers are configured elsewhere (i.e. full httpd.conf if
>> possible...).
>>
>> Can Windows users reproduce this very basic case here with
>> mod_slotmem_shm (it doesn't seem Windows specific to me)?
>
> Wait:
>  [pid 19136:tid 136] mod_proxy_balancer.c(917): AH01178: Doing
> balancers create: 552, 1 (6)
>  [pid 19136:tid 136] mod_proxy_balancer.c(986): AH01184: Doing workers
> create: balancer://mycluster (p111c5be7_mycluster), 984, 2 [0]
>  [pid 30160:tid 756] mod_proxy_balancer.c(917): AH01178: Doing
> balancers create: 552, 1 (6)
>  [pid 30160:tid 756] (17)File exists: AH01179: balancer slotmem_create failed
>
> Two processes (PIDs) creating the same balancer, two httpd instances
> with the same configuration?

> (IIRC, Windows MPM is threaded only, no "forking" right?).

the parent and child both run postconfig though on Windows.

-- 
Eric Covener
[email protected]


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Steffen

I am just passing the issue to list. I hope the reporter follows this list, the 
link I posted in the forum. 



> Op 15 mrt. 2018 om 14:34 heeft Yann Ylavic  het 
> volgende geschreven:
> 
>> On Thu, Mar 15, 2018 at 2:22 PM, Yann Ylavic  wrote:

> LogLevel debug maybe Steffen?



Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Yann Ylavic
On Thu, Mar 15, 2018 at 2:22 PM, Yann Ylavic  wrote:
> On Thu, Mar 15, 2018 at 11:56 AM, Steffen  wrote:
>>
>>
>> Looks a serious regression.
>>
>> Reported:  www.apachelounge.com/viewtopic.php?p=36597
>
> It does not look like mod_slotmem_shm is used (missing some error
> logging from there), mod_slotmem_plain maybe?
>
> Also, more context would be appreciated, full/relevant VirtualHost
> config (including IP:port, ServerName/ServerAlias eventually
> "anonymized"), BalancerPersist on/off(?) and whether or not other
> balancers are configured elsewhere (i.e. full httpd.conf if
> possible...).
>
> Can Windows users reproduce this very basic case here with
> mod_slotmem_shm (it doesn't seem Windows specific to me)?

Wait:
 [pid 19136:tid 136] mod_proxy_balancer.c(917): AH01178: Doing
balancers create: 552, 1 (6)
 [pid 19136:tid 136] mod_proxy_balancer.c(986): AH01184: Doing workers
create: balancer://mycluster (p111c5be7_mycluster), 984, 2 [0]
 [pid 30160:tid 756] mod_proxy_balancer.c(917): AH01178: Doing
balancers create: 552, 1 (6)
 [pid 30160:tid 756] (17)File exists: AH01179: balancer slotmem_create failed

Two processes (PIDs) creating the same balancer, two httpd instances
with the same configuration?
(IIRC, Windows MPM is threaded only, no "forking" right?).


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Yann Ylavic
On Thu, Mar 15, 2018 at 2:22 PM, Yann Ylavic  wrote:
> On Thu, Mar 15, 2018 at 11:56 AM, Steffen  wrote:
>>
>>
>> Looks a serious regression.
>>
>> Reported:  www.apachelounge.com/viewtopic.php?p=36597
>
> It does not look like mod_slotmem_shm is used (missing some error
> logging from there), mod_slotmem_plain maybe?

Hmm no, mod_proxy_balancer is asking for slotmem_shm explicitely, so
it can't be _plain.

I really wonder why mod_slotmem_shm::slotmem_create() fails w/o its
own error message (AH02611)...
LogLevel debug maybe Steffen?


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Jim Jagielski
Besides, isn't this specifically tested in the Perl test framework?

> On Mar 15, 2018, at 9:28 AM, Jim Jagielski  wrote:
> 
> I can't...
> 
>> On Mar 15, 2018, at 9:22 AM, Ruediger Pluem  wrote:
>> 
>> Can anyone reproduce outside of Windows?
>> 
>> Regards
>> 
>> Rüdiger
>> 
>> On 03/15/2018 01:47 PM, Jim Jagielski wrote:
>>> No doubt something in Yann's slotmem changes that affect Windows.
>>> 
 On Mar 15, 2018, at 6:56 AM, Steffen  wrote:
 
 
 
 Looks a serious regression.
 
 Reported:  www.apachelounge.com/viewtopic.php?p=36597
 
 
>>> 
>>> 
> 



Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Jim Jagielski
I can't...

> On Mar 15, 2018, at 9:22 AM, Ruediger Pluem  wrote:
> 
> Can anyone reproduce outside of Windows?
> 
> Regards
> 
> Rüdiger
> 
> On 03/15/2018 01:47 PM, Jim Jagielski wrote:
>> No doubt something in Yann's slotmem changes that affect Windows.
>> 
>>> On Mar 15, 2018, at 6:56 AM, Steffen  wrote:
>>> 
>>> 
>>> 
>>> Looks a serious regression.
>>> 
>>> Reported:  www.apachelounge.com/viewtopic.php?p=36597
>>> 
>>> 
>> 
>> 



Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Yann Ylavic
On Thu, Mar 15, 2018 at 11:56 AM, Steffen  wrote:
>
>
> Looks a serious regression.
>
> Reported:  www.apachelounge.com/viewtopic.php?p=36597

It does not look like mod_slotmem_shm is used (missing some error
logging from there), mod_slotmem_plain maybe?

Also, more context would be appreciated, full/relevant VirtualHost
config (including IP:port, ServerName/ServerAlias eventually
"anonymized"), BalancerPersist on/off(?) and whether or not other
balancers are configured elsewhere (i.e. full httpd.conf if
possible...).

Can Windows users reproduce this very basic case here with
mod_slotmem_shm (it doesn't seem Windows specific to me)?


Regards,
Yann.


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Ruediger Pluem
Can anyone reproduce outside of Windows?

Regards

Rüdiger

On 03/15/2018 01:47 PM, Jim Jagielski wrote:
> No doubt something in Yann's slotmem changes that affect Windows.
> 
>> On Mar 15, 2018, at 6:56 AM, Steffen  wrote:
>>
>>
>>
>> Looks a serious regression.
>>
>> Reported:  www.apachelounge.com/viewtopic.php?p=36597
>>
>>
> 
> 


Re: mod_proxy_balancer doesn't work with 2.4.32

2018-03-15 Thread Jim Jagielski
No doubt something in Yann's slotmem changes that affect Windows.

> On Mar 15, 2018, at 6:56 AM, Steffen  wrote:
> 
> 
> 
> Looks a serious regression.
> 
> Reported:  www.apachelounge.com/viewtopic.php?p=36597
> 
>