Loosing Semaphore Arrays on HTTPD Reload #522
-
Hi! I'm using the mod_auth_openidc-2.4.5-1.el7.x86_64.rpm package on a RedHat 7.9 with Apache HTTPD 2.4.6 Release 97.el7_9. When the HTTPD is reloaded, the number of used semaphore arrays is incremented by one. On another system the number increses by two on reload. On the system that is loosing only one semaphore, the module is loaded but not configured. Before reload: ------ Semaphore Arrays -------- After reload: ------ Semaphore Arrays -------- HTTPD error log during reload / log rotate: Is there a more approriate way to report this problem? As I understood the issue tracker should not be used. Btw, otherwise the module works like a charm! Thanks for providing it! Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
thanks for reporting, I will try to reproduce, file it as a bug and try to fix it; there have been a number of problems related to graceful restarts before, it is a complex topic |
Beta Was this translation helpful? Give feedback.
-
I reproduced it on Ubuntu; it appears child init is called twice for each child process (not sure why); I have fixed it here: 03548e2 would you be able to test this from master? |
Beta Was this translation helpful? Give feedback.
-
Wow, that's fast. I will give it a shot later today.
|
Beta Was this translation helpful? Give feedback.
-
I think we're still seeing this on 2.4.11.2 on RHEL 7.9 and Apache 2.4.6. We have logrotate doing a graceful reload of Apache and every time this happens, semaphores increase. If we restart Apache, they do not increase and old ones don't cleaned up either. |
Beta Was this translation helpful? Give feedback.
I reproduced it on Ubuntu; it appears child init is called twice for each child process (not sure why); I have fixed it here: 03548e2
would you be able to test this from master?