Miscellaneous ⇒ Server Chat ⇒ Debian 4.0 - Memory ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexServer Chat

Debian 4.0 - Memory Reply to topic


I'm testing a new dedicated server with Debian 4.0 - Plesk 8.6 over a Quad Sever.

All tests was passed correctly (more speed in most of the aspects) but I had a small suprise. Dragonfly used the double memory in Debian that in Fedora Core. Shocked

New server Conf
CPU AuthenticAMD, Quad-Core AMD Opteron(tm) Processor 1354
Version psa v8.6.0_build86081001.10 os_Debian 4.0
OS Linux 2.6.24-etchnhalf.1-amd64


I test in my last server and the result was:
Memory Usage: 4.7 MB
And in new server:
Memory Usage: 9.37 MB

Somebody has any idea????

Aforo - Google Earth - WebNaranja - DFcms.es

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2


Are you sure all the settings are same, caching etc for Apache (and same Apache modules enabled)?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
-


HI, East. Nice to see you again.

All configuration is different.

I have no idea where I can start.

Aforo - Google Earth - WebNaranja - DFcms.es

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2


using PHP 5.2.9?

However this seems to be close enough

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.7 / PHP 7.3 / head


System configuration is that one:

Apache Version Apache/2.2.3 (Debian) mod_jk/1.2.18 mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch15 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8
Apache API Version 20051115
Hostname:Port aforo.es:80
User/Group www-data(33)/33
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Virtual Server Yes
Server Root /etc/apache2
Loaded Modules core mod_log_config mod_logio prefork http_core mod_so mod_actions mod_alias mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_fcgid mod_include mod_jk mod_mime mod_python mod_negotiation mod_perl mod_php5 mod_rewrite mod_setenvif mod_ssl mod_status mod_suexec mod_userdir mod_bw


PHp is:
PHP/5.2.0-8

Thanks, Nano.
👏 👏 👏 👏

I'm reading your link.

Aforo - Google Earth - WebNaranja - DFcms.es

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2


Al least I'm sure that problem is PHP and not Mysql.

I tested the DF running the php code in my old server (Fedora) but mantainning Mysql in the new server and everything is OK.

Aforo - Google Earth - WebNaranja - DFcms.es

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2


Your new server should be a 64-bit machine ... and i never had one so i can only guess

stas@php.net wrote
I the Linux OS 64-bit? Then difference in memory requirements are easily
explained - on 64-bit pointers and longs are twice as long as on 32-bit,
and PHP uses both a lot in variables, so memory requirement for huge
array can be significantly bigger on 64-bit OS.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.7 / PHP 7.3 / head


I'm not sure if we will know the answer, because the result of the change has been so bad that we are turning back to our old Dual core.

Yesterday, we changed a big site (hosted in a Dual Core) to the Quad core... and today the server was out of service most of the day.

But I think that problem don't was memory (because we have the double of memory and memory used was arround 50%)...

Today we have a new provider and a new sever with Centos waiting for the next weeks... we are going to forget Debian and specially Ubuntu. Embarassed

Thanks, Nano, for your help.

Aforo - Google Earth - WebNaranja - DFcms.es

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2


If you want a rock solid server try FreeBSD or CentOS (thats what i have experience with).

Fedora, Debian, Ubuntu and many others are more desktop orientated, not for servers unless you personally install and recompile the kernel to your likings.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.7 / PHP 7.3 / head


I vote Centos !! Smile

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Multiple Setups


Hi, thanks for your replies...

I have finished the test of the 4 systems.

You can see here in Spanish: www.webnaranja.com/foros.php?t=487
But data are very clear...

There was two winners: Centos 5 and Fedora 7

That are the results:

Server Geonis2 (LINUX-FEDORA - DUO4000) -FedoraCore 7-
index.php: MYSQL: 15 ms; PHP: 94 ms
foros.php: MYSQL: 17 ms; PHP: 120 ms

--------------------------

Server Geonis3 (LINUX-UBUNTU - PRO6000)
index.php: MYSQL: 16 ms; PHP: 138 ms
foros.php: MYSQL: 17 ms; PHP: 179 ms

--------------------------

Servidor Geonis3 (LINUX-DEBIAN 4 - PRO6000)
index.php: MYSQL: 8,5 ms; PHP: 75 ms
foros.php: MYSQL: 14,3 ms; PHP: 94 ms
--------------------

Server Geonis4 (LINUX-CENTOS 5- 1GB memory)
index.php: MYSQL: 18,9 ms; PHP: 90 ms
foros.php: MYSQL: 22,4 ms; PHP: 104 ms


Geonis3 is a Quad-Core AMD Opteron(tm) Processor 1354 - 6GB of memory (the biggest machine)
Geonis2 is a Dual-Core AMD Opteron(tm) Processor 1214 HE - 3GB of memory
Geonis4 is a AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ - 1GB memory

Aforo - Google Earth - WebNaranja - DFcms.es

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2


Where do you get all these servers, dude.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
-


Hi, Eest

Are you asking for the provider?

Geonis2 and Geonis3 are two dedicated servers of Amen.es
Geonis4 is a 1and1.es dedicated server.

Geonis2 has several medium domains, we test ir with low load (end of the night).
Geonis3 and 4 were with low load.

We was moving our servers...

Aforo - Google Earth - WebNaranja - DFcms.es

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2


I see. I thought all these machines are sitting in your home. It's clear now.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
-

All times are UTC


Jump to: