Thanks for the reply --
It appears that sendmail may be causing bursts of disk activity, particularly
when it's mailing
a fair number of users at once. Does this sound right? Should sendmail be
placing a strain
on the disk like this?
The only other thing running is httpd, which seems to have negligible effect on
memory use.
As for memory, I'm still scratching my head at where the CFMX numbers are
coming from.
* Our current JVM settings are:
java.args=-server -XX:+UseConcMarkSweepGC -DJINTEGRA_NATIVE_MODE
-DJINTEGRA_PREFETCH_ENUMS
-Xbootclasspath/a:{application.home}/lib/webchartsJava2D.jar -Djava.awt.grap
hicsenv=com.gp.java2d.ExHeadlessGraphicsEnvironment -Xmx1200m
-Dsun.io.useCanonCaches=false -XX:PermSize=150m -XX:MaxPermSize=256m
-Djavax.xml.parsers.SAXParserFactory
=com.macromedia.crimson.jaxp.SAXParserFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.crimson.jaxp.DocumentBuilderFactoryImpl
-XX:NewSize=64m
With 4GB, I thought 1.2GB for CF to cache all of the stuff it caches would be
reasonable.
* Here's the current snapshot of CF's memory usage:
17998 theuser 23 0 931M 846M 3408 S 65.8 21.3 151:40 0 cfusion
runtime.freememory(),totalmemory(), maxmemory()
Free Allocated Memory:171 MB
Total Memory Allocated:490 MB
Max Memory Available to JVM:1200 MB
Max Memory Used:319 MB
So "top" says 931M or 846M for CF. The internal figures say 490MB. Perhaps
it's not counting "PermSize", but it's still off.
What's just as baffling is that mysql looks over a large database where indices
alone take up 3GB. You'd think it would love to fill memory with cached keys
if given the chance. But, no matter how much memory I allow mysql to gobble
up, its process size never surpasses 250MB or so on top. Still using 3.23
(will upgrade soon!), set-variable = key_buffer=500M, but "top" after running
millions of queries:
224M 219M 1296 S 5.8 5.5 87:35 0 mysqld
Any ideas if sendmail is as stressful as it appears, how to account for CF's
total memory, or why mysql refuses to use more memory?
Regards,
Terry
----- Original Message ----
From: Tom Chiverton <[EMAIL PROTECTED]>
To: CF-Linux <[email protected]>
Sent: Wednesday, October 11, 2006 2:02:59 AM
Subject: Re: Understanding CFMX memory on linux
On Wednesday 11 October 2006 03:37, Terry Ford wrote:
> coldfusion is using more than 824 MB of memory? It's not 824MB/processor
> or something weird is it? Or is mysql using more memory than advertised on
> top?
No, top list absolute size, and the amount not swapped out (RSS).
You are correct that 'free' RAM is used for (disk) cache, but the inverse is
true for swap - it is cached into RAM (on newer kernels).
You still have a healthy amount of buffer, so it looks OK, and the CPUs are
mostly idle.
> Would appreciate any commentary about the memory situation on this machine.
You may have 4G RAM on the box, but what are your JVM settings ?
You vmstat output lists little to no swap in or out, but plenty of disk
activity.
Could something else be running on the machine (from cron maybe)
--
Tom Chiverton
Helping to apprehensively exploit value-added information
****************************************************
This email is sent for and on behalf of Halliwells LLP.
Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at St
James's Court Brown Street Manchester M2 2JF. A list of members is available
for inspection at the registered office. Any reference to a partner in relation
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law
Society.
CONFIDENTIALITY
This email is intended only for the use of the addressee named above and may be
confidential or legally privileged. If you are not the addressee you must not
read it and must not use any information contained in nor copy it nor inform
any person other than Halliwells LLP or the addressee of its existence or
contents. If you have received this email in error please delete it and notify
Halliwells LLP IT Department on 0870 365 8008.
For more information about Halliwells LLP visit www.halliwells.com.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive: http://www.houseoffusion.com/groups/CF-Linux/message.cfm/messageid:4203
Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14