<br><br><div><span class="gmail_quote">On 2/9/07, <b class="gmail_sendername">Perrin Harkins</b> &lt;<a href="mailto:pharkins@gmail.com">pharkins@gmail.com</a>&gt; 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 &lt;<a href="mailto:jeffreyn@gmail.com">jeffreyn@gmail.com</a>&gt; wrote:<br>&gt; when i run this &quot;free&quot; test, should i run it on the live server, or on a<br>&gt; test server with single process apache mode?
<br><br>I wouldn&#39;t mess with things on your live server, but you want to run<br>in normal mode, not single-process.<br><br>&gt; here&#39;s the result on a live server:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;total&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; used&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; free&nbsp;&nbsp;&nbsp;&nbsp; shared&nbsp;&nbsp;&nbsp;&nbsp;buffers&nbsp;&nbsp;&nbsp;&nbsp; cached
<br>&gt; Mem:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4150972&nbsp;&nbsp;&nbsp;&nbsp;2654016&nbsp;&nbsp;&nbsp;&nbsp;1496956&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;27548&nbsp;&nbsp;&nbsp;&nbsp;1313344<br>&gt; -/+ buffers/cache:&nbsp;&nbsp;&nbsp;&nbsp;1313124&nbsp;&nbsp;&nbsp;&nbsp;2837848<br>&gt; Swap:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8385912&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6920&nbsp;&nbsp;&nbsp;&nbsp;8378992<br>[...]<br>&gt; Our CPU load is extremely high. But the actual RAM usage is not high at all.
<br>&gt; we are using only 260 gig out of 400 gig.<br><br>Not even that much.&nbsp;&nbsp;You&#39;re using about 1.3 GB and the rest of that<br>2.6 is just being used to cache files.&nbsp;&nbsp;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;">
&gt; From our top results, does it look<br>&gt; like the memory usage of our processes is the bottleneck?<br><br>No, you have tons of free RAM.&nbsp;&nbsp;It sounds like something else is<br>slowing you down.&nbsp;&nbsp;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.&nbsp;&nbsp;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>