<br><br><div><span class="gmail_quote">On 2/9/07, <b class="gmail_sendername">Perrin Harkins</b> <<a href="mailto:pharkins@gmail.com">pharkins@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 2/8/07, Jeffrey Ng <<a href="mailto:jeffreyn@gmail.com">jeffreyn@gmail.com</a>> wrote:<br>> when i run this "free" test, should i run it on the live server, or on a<br>> test server with single process apache mode?
<br><br>I wouldn't mess with things on your live server, but you want to run<br>in normal mode, not single-process.<br><br>> here's the result on a live server:<br>><br>> total used free shared buffers cached
<br>> Mem: 4150972 2654016 1496956 0 27548 1313344<br>> -/+ buffers/cache: 1313124 2837848<br>> Swap: 8385912 6920 8378992<br>[...]<br>> Our CPU load is extremely high. But the actual RAM usage is not high at all.
<br>> we are using only 260 gig out of 400 gig.<br><br>Not even that much. You're using about 1.3 GB and the rest of that<br>2.6 is just being used to cache files. You should be able to run a<br>lot more apache processes on this machine, or maybe give some RAM to
<br>whatever else needs it on there, like a database.</blockquote><div><br>hi how can you tell our apache is just using 1.3 GB? what king of files does the rest of it cache?...<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> From our top results, does it look<br>> like the memory usage of our processes is the bottleneck?<br><br>No, you have tons of free RAM. It sounds like something else is<br>slowing you down. You have a lot of CPU being used on there (about
<br>60%) which might mean you need to profile your code for CPU<br>bottlenecks. You may also be waiting on database queries, which you<br>can find out with Devel::DProf or the DBI profiler.</blockquote><div><br>can we run devel::DProf with mod_perl catatlyst? or do we have to use apache::Dprof?
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">- Perrin<br><br>_______________________________________________<br>List: <a href="mailto:Catalyst@lists.rawmode.org">
Catalyst@lists.rawmode.org</a><br>Listinfo: <a href="http://lists.rawmode.org/mailman/listinfo/catalyst">http://lists.rawmode.org/mailman/listinfo/catalyst</a><br>Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.rawmode.org/">
http://www.mail-archive.com/catalyst@lists.rawmode.org/</a><br>Dev site: <a href="http://dev.catalyst.perl.org/">http://dev.catalyst.perl.org/</a><br></blockquote></div><br><br clear="all"><br>-- <br>Jeffrey Ng<br>CEO, <a href="http://Zorpia.com">
Zorpia.com</a>