Re: [symfony-users] Re: Troubleshooting view loading extremely slowly.

2010-05-11 Thread Eno
On Mon, 19 Apr 2010, pghoratiu wrote:

 My suspicion is that you have some I/O timeout when the cache is
 created first, due to
 insufficient access rights. Check if the permissions for the cache
 folder are set up correctly.

Also that error would show up in your Apache error log.

 Second you should do some tests with that disk, copying files around
 to check the speed of the HDD. Try
 your code also on a second machine to exclude hardware problems.

No mention is made of the stack itself, i.e. are you using APC?
Have you looked at the times on the database queries? etc etc.


-- 


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: Troubleshooting view loading extremely slowly.

2010-04-19 Thread pghoratiu
Hello!

My suspicion is that you have some I/O timeout when the cache is
created first, due to
insufficient access rights. Check if the permissions for the cache
folder are set up correctly.
Second you should do some tests with that disk, copying files around
to check the speed of the HDD. Try
your code also on a second machine to exclude hardware problems.

   gabriel


On Apr 19, 12:32 am, ErisDS eri...@gmail.com wrote:
 Hi,

 I posted this thread on the forum, and was wondering if anyone here
 could perhaps help with the problem?

 http://forum.symfony-project.org/index.php/t/26796/

 Several of my views are loading in an unreasonably slow time on the
 production controller. I was wondering if anyone has seen this issue
 and knows what causes it? I will repost the logs from the original
 post here:

 I have turned logging on for the frontend production controller, and
 the log clearly shows where the time goes:

 Apr 16 14:56:38 symfony [info] {sfViewCacheManager} Cache for 
 @sf_cache_partial?module=resultstableaction=_list_th_ta
 bularsf_cache_key=0ad0c7db2785e069bcc3b51950782727  does not exist
 Apr 16 14:56:38 symfony [info] {sfPartialView} Render  /var/www//
 httpdocs/apps/front/modules/resultstable/templ ates/
 _list_th_tabular.php 
 Apr 16 14:56:38 symfony [info] {sfViewCacheManager} Save cache for 
 @sf_cache_partial?module=resultstableaction=_list_th_ta
 bularsf_cache_key=0ad0c7db2785e069bcc3b51950782727 
 Apr 16 14:58:06 symfony [info] {sfPHPView} Decorate content with /var/
 www//httpdocs/apps/front/templates/layout.php
 Apr 16 14:58:06 symfony [info] {sfPHPView} Render /var/www//
 httpdocs/apps/front/templates/layout.php
 Apr 16 14:58:06 symfony [info] {main} Call element-executeHeader()

 You can see that Symfony is processing some caching  then stops for
 around 90 seconds. Here's another log with the caching turned off
 completely for the frontend application:

 Apr 16 15:25:35 symfony [info] {sfPartialView} Render  /var/www//
 httpdocs/apps/front/modules/resultstable/templ ates/_filters.php 
 Apr 16 15:25:36 symfony [info] {sfPartialView} Render  /var/www//
 httpdocs/apps/front/modules/resultstable/templ ates/
 _list_th_tabular.php 
 Apr 16 15:27:12 symfony [info] {sfPHPView} Decorate content with /var/
 www//httpdocs/apps/front/templates/layout.php
 Apr 16 15:27:12 symfony [info] {sfPHPView} Render /var/www//
 httpdocs/apps/front/templates/layout.php

 Any ideas would be gratefully received.

 Eris

 --
 If you want to report a vulnerability issue on symfony, please send it to 
 security at symfony-project.com

 You received this message because you are subscribed to the Google
 Groups symfony users group.
 To post to this group, send email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en