A
A
Alexey Tutubalin2014-10-29 21:28:53
Apache HTTP Server
Alexey Tutubalin, 2014-10-29 21:28:53

How to spur apache?

Apache raged on the server, namely the number of processes exceeded 50 and it is already devouring the second ten gigs of RAM, is it possible to somehow reduce the maximum number of processes? and is it even worth it? what could be the consequences?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2014-10-29
@merryjane

1. You need to establish the cause. To do this, you need to look into the Apache logs and understand which page / site consumes the most.
2. Adjust the number of fork\thread depending on what module you have installed in Apache. Example:
www.salex.ru/book/book.php?httpd_prefork
3. If sites are in php, then adjust the memory_limit variable. Description:
php.net/manual/ru/ini.core.php#ini.memory-limit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question