----- Original Message ----- > On Wed, Feb 16, 2011 at 11:28 AM, Tony Mobily <merc@xxxxxxxxxxx> > wrote: > > Hi, > > > > The real question then is: how come another server running Symfony > > gives me: > > > > ÂPID USER   ÂPR ÂNI ÂVIRT ÂRES ÂSHR S %CPU %MEM  ÂTIME+ ÂCOMMAND > > 20010 apache  Â16  0 69008 Â33m Â25m S Â1.8 Â0.9  0:18.35 httpd > > 20161 apache  Â16  0 70552 Â34m Â24m S Â0.0 Â1.0  0:12.20 httpd > > 27109 apache  Â15  0 67868 Â30m Â23m S Â0.0 Â0.9  0:04.61 httpd > > 25365 apache  Â15  0 67192 Â30m Â23m S Â0.0 Â0.8  0:06.80 httpd > > 25924 apache  Â15  0 67432 Â30m Â23m S Â0.0 Â0.8  0:04.73 httpd > > 25931 apache  Â15  0 68248 Â30m Â23m S Â0.0 Â0.9  0:05.13 httpd > > 27112 apache  Â15  0 70808 Â33m Â23m S Â0.0 Â0.9  0:02.88 httpd > > 27034 apache  Â15  0 68528 Â30m Â23m S Â1.3 Â0.9  0:02.94 httpd > > 25402 apache  Â15  0 70560 Â32m Â23m S Â0.0 Â0.9  0:07.16 httpd > > 27102 apache  Â15  0 66920 Â28m Â22m S Â0.0 Â0.8  0:03.98 httpd > > > > ...? > > Is it _really_ possible? Seriously, the Symgony one is only around > > 30Mb, and the Drupal one is *ten* times bigger? 30MB is still quite big (IMO) > Yes > > > So my real question is: what is this information? REs is Â" > > Resident > > size (kb): ÂThe non-swapped physical memory a task has used. RES = > > CODE + DATA." Surely, Drupal is not 2.9Gb of code? > > Probably not, it probably is leaking memory from somewhere. If you > disassociate PHP from Apache, you'll see this much more clearly. Take a look at http://www.xdebug.org/docs/ for debugging and profiling. You can even send it through Valgrind. All in all you will see exactly where you're wasting memory. Finally: Consider Caching static exports To quote Theo Schlossnagle: "Your dynamic content isn't as dynamic as you think it is" see: http://www.slideshare.net/postwait/velocity-2010-scalable-internet-architectures (And see everything else he wrote ;) http://omniti.com/seeds/fast-by-default and http://lethargy.org/~jesus/writes/perform-or-die Otherwise, if Drupal and Symphony don't support static exports, you might take a look at one of my silly writings: http://blag.esotericsystems.at/2010/02/introducing-more-caching/ > Cheers > > Tom i -- Igor GaliÄ Tel: +43 (0) 664 886 22 883 Mail: i.galic@xxxxxxxxxxxxxx URL: http://brainsware.org/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx