This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » Symfony 2.0 » issue with Symfony 2.0 & Doctrine
issue with Symfony 2.0 & Doctrine [message #101874] Thu, 01 July 2010 16:33
DjinnS  is currently offline DjinnS
Messages: 1
Registered: July 2010
Junior Member

I host an application using Symfony 2.0.

During tress tests I see Error 500 on Apache side and error "Class not found" from the PHP logs.

After many hours of researches, tests (differents PHP options, with and without APC, etc ...) I'm convinced that error comes from the code and espacially from doctrine.

When a page is requested, a .php file is generated in the /lib/model/doctrine/generated/. This file contains the code of a class define in /lib/model/doctrine/base. On every request, the file was recreated (in /lib/model/doctrine/generated/).

Is this normal ? Is this the normal behavior in synfony 2.0 ?

Under a certain load, because of the comportement described above (writing of the file on each request ...), some calls appear when the file doesn't exist, causing errors. It's like an "applicative race condition" Smile

Is this normal behavior ?

Thank you in advance
Previous Topic:Two Symfonies with one stone
Next Topic:Upgrading and local install
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software