
December 5th, 2012, 12:47 AM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 2
Time spent in forums: 14 m 53 sec
Reputation Power: 0
|
|
|
general - How to install new builds of apache module without segfaulting?
Hi everyone.
I would like to know how I can install new builds of my custom apache module without segfaulting as new requests come in, before apache can be restarted.
Background:
I have authored a custom apache module. I am running Linux. I notice that whenever I install it over the old .so while apache is running and then request a page, I get a segfault in each running apache process. I assume this is because the previous .so is memory mapped by the system loader.
This is not a problem for me during development phase. However, now we are moving into a production phase in an environment with 10 requests/sec. Segfaulting all the httpd at once seems like a pretty bad idea.
Has anyone dealt with this? Is there a recommended procedure?
|