Acceleration Performance, gzip processes and server load...

CarlosMirandaLevy
CarlosMirandaLevy's picture

Joined: 2005-01-06
Posts: 10
Posted: Fri, 2006-06-02 18:16

I run a moderately high traffic picture gallery.
I recently started to migrate it from another platform based on Win/ASP to Gallery on my Linux dedicated server.

I have recently noted a significant increase on my server load.

My CPU usage reports 3 gzip processes ran by root consuming each over 70% of CPU.
I do not allow for zip files uploading in the galleries. Actually there's not much uploading going on...

I do have 3 galleries running from a multisite 2 of them with Full Acceleration for visitors / None for Registered Users.

My server load has been reaching into the 9s and 7s for my 2 cpus according to cPanel/WHM.

I am using mod rewrite in forced mode to get nice urls.

After I disabled acceleration and clear all saved pages, CPU consumption was highly reduced (below 2).

These are the 3 galleries running from the multisite...
http://galeria.civila.com
http://galeria.mirandalevy.org
http://fotos.navidadlatina.com


Versiín de Gallery = 2.1.1 central 1.1.0.1
Versió de PHP = 4.4.2 apache
Servidor Web = Apache/1.3.36 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.2 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7a
Base de Datos = mysqlt 4.1.19-standard, lock.system=flock
Herramientas = Exif, Thumbnail, Gd, SquareThumb
Acceleration = full/3600, none
Sistema Operativo = Linux webhosting.conectopia.net 2.4.21-32.0.1.ELsmp #1 SMP Wed May 25 14:26:33 EDT 2005 i686
Tema por defecto = civila
Locale = es_ES
Buscador = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2006-06-06 10:23

your request logs and mysql query logs would be pretty interesting.
or maybe just the mysql slow queries log. you can enable it in config.php but your users will see it as well, pretty ugly.

just as a recommendation: use eaccelerator and a lot of RAM.
that advice is independent of g2's acceleration thing which basically just stores and retrieves generated HTML from the database. and it zips / unzips this html to save databaase storage.