search cancel

Application server cores with no specific error message

book

Article ID: 41433

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

Problem: 

The Application Server (as_server executable) crashes creating a core dump but without any specific specific message in the as_server logfile. 

Pstack of core dump is as follows:

(gdb) bt

#0  0xffffe410 in __kernel_vsyscall ()

#1  0x00908b10 in raise () from /lib/libc.so.6

#2  0x0090a421 in abort () from /lib/libc.so.6

#3  0xf731a277 in ?? () from /usr/lib/libstdc++.so.5

#4  0xf731a2c4 in std::terminate() () from /usr/lib/libstdc++.so.5

#5  0xf731a436 in __cxa_throw () from /usr/lib/libstdc++.so.5

#6  0xf731a692 in operator new(unsigned int) () from /usr/lib/libstdc++.so.5

#7  0xf731a77f in operator new[](unsigned int) () from /usr/lib/libstdc++.so.5

#8  0xf7d9b784 in AsCopiedMem::AsCopiedMem(unsigned int, int) () from /opt/CA/WorkloadAutomationAE/autosys/lib/libasutil.so

#9  0xf7d9ba3c in AsCopiedMem::grow(unsigned int, unsigned int) () from /opt/CA/WorkloadAutomationAE/autosys/lib/libasutil.so

#10 0xf7d9bd05 in AsCopiedMem::operator+=(AsMemory const&) () from /opt/CA/WorkloadAutomationAE/autosys/lib/libasutil.so

#11 0xf77021fb in CybSendAfm(int, CybAfmInfo&, AsList<AsString> const&, int&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, AsCopiedMem*) () from /opt/CA/WorkloadAutomationAE/autosys/lib/libasapi.so

#12 0xf7704c72 in run_agent_api_imp(ApiContext*, int, AsList<AsString> const&, machines const&, int&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, AsCopiedMem*) ()

   from /opt/CA/WorkloadAutomationAE/autosys/lib/libasapi.so

#13 0xf75c5bb2 in getSysAgtLogInfo(ApiContext*, AsString const&, int, int, int, autosys::eJobLogType, int, Response*) () from /opt/CA/WorkloadAutomationAE/autosys/lib/libasapi.so

#14 0xf75c6d3c in getRaLogInfo(ApiContext*, AsString, int, int, autosys::eJobLogType, Response*) () from /opt/CA/WorkloadAutomationAE/autosys/lib/libasapi.so

#15 0xf75c7b90 in get_job_log_imp(ApiContext*, autosys::eJobLogType, int, int, AsString, Response*) () from /opt/CA/WorkloadAutomationAE/autosys/lib/libasapi.so

#16 0xf75c7ecb in get_job_log(ApiContext*, Request*) () from /opt/CA/WorkloadAutomationAE/autosys/lib/libasapi.so

#17 0x080637a7 in ApiThread::Iterate() ()

#18 0xf7db36fa in ThreadTE () from /opt/CA/WorkloadAutomationAE/autosys/lib/libasutil.so

#19 0x00a49912 in start_thread () from /lib/libpthread.so.0

#20 0x009b54ae in clone () from /lib/libc.so.6

 

Environment:  

Autosys 11.3 SP1 Incr3_Cum3 on Linux(all)

 

Cause: 

The application server crashed while retrieving huge agent log file from agent machine.

 

Resolution/Workaround:

Implement the LogMaxEndLines variable to control the number of lines transferred from agent to application server to avoid this problem.

 

  1. Modify/add following line in the $AUTOUSER/config.<instance> file

LogMaxEndLines=value

value:   Defines the maximum number of lines to retrieve from a log file

Default:0, the application server retireves the entire contents of the log file

Limits:  0-10000

Notes:   if the specified value is not in the valid range, the application server resets the value to the default

if the specified value is in the valid range, the application server passes the request to the agent. The agent retrieves the specified number of lines starting from the end of the log file.

 

2. Enter the following command at the operating system prompt:

kill -HUP applicationserver_pid

applicationserver_pid: defines the process id of the application server that you want to pause and resume.

 

 

Environment

Release: ATSAGE99000-11.3-Workload Automation AE-Remote Agent
Component: