CFMX 6.1 Memory Leak?

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default CFMX 6.1 Memory Leak?

    I've been chasing down the cause of JVM memory spikes for the last few weeks,
    and am getting closer to finding the source. Basically, our CFMX 6.1 server
    will periodically spike its JVM memory, going from 200Mb (normal running level)
    to 1Gb+ in a matter of minutes. We had a Microsoft Operations Manager rule
    monitoring the JRUN memory usage and restarting the CFMX service at 1GB as a
    preventative measure, but realized that was hurting more than it was helping.
    So we've removed that rule, and given the JVM 1.5Gb to play with. I added
    SeeFusion for monitoring, and am capturing my JVM heap stats every two minutes
    so I can see the spikes.

    Over the last two days, I caught two such incidents, and in both cases, there
    were scheduled jobs that had not finished appearing in SeeFusion as "active",
    but didn't appear to be doing anything. The jobs that got "stuck" do a series
    of database reads through a JDBC driver, and normally finish each query in
    milliseconds, but in these cases it looks like it hits a query that doesn't
    return a result, and the process just hangs out forever, ignoring the timeout I
    set in the Scheduled Task setup. But what's really strange is that this
    process was sitting there doing nothing for 3 hours, and the JVM stayed nice
    and steady at 200Mb, then all of a sudden it spiked up to 1.5Gb in a matter of
    minutes, with no other active requests, and nothing visibly happening in that
    process. So it looks to me like a memory leak of some sort, but all in a
    matter of minutes rather than a gradual thing.

    Also, at some point, the JVM maxed out at 1.5Gb used, and ColdFusion
    restarted. Will it restart itself when it hits that point? Our MOM logs don't
    show that MOM did it (we have the rule set to 1.5Gb) like it used to, but maybe
    that program is buggy. I didn't realize ColdFusion could bounce itself when
    needed, but maybe I missed that. It would be sort of nice if it was that smart.

    jarviswabi Guest

  2. Similar Questions and Discussions

    1. CFMX 7.0.1 - memory leak due to debug enabled
      Hi: O.S.: Windows 2003 DB: MS-SQL SERVER 2000 I've 5 scheduled tasks, and seems that if I enable the debug option in the CF administration...
    2. #39438 [NEW]: Memory leak PHP Fatal error: Out of memory
      From: nikolas dot hagelstein at gmail dot com Operating system: NETBSD 3.0.1 AMD64 PHP version: 5.2.0 PHP Bug Type: ...
    3. memory problem/memory leak
      Hi I have a problem with shockwave player running in Internet Explorer. My program consists of a controller movie which loads in content files in...
    4. big memory leak
      Hi there, Our project, wich needs to be deployed 24/7 in lots of terminals, is experiencing a big memory leak. Would like to know about best...
    5. Memory consumption of Ruby/mod_ruby combo on Apache [memory leak]
      > I don't think so - I think all the modules are loaded when Apache is It didn't have anything to do with IfModules or even Apache. I had a...
  3. #2

    Default Re: CFMX 6.1 Memory Leak?

    Did you ever resolve this issue. We're getting the same problem. I've posted to this thread:

    [url]http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=143&threadid=793215[/url]


    tompeer1 Guest

  4. #3

    Default Re: CFMX 6.1 Memory Leak?

    Nice article.

    Another good tool I found with excellent UI and qualitative memory analysis, http://appdynamics.com/documents/white_papers/WP_MEMORY_LEAKS.pdf. Have been using it for some time now and find it super friendly.
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139