Оптимизация Apache на Debian

Допустим у нас есть VDS, и на ней установлена ОС Debian 6, и порой не хватает ресурсов.
Освободить часть ОЗУ можно с помощью отключения лишних модулей.

Начнем с оптимизации Apache, отключим неиспользуемые нами модули, которые потребляют память.


С mod_cgi — Нужен для запуска cgi-скриптов, на perl, python итд. Если не используете — отключайте смело.

mod_status — Показывает статистику Apache, 90% пользователей его не используют.

mod_deflate — Сжимает данные с помощью Apache, перед отправкой клиенту. Если перед Apache, у вас nginx, то особого смысла в сжатии данных, — нет.

Отключаем плагины:

# a2dismod status
# a2dismod cgi
# a2dismod deflate

Перезагружаем Apache

# apachectl restart

Теперь процессы Apache, будут потреблять меньше памяти.

Оптимизация Apache на Debian

8 мыслей о “Оптимизация Apache на Debian

  • 12.03.2024 в 21:43

    Wow, fantastic weblog layout! How lengthy have you ever been running a
    blog for? you made blogging look easy. The total look of your web site is
    excellent, let alone the content! You can see similar here najlepszy sklep

  • 14.03.2024 в 16:26

    I think this is one of the most significant info for me.
    And i’m glad reading your article. But should remark on some general things, The
    website style is great, the articles is really nice : D.
    Good job, cheers I saw similar here: Ecommerce

  • 14.03.2024 в 18:11

    I’ve been browsing online more than three hours as of late, yet I never discovered any attention-grabbing
    article like yours. It is lovely price sufficient for me.
    In my opinion, if all web owners and bloggers made good content material as you did, the net will be much more helpful than ever before.
    I saw similar here: Dobry sklep

  • 14.03.2024 в 20:01

    Today, I went to the beachfront with my kids. I found a sea shell and gave
    it to my 4 year old daughter and said «You can hear the ocean if you put this to your ear.» She put the
    shell to her ear and screamed. There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this is
    totally off topic but I had to tell someone! I saw similar here: Najlepszy sklep

  • 22.03.2024 в 06:19

    you’re in reality a just right webmaster. The
    website loading velocity is amazing. It kind of feels that you are doing any distinctive trick.
    Also, The contents are masterwork. you have performed a magnificent process in this topic!

    I saw similar here: Ecommerce

  • 03.04.2024 в 17:02

    Hey! Do you know if they make any plugins to help with SEO?
    I’m trying to get my website to rank for some targeted keywords but
    I’m not seeing very good gains. If you know of any please share.
    Appreciate it! I saw similar art here: GSA Verified List

  • 28.06.2024 в 12:42

    I loved the wit in this piece! For more on this topic, visit: EXPLORE FURTHER. Keen to hear everyone’s views!

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *