----- Original Message ----- > On Wed, Feb 16, 2011 at 11:28 AM, Tony Mobily <m...@mobily1.com> > 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.ga...@brainsware.org 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-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org