cancel
Showing results for 
Search instead for 
Did you mean: 

Number of Process is increasing in solman host.

Former Member
0 Kudos

Hi All,

In solution manager recently configured the SAP host agent in SVX.

There are n number of process is running in the os level?

ps -ef | grep sap

root     29836 10726  0 Mar03 ?        00:00:00 [lssap] <defunct>

root     29884 10726  0 Mar01 ?        00:00:00 [lssap] <defunct>

root     29889 10726  0 Mar01 ?        00:00:00 [sapdbctrl] <defunct>

root     29978 10726  0 Mar03 ?        00:00:00 [sapdbctrl] <defunct>

root     30034 10726  0 Mar03 ?        00:00:00 [sapdbctrl] <defunct>

I checked the dev_sapdbctrl in solman.

[PID 20968] *** ERROR => Failed to open file '/var/opt/.hdb/a010525p200/installations.client': No such file or directory [dbhdbctrl.cpp 463][PID 20968] *** ERROR => Initialization of database control library 'libsapdbhdbctrl.so' for database type 'hdb' failed. Please check your installation. [sapdbctrl.cp 2611]

sh: /usr/local/bin/db2ls: No such file or directory.

Kindly give the solution for this.

Thanks,

Priyanag G

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,


checked the dev_sapdbctrl in solman.

[PID 20968] *** ERROR => Failed to open file '/var/opt/.hdb/a010525p200/installations.client': No such file or directory [dbhdbctrl.cpp 463][PID 20968] *** ERROR => Initialization of database control library 'libsapdbhdbctrl.so' for database type 'hdb' failed. Please check your installation. [sapdbctrl.cp 2611]

sh: /usr/local/bin/db2ls: No such file or directory.


I see that you are using HDB, might be you need special settings for these kind of DBs, even hostagent has some restriction with oracle.

Hence I could suggest you check these notes 1625203 - saphostagent/sapdbctrl for NewDB

Could get some hints.

Thanks

Jansi

Former Member
0 Kudos

What is the name of the parent process for these processes?

Former Member
0 Kudos

Hi All,

The parent process is saphostexec child process is sapstartsrv


kernel release: 720

kernel patch number: 114

kernel os: linuxx86_64

compilation mode: Non-Unicode

compiled for: 64 BIT

hostagent release: 7.20

hostagent patch number: 87

hostagent os: linuxx86_64

compilation mode: Non-Unicode

compiled for: 64 BIT

In my understanding sapstartsrv is waiting for something in the localhost I checked netstat -anp | grep parentprocessID there are n nomber of process running like.

tcp        1      0 127.0.0.1:1128          127.0.0.1:50330         CLOSE_WAIT  23607/sapstartsrv

tcp        1      0 127.0.0.1:1128          127.0.0.1:64609         CLOSE_WAIT  23607/sapstartsrv

tcp        1      0 10.169.70.7:1128        10.169.70.7:44862       CLOSE_WAIT  23607/sapstartsrv

tcp        1      0 127.0.0.1:1128          127.0.0.1:50965         CLOSE_WAIT  23607/sapstartsrv

Kindly help me to fix it.

Thanks,

Priyanga G

Former Member
0 Kudos

> The parent process is saphostexec child process is sapstartsrv

Not sure that it is true. Can you attach screenshots with <defunct> processes and parent process for these <defunct> processes?

Please update SAP Host Agent binaries to latest PL.

Former Member
0 Kudos

Hi,

See the screenshort,

thanks,

GP

Former Member
0 Kudos

First of all, please update your host agent to latest PL.

Former Member
0 Kudos
Former Member
0 Kudos

Hi all,

My question is why this zombie process is increasing?

root     29884 10726  0 Mar01 ?        00:00:00 [lssap] <defunct>

root     29889 10726  0 Mar01 ?        00:00:00 [sapdbctrl] <defunct>

If there may any issue in sap host agent configuration?

Thanks

Priyanga G

Former Member
0 Kudos

This may be due to bug in the kernel.

what is the kernel version you have? as per the note this issue resolved in 7.20 patch level 97