Results 1 to 2 of 2
Hi,
How to reduce virtual memory on apache process? Look at picture. Can we set any amount of memory? Or it will set automatic by each application?
OS: Suse 12
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-19-2012 #1Just Joined!
- Join Date
- Nov 2012
- Posts
- 24
Reduce Virtual Memory
Hi,
How to reduce virtual memory on apache process? Look at picture. Can we set any amount of memory? Or it will set automatic by each application?
OS: Suse 12
Webserver: Apache 2.2 PHP5
Thanks.
- 11-20-2012 #2
The memory footprint of your Apache processes or threads will be determined by the compiled in or enabled modules. Apache running with only the required modules will have a base footprint, and any modules compiled in or enabled additionally will add to that. So, if you want to reduce the memory usage, either disable the modules you do not need or recompile Apache with only the modules you need.
I believe there is no other deterministic way to reduce the value per thread/process. Of course, the lightest load and greatest scalability will be achieved by running a threaded Apache instead of a preforking Apache, but, at least in the past, you could encounter some stability issues with certain modules. I think most of those stability issues are resolved with any version ≥2.2.
N++


Reply With Quote

