Opened 4 years ago

Closed 4 years ago

#252 closed defect (duplicate)

Potential memory leak

Reported by: mxxcon Owned by: moo
Priority: major Milestone: 1.3.2
Component: cacher Version: 1.3.0
Keywords: Cc:
Application: PHP Version: 5.3.2-1ubuntu4.5
Other Exts: SAPI: Irrelevant
Probability: Always Blocked By:
Blocking:

Description

Ubuntu server 10.04LTS, Apache 2.2.14-5ubuntu8.2, XCache 1.3.0-5ubuntu1.

xcache.shm_scheme =        "mmap"
xcache.size  =                64M
xcache.count =                 2
xcache.slots =                8K
xcache.ttl   =                 0
xcache.gc_interval =           0
xcache.var_size  =            0M
xcache.var_count =             1
xcache.var_slots =            8K
xcache.var_ttl   =             0
xcache.var_maxttl   =          0
xcache.var_gc_interval =     300
xcache.test =                Off
xcache.readonly_protection = Off
xcache.mmap_path =    "/dev/zero"
xcache.coverager =          Off

After a while the server starts to use up all available memory and then all available swap and then becomes unresponsive. Tried adjusting xcache.ini settings without change in behavior. Switching XCache for APC makes the server stable again.
attached in a screenshot of cacti's monitoring memory usage. toward the end of the graph is when we switched to apc.

Attachments (1)

cacti_graph1.png (26.2 KB) - added by mxxcon 4 years ago.
cacti graph of memory usage

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by mxxcon

cacti graph of memory usage

comment:1 Changed 4 years ago by moo

  • Resolution set to duplicate
  • Status changed from new to closed

dup of #258

Note: See TracTickets for help on using tickets.