| Author |
Message |
Aforo


Joined: Dec 27, 2007 Posts: 146
|
Post subject: Debian 4.0 - Memory Posted: Wed Aug 05, 2009 12:21 am |
|
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.
Quote:
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
Aforo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2 |
|
| Back to top |
|
 |
Eestlane


Joined: Apr 06, 2005 Posts: 1406 Location: Estonia
|
Post subject: Re: Debian 4.0 - Memory Posted: Wed Aug 05, 2009 12:41 am |
|
Are you sure all the settings are same, caching etc for Apache (and same Apache modules enabled)?
Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.63/5.0.67/5.2.8/9.2.1 |
|
| Back to top |
|
 |
Aforo


Joined: Dec 27, 2007 Posts: 146
|
Post subject: Re: Debian 4.0 - Memory Posted: Wed Aug 05, 2009 12:52 am |
|
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
Aforo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2 |
|
| Back to top |
|
 |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3677 Location: Melbourne, AU
|
Post subject: Re: Debian 4.0 - Memory Posted: Wed Aug 05, 2009 9:18 am |
|
using PHP 5.2.9?
However this seems to be close enough
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MySQL 5.1 / PHP 5.3 / NextGen() |
|
| Back to top |
|
 |
Aforo


Joined: Dec 27, 2007 Posts: 146
|
|
| Back to top |
|
 |
Aforo


Joined: Dec 27, 2007 Posts: 146
|
Post subject: Re: Debian 4.0 - Memory Posted: Fri Aug 07, 2009 1:21 pm |
|
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
Aforo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2 |
|
| Back to top |
|
 |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3677 Location: Melbourne, AU
|
Post subject: Re: Debian 4.0 - Memory Posted: Mon Aug 10, 2009 1:50 pm |
|
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! ::.
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MySQL 5.1 / PHP 5.3 / NextGen() |
|
| Back to top |
|
 |
Aforo


Joined: Dec 27, 2007 Posts: 146
|
Post subject: Re: Debian 4.0 - Memory Posted: Thu Aug 13, 2009 5:18 pm |
|
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.
Thanks, Nano, for your help.
_________________ Aforo - Google Earth - WebNaranja - DFcms.es
Aforo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2 |
|
| Back to top |
|
 |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3677 Location: Melbourne, AU
|
Post subject: Re: Debian 4.0 - Memory Posted: Fri Aug 14, 2009 4:41 pm |
|
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! ::.
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MySQL 5.1 / PHP 5.3 / NextGen() |
|
| Back to top |
|
 |
Dizfunkshunal


Joined: Mar 23, 2006 Posts: 2079
|
Post subject: Re: Debian 4.0 - Memory Posted: Fri Aug 14, 2009 10:32 pm |
|
I vote Centos !!
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups |
|
| Back to top |
|
 |
Aforo


Joined: Dec 27, 2007 Posts: 146
|
Post subject: Re: Debian 4.0 - Memory Posted: Tue Sep 01, 2009 12:20 am |
|
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:
Quote:
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
Aforo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2 |
|
| Back to top |
|
 |
Eestlane


Joined: Apr 06, 2005 Posts: 1406 Location: Estonia
|
Post subject: Re: Debian 4.0 - Memory Posted: Tue Sep 01, 2009 6:32 am |
|
Where do you get all these servers, dude.
Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.63/5.0.67/5.2.8/9.2.1 |
|
| Back to top |
|
 |
Aforo


Joined: Dec 27, 2007 Posts: 146
|
Post subject: Re: Debian 4.0 - Memory Posted: Tue Sep 01, 2009 7:41 am |
|
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
Aforo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Centos 5/Apache 2.2.3/MySQL:5.0.45/PHP:5.2.10 /9.2 |
|
| Back to top |
|
 |
Eestlane


Joined: Apr 06, 2005 Posts: 1406 Location: Estonia
|
Post subject: Re: Debian 4.0 - Memory Posted: Tue Sep 01, 2009 7:43 am |
|
I see. I thought all these machines are sitting in your home. It's clear now.
Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.63/5.0.67/5.2.8/9.2.1 |
|
| Back to top |
|
 |