문제

I have a intraweb application which uses AclExtras.

When i execute in shell

./Console/cake AclExtras.AclExtras aco_sync

it takes about 4-5 minutes (!!!).

Is there maybe something not correctely set up?

도움이 되었습니까?

해결책

Well it could take that much time because it just needs it to regenerate all permissions, or:

  • If you're running it on an old or not powerful enough server it could still run slow.

  • If you have problems on the DB server due to high loads.

  • If you custom coded something it could run slower if not optimized.

  • .... Whatever else

There is no way to say why it takes 4-5 minutes if you do not provide any code and more detailed set up information, but on the other hand it could just be so resource intensive that the Shell requires these minutes to complete it's task... So a question like "it takes about 4-5 minutes (!!!).Is there maybe something not correctly set up?" is no good in this case. Please check this out on how to ask questions.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top