Closed Bug 532591 Opened 16 years ago Closed 16 years ago

Verbatim is leaking

Categories

(Webtools Graveyard :: Verbatim, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 534543

People

(Reporter: zbraniecki, Assigned: zbraniecki)

Details

We launched verbatim today and it works very fast, but it is still leaking. After ~7 hours of running, I just restarted apache when I saw: Mem: 1026860k total, 1019580k used, 7280k free, 740k buffers Swap: 2097144k total, 1834128k used, 263016k free, 14704k cached after restart: Mem: 1026860k total, 245856k used, 781004k free, 2392k buffers Swap: 2097144k total, 70012k used, 2027132k free, 25732k cached We had no users operating on the server, DEBUG and LIVE_TRANSLATION is off, and yet it leaks.
My guess would be that the setting PARSE_POOL_SIZE in localsettings.py might be a bit too big, since the files on the server are few but big. Can you try to set that a bit lower than the default of 40? Maybe 30 or 20 if the usage is still too high?
yes, I'll try. Update from today, I restarted apache at the point when: top - 09:19:31 up 21:44, 1 user, load average: 1.39, 0.70, 0.59 Tasks: 100 total, 2 running, 98 sleeping, 0 stopped, 0 zombie Cpu(s): 0.6%us, 1.3%sy, 0.0%ni, 45.7%id, 51.4%wa, 0.6%hi, 0.4%si, 0.0%st Mem: 1026860k total, 1007980k used, 18880k free, 1208k buffers Swap: 2097144k total, 1996400k used, 100744k free, 18156k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 10132 verbatim 15 0 621m 336m 3020 S 0.0 33.6 0:56.08 httpd 10163 verbatim 15 0 413m 79m 2828 S 0.0 7.9 0:19.71 httpd 11293 verbatim 15 0 363m 57m 2288 S 0.0 5.7 0:15.12 httpd 11312 verbatim 17 0 379m 34m 2752 D 1.3 3.4 0:14.97 httpd 10176 verbatim 16 0 966m 24m 2628 S 0.3 2.4 1:19.82 httpd 11294 verbatim 15 0 375m 19m 2696 S 0.0 1.9 0:10.14 httpd 11169 verbatim 15 0 803m 17m 2744 S 0.3 1.8 1:40.71 httpd 13120 verbatim 15 0 308m 16m 3500 S 0.7 1.7 0:00.83 httpd 10133 verbatim 15 0 403m 16m 2708 S 0.7 1.6 0:15.69 httpd 10135 verbatim 16 0 366m 15m 2068 S 0.0 1.6 0:14.35 httpd 10138 verbatim 15 0 401m 14m 2104 S 0.0 1.4 0:19.07 httpd 10134 verbatim 15 0 406m 12m 1948 S 0.0 1.3 0:21.92 httpd 10177 verbatim 16 0 420m 12m 2080 S 0.7 1.2 0:13.44 httpd 5495 mysql 15 0 380m 5604 1908 S 0.3 0.5 0:34.49 mysqld 13348 root 15 0 88688 3324 2588 R 0.0 0.3 0:00.07 sshd 2603 root 34 19 251m 2992 1036 S 0.0 0.3 0:01.41 yum-updatesd 5411 nobody 15 0 63776 1732 200 S 0.0 0.2 0:13.55 memcached
Friedel: 40? 30? Erkhm... We had PARSE_POOL_SIZE = 1000 Took it down to 40, we'll see...
(In reply to comment #3) > Friedel: 40? 30? Erkhm... We had PARSE_POOL_SIZE = 1000 wow ;)
Took it down to 20 and the memory is in limits, around 500mb. I may raise that to 30, but everything works now.
It seems I control the mem.
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
We're tweaking the settings and monitoring the memory usage over in bug 534543.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.