All Blog Entries

  1. [EN] Apache and PHP modules optimization...

    Please note that from my point of view this is extreme modules removal and you should check it and test it before putting it on production systems.

    This being said, let's go to the fun part.

    1. Apache optimization
    I used the following configure command in order to install Apache 2.2.15
    ./configure --enable-so --with-mpm=worker --enable-rewrite --disable-userdir --disable-cgi --disable-cgid --disable-autoindex --disable-status --disable-version --prefix=/usr/local/apache2/
    Tag-uri: apache, optimization, php
  2. [EN] Monitor Memcached Servers With vBulletin

    It's always a good idea to monitor everything (the more information you have, the better in my opinion).

    This is a plug-in I wrote years ago from vBulletin 3.6 that still works fine for vBulletin 4. It gives you a quick and easy way to make sure your Memcached server(s) are working properly. Beyond the normal stats it supplies, it also performs a realtime latency test for each of your servers so you can see if one might be working, but slow.

    To have Memcached stats ...
  3. [EN] Optimizing VBulletin - php code

  4. [EN] Optimizing Apache server - IO WAIT - Symlinks

    Based on
    FollowSymLinks and SymLinksIfOwnerMatch

    Wherever in your URL-space you do not have an Options FollowSymLinks, or you do have an Options SymLinksIfOwnerMatch Apache will have to issue extra system calls to check up on symlinks. One extra call per filename component. For example, if you had:
    DocumentRoot /www/htdocs

    Options SymLinksIfOwnerMatch
  5. [EN] Optimizing Apache server - MEMORY

    The main difference between the worker and the prefork modules is that the prefork one uses more RAM memory, creating one child process for each request that it's serving, while the worker one has let's say 1 child with 100 threads which is translated to 1 child for 100 connections.

    On the servers, i've managed to reduce the memory consumption with almost 1gb/server by switching to the worker module. I don't see any difference in the speed of the pages, but i will monitor this ...
Pag 13 din 14 PrimulPrimul ... 3811121314 UltimulUltimul