Yii Framework Forum: Yii-App Consumes 100% Of Resources - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii-App Consumes 100% Of Resources Rate Topic: -----

#1 User is offline   chrisiek 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 15-February 13

Posted 15 February 2013 - 01:44 PM

Hi,

I've installed yii today I have tried to run yii-app with bootstrap. I run yii on windows, MySQL, Apache 2.2. PHP 5.3.21
When I start localhost/yii/web/ application runs forever and never ends on both in firefox and IE the same. It consumes almost 100% of resources.
When I close FF or IE everything returns to normal.

Why is this?
0

#2 User is offline   jneto 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 49
  • Joined: 19-November 12
  • Location:Portugal

Posted 15 February 2013 - 07:47 PM

try to change the 'watch' =>false, in params.php.

	'less.options' => array(
		'env' => 'development',
		'watch' => false,
	),


Check if your problem is the Infinite *.less requests
github.com/Crisu83/yii-app/issues/2

I'm new with less, so i don't know the real use of 'watch'.
0

#3 User is offline   chrisiek 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 15-February 13

Posted 16 February 2013 - 02:27 AM

View Postjneto, on 15 February 2013 - 07:47 PM, said:

try to change the 'watch' =>false, in params.php.

	'less.options' => array(
		'env' => 'development',
		'watch' => false,
	),


Check if your problem is the Infinite *.less requests
github.com/Crisu83/yii-app/issues/2

I'm new with less, so i don't know the real use of 'watch'.


Yes, that solved my problem, thanks.
After 2 days' studying the yii I like it very much. :D
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users