Problem Note 48895: Optimization/evaluation might fail with "ERROR: TKTException code = 6 (Access violation)..."
SAS Promotion Optimization optimization/evaluation might fail with the following error in the MerchIngelGridSvr.log file:
2012-12-20 10:00:18,809 [RequestThread-100687] DEBUG TKMI - 20121220:10.00.17.46: Error: job 'rpp_process_[8]' encountered a fatal error
2012-12-20 10:00:18,809 [RequestThread-100687] DEBUG TKMI - 20121220:10.00.17.48:
2012-12-20 10:00:18,809 [RequestThread-100687] DEBUG TKMI - ERROR: TKTException code = 6 (Access violation)
2012-12-20 10:00:18,809 [RequestThread-100687] DEBUG TKMI - #4 0x00007fe34b871cd1 in tkmi_exception_handler (thread=0x276f, ctxt=0x7fe217013fdc, code=TKTE_UnknownException) at /sas/wky/mva-m1ro52/di/src/tkmi_exception.c:77
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - #5 0x00007fe35b4b7116 in bktExcept () from /in/SAUA/sfw/sas/SASFoundation/9.3/sasexe/tkmk.so
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - #6 0x00007fe35b4ba11b in bkt_segv () from /in/SAUA/sfw/sas/SASFoundation/9.3/sasexe/tkmk.so
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - #7 0x00007fe35b4b76e4 in bkt_signal_handler () from /in/SAUA/sfw/sas/SASFoundation/9.3/sasexe/tkmk.so
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - #8
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - #9 0x00007fe34babf3c4 in CalculateStoreDemand (context=0x0) at /sas/wky/mva-m1ro52/dippr/src/rpp_opt_util.c:2597
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - #10 0x00007fe34b860253 in logic_fn (ctxt=0x7fe34b1b55f8, req=0x7fe24d6b9388, thread=0x7fe34702f130, cb=0x7fe35109a4c8) at /sas/wky/mva-m1ro52/di/src/job_manager.c:1293
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - #11 0x00007fe352198d0b in basicPuddleMain () from /in/SAUA/sfw/sas/SASFoundation/9.3/sasexe/tkepdl.so
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - #12 0x00007fe35b4b5926 in sktMain () from /in/SAUA/sfw/sas/SASFoundation/9.3/sasexe/tkmk.so
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - #13 0x00007fe35b4
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - 20121220:10.00.17.48: b6f7b in bktMain () from /in/SAUA/sfw/sas/SASFoundation/9.3/sasexe/tkmk.so
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - #14 0x00000037b0e07851 in start_thread () from /lib64/libpthread.so.0
2012-12-20 10:00:18,810 [RequestThread-100687] DEBUG TKMI - #15 0x000000317cce76dd in clone () from /lib64/libc.so.6
Optimization/evaluation fails because the number of locations in the plan is small compared to the number of processors used for optimization.
The workaround for this issue is to set MAX_CPU_THREADS=2 in server.xml by editing the
com.sas.solutions.di.tkmiserver.captain.onlineopt.args property as described in Chapter 22 of the SAS® Revenue Optimization Administrator's Guide.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Promotion Optimization | Microsoft® Windows® for x64 | 5.2_M1 | 5.2_M2 | 9.3 TS1M2 | 9.3 TS1M2 |
Linux for x64 | 5.2_M1 | 5.2_M2 | 9.3 TS1M2 | 9.3 TS1M2 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | alert |
Date Modified: | 2013-04-16 09:53:57 |
Date Created: | 2013-01-10 12:23:16 |