Ticket #252 (closed defect: duplicate)

Opened 3 years ago

Last modified 2 years ago

Potential memory leak

Reported by: mxxcon Owned by: moo
Priority: major Milestone: 1.3.2
Component: cacher Version: 1.3.0
Keywords: Cc:
Blocked By: PHP Version: 5.3.2-1ubuntu4.5
Application: Need User Feedback: no
Other Exts: SAPI: Irrelevant
Probability: Always 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

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

Change History

Changed 3 years ago by mxxcon

cacti graph of memory usage

Changed 2 years ago by moo

  • status changed from new to closed
  • resolution set to duplicate

dup of #258

Note: See TracTickets for help on using tickets.