EVE-SECURE / evedev-kb

Automatically exported from code.google.com/p/evedev-kb
0 stars 0 forks source link

Campaign error #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new campaign.
2. Set the date/targets so that the campaign contains some kills.
3. Try and view any page that uses campaign data (like the home page).

What is the expected output? What do you see instead?

The Apache process uses 100% of the core it's executing on, and starts to
increase it's memory usage. It doesn't stop until the PHP execution time
limit kills it. On a server with no timeouts the Apache process kept
growing until the server started to run out of memory (at which point I
killed it manually).

Please use labels and text to provide additional information.

Original issue reported on code.google.com by mastergamer0168@gmail.com on 21 Mar 2010 at 1:42

GoogleCodeExporter commented 9 years ago
It seems that ?a=campaigns doesn't make Apache fall over, but it shows 10 
copies of
the campaign, with (I think) incorrect stats.

Original comment by mastergamer0168@gmail.com on 21 Mar 2010 at 1:49

GoogleCodeExporter commented 9 years ago
I'm not seeing this behaviour. Are you on the latest revision? There was a 
problem with 
DBNormalQuery->rewind() until recently.

If you are on the latest revision, what type of options are your campaigns 
using? i.e. 
corp/alliance/region/system. Is your board set to halt on sql error?

I just updated class.contract.php with a fix that may relate, depending on your 
db 
indices. It wouldn't cause multiple copies, though.

Original comment by kovellia on 21 Mar 2010 at 8:26

GoogleCodeExporter commented 9 years ago
Yep, latest revision.

There's only one target - an alliance (well faction really...). Halt on SQL 
error is
enabled - no difference.

The update didn't seem to fix it - although ?a=campaigns now shows some kills 
that it
didn't before. The DB indices are the default from the installer.

Original comment by mastergamer0168@gmail.com on 21 Mar 2010 at 8:35

GoogleCodeExporter commented 9 years ago
This is fixed now.

Original comment by mastergamer0168@gmail.com on 31 Mar 2010 at 9:52