Hi folks.  I'm running CFMX 6.1 on a dual xeon, RH.  It has 4GB of physical 
memory.
Our CF App does a lot of caching, so we fully expect the cf app to use a lot of 
memory.

However, it appears that the server starts to thrash away into virtual memory 
after running for a while.  This appears on the server as the queues building 
up on cfstat (with no queries waiting), and this on vmstat:

 r  b  w   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id
 8 21  0 481436  26212  68140 2349376    0   44     0  3176 2262  4653  2  1 97
 4  0  0 481444  25132  68124 2349664    0    8   380   692 1610  9680 69 17 13
 0  0  0 481444  24128  68124 2349720    0    0     4  2668 1909  3227 40  7 53
 0  0  1 481452  22304  67992 2349900    0    8     8  2720 2434  4531 12  5 83
 1  0  0 481452  21760  67992 2350000    0    0    68   228 2016  4389 15  6 79
 2  1  1 481460  21516  67920 2350128    0    8    16   612 1614  4612 55  7 38

However, "top" displays memory usage as following:

 21:25:44  up 105 days, 14:56,  2 users,  load average: 3.25, 7.57, 8.35
429 processes: 425 sleeping, 4 running, 0 zombie, 0 stopped
CPU0 states:  19.0% user   5.3% system    0.0% nice   0.0% iowait  75.0% idle
CPU1 states:  19.4% user   2.3% system    0.0% nice   0.0% iowait  77.1% idle
CPU2 states:  14.2% user   9.3% system    0.0% nice   0.0% iowait  75.4% idle
CPU3 states:  11.3% user   3.4% system    0.0% nice   0.0% iowait  84.1% idle
Mem:  4068096k av, 4051508k used,   16588k free,       0k shrd,   72264k buff
                   2677740k actv,  451232k in_d,   88360k in_c
Swap: 2048276k av,  477720k used, 1570556k free                 2349208k cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
23453 root      15   0  4056 4056  1964 S    99.9  0.0   0:42   2 httpd
27347 theuser    25   0  861M 824M  3276 S    44.6 20.7 223:51   0 cfusion
29558 mysql     15   0  358M 334M  1328 S    10.1  8.4 213:22   3 mysqld
 2408 root      15   0   448  448   384 R     5.4  0.0   0:28   2 vmstat
 2702 theuser    16   0  1348 1348   800 R     2.1  0.0   0:01   3 top
  595 root      15   0   476  340   232 S     0.1  0.0   6:28   3 sshd

So we've got:

mysql: 334MB
coldfusion: 824MB

That is well under 4GB.   I see that linux in its infinite wisdom has gobbled 
up all free memory and "cached" it for its own nefarious linux purposes (disk 
stuff I suppose).   And... it has allocated almost 500MB of virtual memory... 

So I'm curious if I'm interpreting this right.  Is there any chance 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? 

Would appreciate any commentary about the memory situation on this machine.

Thanks
Terry

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:4201
Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14

Reply via email to