Debian 4.0 - Memory
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexServer Chat
Author Message
Aforo
I18N / L10N Lead Dev


Joined: Dec 27, 2007
Posts: 146

PostPost subject: Debian 4.0 - Memory
Posted: Wed Aug 05, 2009 12:21 am
Reply with quote

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
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
View user's profile Visit poster's website
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: Debian 4.0 - Memory
Posted: Wed Aug 05, 2009 12:41 am
Reply with quote

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
View user's profile Send e-mail Visit poster's website
Aforo
I18N / L10N Lead Dev


Joined: Dec 27, 2007
Posts: 146

PostPost subject: Re: Debian 4.0 - Memory
Posted: Wed Aug 05, 2009 12:52 am
Reply with quote

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
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: Debian 4.0 - Memory
Posted: Wed Aug 05, 2009 9:18 am
Reply with quote

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
View user's profile Visit poster's website
Aforo
I18N / L10N Lead Dev


Joined: Dec 27, 2007
Posts: 146

PostPost subject: Re: Debian 4.0 - Memory
Posted: Wed Aug 05, 2009 10:06 am
Reply with quote

System configuration is that one:

Quote:
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.
Applause Applause Applause Applause

I'm reading your link.

_________________
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
View user's profile Visit poster's website
Aforo
I18N / L10N Lead Dev


Joined: Dec 27, 2007
Posts: 146

PostPost subject: Re: Debian 4.0 - Memory
Posted: Fri Aug 07, 2009 1:21 pm
Reply with quote

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
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: Debian 4.0 - Memory
Posted: Mon Aug 10, 2009 1:50 pm
Reply with quote

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
View user's profile Visit poster's website
Aforo
I18N / L10N Lead Dev


Joined: Dec 27, 2007
Posts: 146

PostPost subject: Re: Debian 4.0 - Memory
Posted: Thu Aug 13, 2009 5:18 pm
Reply with quote

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

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
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: Debian 4.0 - Memory
Posted: Fri Aug 14, 2009 4:41 pm
Reply with quote

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
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter


Joined: Mar 23, 2006
Posts: 2079

PostPost subject: Re: Debian 4.0 - Memory
Posted: Fri Aug 14, 2009 10:32 pm
Reply with quote

I vote Centos !! Smile
_________________
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
View user's profile Send e-mail Visit poster's website Yahoo Messenger
Aforo
I18N / L10N Lead Dev


Joined: Dec 27, 2007
Posts: 146

PostPost subject: Re: Debian 4.0 - Memory
Posted: Tue Sep 01, 2009 12:20 am
Reply with quote

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
View user's profile Visit poster's website
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: Debian 4.0 - Memory
Posted: Tue Sep 01, 2009 6:32 am
Reply with quote

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
View user's profile Send e-mail Visit poster's website
Aforo
I18N / L10N Lead Dev


Joined: Dec 27, 2007
Posts: 146

PostPost subject: Re: Debian 4.0 - Memory
Posted: Tue Sep 01, 2009 7:41 am
Reply with quote

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
View user's profile Visit poster's website
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: Debian 4.0 - Memory
Posted: Tue Sep 01, 2009 7:43 am
Reply with quote

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
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexServer Chat All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.8896 seconds with 16 DB Queries in 0.2679 seconds
Memory Usage: 3.02 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy