Details
-
Type: Bug
-
Status: Closed
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: Mercury
-
Fix Version/s: Mercury
-
Component/s: AdMax JMS Listener
-
Labels:None
-
Environment:
Bid Manager : bidmgr-distribution-2.9.0-SNAPSHOT-dev-t20151201041954-bin.tar.gz (Build #1002)
Core : smb-ear-2.9.0-SNAPSHOT-b418-t20151130-054644-CI.ear (Build #418)
SAPI : aml-sapi-2.9.0-20151126.121220-273.war (Build #1165)
Reseller : aml-ui-reseller-gwt-2.9.0-20151203.190001-46.war (Build #282)
Merchant : aml-ui-merchant-gwt-2.8.1-20151203.191858-3.war (Build #84)Bid Manager : bidmgr-distribution-2.9.0-SNAPSHOT-dev-t20151201041954-bin.tar.gz (Build #1002) Core : smb-ear-2.9.0-SNAPSHOT-b418-t20151130-054644-CI.ear (Build #418) SAPI : aml-sapi-2.9.0-20151126.121220-273.war (Build #1165) Reseller : aml-ui-reseller-gwt-2.9.0-20151203.190001-46.war (Build #282) Merchant : aml-ui-merchant-gwt-2.8.1-20151203.191858-3.war (Build #84)
-
Sprint:Sprint 14, Sprint 15, Sprint 16, Sprint 17, Sprint 18, Sprint 19
Description
Concurrent orders having multiple campaign and sitelinks throws exception - java.lang.OutOfMemoryError: and order stuck in processing
Environment details:
System : QA 4
realm:qa4amltest
Merchant UUID:d705ec21-e92d-42ff-88ed-5258ef1641e4 & 6840962d-fb7d-414d-9f07-d0c367028bed
Restarted the listener
Steps:
1.Create an quote order having multiple campaigns around 6.
2.Create an quote order having multiple campaigns having sitelink (invalid url) - campaigns around 8
3.Deploy these orders one after another
4.Observe the listener log
Actual result:
Listener throws exception : java.lang.OutOfMemoryError: and order stuck in processing
mysql> select * from smb.orders where state like '%processing%'\G;
id: 72f72cfc-c17f-48d9-a8c8-5682b2315ee3
realm_id: com.thesearchagency/b8a7d340-30e0-4369-97d0-8f901d238f86
name:
comments:
url: http://www.merchantsite.com/
created_on: 2015-12-04 09:20:25
created_by: f4f232db-9eb9-4b8b-a8e8-23ea009541bb
modified_on: 2015-12-04 09:20:42
modified_by: f4f232db-9eb9-4b8b-a8e8-23ea009541bb
state: PROCESSING
merchant_id: d705ec21-e92d-42ff-88ed-5258ef1641e4
currency_code: USD
timezone: America/New_York
country_code: US
scheduled_start: NULL
scheduled_end: NULL
snippet of log: (complete log attached 38 MB so archived)
ID: 513
Address: https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml
Headers:
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><CustomerAccountId xmlns="https://bingads.microsoft.com/CampaignManagement/v9">65012605</CustomerAccountId><CustomerId xmlns="https://bingads.microsoft.com/CampaignManagement/v9">36112081</CustomerId><DeveloperToken xmlns="https://bingads.microsoft.com/CampaignManagement/v9">DN8ELHL3</DeveloperToken><UserName xmlns="https://bingads.microsoft.com/CampaignManagement/v9">API_TheSearchAgency</UserName><Password xmlns="https://bingads.microsoft.com/CampaignManagement/v9">Pa55w0rd</Password></soap:Header><soap:Body><AddAdGroupsRequest xmlns="https://bingads.microsoft.com/CampaignManagement/v9" xmlns:ns2="http://schemas.datacontract.org/2004/07/System.Collections.Generic" xmlns:ns3="https://adapi.microsoft.com" xmlns:ns4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ns5="http://schemas.datacontract.org/2004/07/System" xmlns:ns6="http://schemas.microsoft.com/2003/10/Serialization/"><CampaignId>234058100</CampaignId><AdGroups><AdGroup><AdDistribution>Search</AdDistribution><AdRotation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><BiddingModel>Keyword</BiddingModel><BroadMatchBid><Amount>0.05000000074505806</Amount></BroadMatchBid><ContentMatchBid xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><EndDate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><ExactMatchBid><Amount>0.05000000074505806</Amount></ExactMatchBid><ForwardCompatibilityMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><Id xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><Language>English</Language><Name>d705ec21-e92d-42ff-88ed-5258ef1641e4_10008_1_5490_United States</Name><Network xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><PhraseMatchBid><Amount>0.05000000074505806</Amount></PhraseMatchBid><PricingModel>Cpc</PricingModel><StartDate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><Status>Active</Status></AdGroup></AdGroups></AddAdGroupsRequest></soap:Body></soap:Envelope>
--------------------------------------
2015-12-04 09:37:49.916 (3) [pool-13-thread-2]: ThreadPool finished 0/1 tasks, 1 active tasks, 1 active threads. 1 tasks remaining.
Exception in thread "Timer-4" Exception in thread "Timer-3" java.lang.OutOfMemoryError: PermGen space
at org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:351)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
java.lang.OutOfMemoryError: PermGen space
at org.jboss.remoting.ConnectionValidator$WaitOnConnectionCheckTimerTask.run(ConnectionValidator.java:890)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2015-12-04 09:37:55,856 [pool-13-thread-1] INFO o.a.c.s.C.I.ICampaignManagementService - Inbound Message
----------------------------
ID: 513
Response-Code: 200
Encoding: UTF-8