Have you tired any of the performance tips in the manual
http://framework.zend.com/manual/en/performance.html

Also have you tried debugging locally using Xdebug profiling, I use
this regularly to catch bottlenecks.

Another one to check is if you are using Zend_Db_Table etc that you
are not getting too bigger resultsets, you can easily run out of
memory of you retrieve large data sets using db_table.

2008/11/25 mothmenace <[EMAIL PROTECTED]>:
>
> Hello,
>
> I recently deployed a ZF based site and have been experiencing memory issues
> on the server. This isn't to say the problem is with ZF, but I really wanted
> to ask other people's experiences in a number of areas.
>
> Host: Media Temple DV (dedicated virtual)
> Memory: 256mb
> Issues: frequent memory overages (more than once a day), reported as black
> level kmemsize QoS alerts in the Plesk control panel.
>
> I have APC enabled. It shows about 7mb of 32mb allocated memory used. I've
> set apc.stat to 0.
> I added a memory_get_usage(true) to my bootstrap, and with APC it comes out
> at about 1.75mb per page (much higher without). Page serve times are in the
> 0.7 range.
>
> I don't think the site is getting particularly high traffic, and I
> experienced some kmemsize issues even before launch. There are no other
> sites running on that hosting atm, and I'm pretty sure mail use is low. I've
> been following the server with top as much as possible, apache httpd process
> instances are showing 2.5% memory use. On average the mem usage is showing :
> siMem:689496k total,   311772k used,   377724k free. The mysqld process
> shows 3.2% overall mem usage . load averages are like: 0.08, 0.06, 0.01.
>
> I'm really stumped as to what to try. Is there any way of knowing what
> scripts were running when the memory ran out? As for improving performance I
> could implement some aggressive caching techniques, but before that I wanted
> to know what other peoples ZF apps look like in terms of memory usage. What
> is a typical ZF website memory footprint? Many thanks if you have any
> suggestions, even if it's just for further testing.
> --
> View this message in context: 
> http://www.nabble.com/ZF---Memory-usage-tp20678541p20678541.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>



-- 
----------------------------------------------------------------------
[MuTe]
----------------------------------------------------------------------

Reply via email to