SAP Knowledge Base Article - Preview

2590845 - ASE timeslice error , function in the stack __xstat64() - SAP ASE

Symptom

  • A timeslice message in the SAP ASE errorlog can be seen with __xstat64 in the message.

timeslice -1761, current process infected at 0x7ffff581b0a5 (__xstat64+0x15) 
.....
timeslice error: spid <NN> exhausted its 'time slice' of 100 milliseconds and additional 'cpu grace time' of 1500 ticks (150000 milliseconds). It has been marked for termination.

  • Complete portion of timeslice error and stack might look like as below,

kernel timeslice -1761, current process infected at 0x7ffff581b0a5 (__xstat64+0x15)
kernel **** Saved signal context (0x0x0000000151032700): ****
kernel uc_flags: 0x1, uc_link: 0x(nil)
kernel uc_sigmask: 0x416000 0xa 0xfffffffa 0x6639
kernel uc_stack: ss_sp: 0x(nil), ss_size: 0x0, ss_flags: 0x2
kernel General Registers (uc_mcontext.gregs):
kernel PC : 0x00007ffff581b0a5 (__xstat64+0x15)
kernel RAX : (nil) RBX : 0x00007ffff5896e6b
kernel RCX : 0xffffffffffffffff RDX : 0x0000000151032ce0
kernel RBP : 0x0000000151032de0 RSP : 0x0000000151032c88
kernel R8 : 0x00007fffcc000088 R9 : (nil)
kernel R10 : 0x000000000000000f R11 : 0x0000000000000246
kernel R12 : (nil) R13 : 0x0000000000000001
kernel R14 : 0x000000000000002f R15 : 0x0000000000000007
kernel RDI : 0x00007ffff5896e6b RSI : 0x0000000151032ce0
kernel RIP : 0x00007ffff581b0a5 CSGSFS : 0x0000000000000033
kernel TRAPNO : (nil) ERR : (nil)
kernel EFL : 0x0000000000000246
kernel **** end of signal context ****
kernel timeslice error: spid <NN> exhausted its 'time slice' of 100 milliseconds and additional 'cpu grace time' of 1500 ticks (150000 milliseconds). It has been marked for termination.
kernel This Adaptive Server process has had 0 major and 813876 minor page faults since boot.
kernel ************************************
server SQL Text: [no text]
kernel curdb = 1 tempdb = 2 pstat = 0x200 p2stat = 0x100100
kernel p3stat = 0x81a p4stat = 0x2 p5stat = 0x0 p6stat = 0x400 p7stat = 0x10000
kernel lasterror = 0 preverror = 0 transtate = 1
kernel curcmd = 0 program =
kernel extended error information: hostname: login:
kernel pc: 0x000000000164631b pcstkwalk+0x3a3()
kernel pc: 0x0000000001645df3 ucstkgentrace+0x263()
kernel pc: 0x0000000001641d2f ucbacktrace+0x51()
kernel pc: 0x000000000078aef6 terminate_process+0x1716()
kernel pc: 0x00000000016964b8 kitermproc+0x1bc()
kernel pc: 0x00007ffff668f7e0 (null)+0x7ffff668f7e0()
kernel end of stack trace, spid 11, kpid 14614640, suid 0
server Restarted process 'HK CHORES'.


Read more...

Environment

  • SAP Adaptive Server Enterprise 15.7
  • SAP Adaptive Server Enterprise 16.0

Product

SAP Adaptive Server Enterprise all versions

Keywords

timeslice, __xstat64 , signal , cpu grace time , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.