Well, we've gone about as far as we can with this. It continues to to load certain files twice and it's hard to determine why now. It only happens on our production server, and therefore is difficult to troubleshoot. We are removing it and may try again
with further releases, but it's really causing us a lot of trouble.
One odd thing was when, I disabled the opcode cache via ini_set and the function that it was duplicating, stopped working altogether (it's an ajax call using Scriptaculous and loads a list of names.)
This should be fixed in RTW release. I did test it and also the script you provided in this forum is part of my regression suite. Are you sure you are using the RTW bits?
We did fix couple of other bugs in the same codepath, but I don't think we regressed this. Can you test the script you provided in this post and get back to me.
Sorry, this was a blunder on my side and I take all the responsibility. Seems like this is broken in PHP5.3 and works well on PHP5.2. I am working on a fix. I am extremely sorry for this. I will send you the privates once I have a fix.
I have fixed it. I will send you the privates over email. I am doing some more test now. Again I am sorry for this blunder.
Thanks for reporting this,
Don.
PS: This is specific to PHP5.3. If anyone else is running into similar problem, please contact me. We are also planning to do a 1.0.1 upodate soon (probably early next year).
laurin1
257 Posts
Re: Require_once Requires File Twice Under Wincache
Sep 15, 2009 06:13 PM|LINK
Glad I could help.
I may have another similar issue occurring right now, or it might the same issue. About to do some testing.
laurin1
257 Posts
Re: Require_once Requires File Twice Under Wincache
Sep 16, 2009 06:37 PM|LINK
Well, we've gone about as far as we can with this. It continues to to load certain files twice and it's hard to determine why now. It only happens on our production server, and therefore is difficult to troubleshoot. We are removing it and may try again with further releases, but it's really causing us a lot of trouble.
One odd thing was when, I disabled the opcode cache via ini_set and the function that it was duplicating, stopped working altogether (it's an ajax call using Scriptaculous and loads a list of names.)
don.raman
1207 Posts
Microsoft
Moderator
Re: Require_once Requires File Twice Under Wincache
Sep 16, 2009 08:22 PM|LINK
Can you mail me back at don(dot)raman(at)microsoft(dot)com. We would like to help you in whatever way we could.
Thanks,
Don.
laurin1
257 Posts
Re: Require_once Requires File Twice Under Wincache
Oct 23, 2009 03:16 AM|LINK
Call me paranoid, but I am deploying this tonight and just want to make sure. The patch you sent me for this is incorporated in the 1.0 RC, correct?
don.raman
1207 Posts
Microsoft
Moderator
Re: Require_once Requires File Twice Under Wincache
Oct 23, 2009 03:17 AM|LINK
Yes, it is.
Cheers.
Don.
laurin1
257 Posts
Re: Require_once Requires File Twice Under Wincache
Oct 23, 2009 03:22 AM|LINK
Thanks.
laurin1
257 Posts
Re: Require_once Requires File Twice Under Wincache
Dec 03, 2009 05:23 AM|LINK
Ah! We installed 1.0 RTW last week, and guess what we found today?! This bug is back. Did the fix not get committed to the main branch or what?
don.raman
1207 Posts
Microsoft
Moderator
Re: Require_once Requires File Twice Under Wincache
Dec 03, 2009 06:51 AM|LINK
Hi,
This should be fixed in RTW release. I did test it and also the script you provided in this forum is part of my regression suite. Are you sure you are using the RTW bits?
We did fix couple of other bugs in the same codepath, but I don't think we regressed this. Can you test the script you provided in this post and get back to me.
Thanks,
Don.
don.raman
1207 Posts
Microsoft
Moderator
Re: Require_once Requires File Twice Under Wincache
Dec 03, 2009 08:16 AM|LINK
Sorry, this was a blunder on my side and I take all the responsibility. Seems like this is broken in PHP5.3 and works well on PHP5.2. I am working on a fix. I am extremely sorry for this. I will send you the privates once I have a fix.
Thanks,
Don.
don.raman
1207 Posts
Microsoft
Moderator
Re: Require_once Requires File Twice Under Wincache
Dec 03, 2009 08:50 AM|LINK
Laurin,
I have fixed it. I will send you the privates over email. I am doing some more test now. Again I am sorry for this blunder.
Thanks for reporting this,
Don.
PS: This is specific to PHP5.3. If anyone else is running into similar problem, please contact me. We are also planning to do a 1.0.1 upodate soon (probably early next year).