Bug #293
CPMSRV on RPI at low debug level does not boot client correclty.
Status: | Closed | Start date: | 03/26/2018 | |
---|---|---|---|---|
Priority: | Normal (Code 4) | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - |
Description
:~/endurox/atmitest/test048_cache $ ./10_run_hits.sh
This makes client stop & start, but seems PID is not changed:
ndrxd PID (from PID file): 1248 CACHED/- - running pid 1273 (Mon Mar 26 06:46:29 2018) ndrxd PID (from PID file): 1248 CACHED/- - running pid 1273 (Mon Mar 26 06:46:29 2018) ndrxd PID (from PID file): 1248 Client process CACHED/- stopped Running off client real 0m0.291s user 0m0.040s sys 0m0.040s real 0m0.270s user 0m0.030s sys 0m0.050s real 0m0.280s user 0m0.040s sys 0m0.040s real 0m0.261s user 0m0.040s sys 0m0.020s real 0m0.236s user 0m0.020s sys 0m0.020s real 0m0.238s user 0m0.020s sys 0m0.020s real 0m0.241s user 0m0.020s sys 0m0.020s real 0m0.243s user 0m0.030s sys 0m0.010s real 0m0.245s user 0m0.030s sys 0m0.010s real 0m0.251s user 0m0.030s sys 0m0.010s real 0m0.291s user 0m0.040s sys 0m0.040s ndrxd PID (from PID file): 1248 Process CACHED/- already marked for startup or running... let client to boot... ndrxd PID (from PID file): 1248 CACHED/- - running pid 1273 (Mon Mar 26 06:46:29 2018) wait for tpcached to complete scanning... (every 5 sec) There must be 5 keys ndrxd PID (from PID file): 1248 ND UTC DATE ADDED HITS TY DLEN KEY
History
#1 Updated by Madars about 6 years ago
CPMSRV says:
N:NDRX:3: 1270:76ab4220:000:20180326:064628029:mi/sem.c:0437:sv_open_queue/294912/0: semaphore locked... N:NDRX:3: 1270:76ab4220:000:20180326:064628029:mi/sem.c:0480:sv_open_queue/294912/0 semaphore un-locked N:NDRX:3: 1270:76ab4220:000:20180326:064629030:ltexec.c:0524:*********processing for startup tpcached -i2 ********* N:NDRX:3: 1270:76ab4220:000:20180326:064633183:sation.c:0367:UNLINKING: /dom1,cnv,c,clt,xadmin,1276,0,1,2 0 N:NDRX:3: 1270:76ab4220:000:20180326:064633216:sation.c:0367:UNLINKING: /dom1,cnv,c,clt,xadmin,1277,0,1,2 0 N:NDRX:3: 1270:76ab4220:000:20180326:064633249:ltexec.c:0382:Stopping CACHED/- - tpcached -i2 N:NDRX:3: 1270:76ab4220:000:20180326:064636249:ltexec.c:0418:CACHED/- Did not react on SIGINT, continue with SIGTERM N:NDRX:3: 1270:76ab4220:000:20180326:064639251:ltexec.c:0455:CACHED/- Did not react on SIGTERM, kill with -9 N:NDRX:3: 1270:76ab4220:000:20180326:064642253:ltexec.c:0500:CACHED/- Did not react on SIGKILL, giving up... N:NDRX:3: 1270:76ab4220:000:20180326:064642253:sation.c:0367:UNLINKING: /dom1,cnv,c,clt,xadmin,1278,0,1,2 0 N:NDRX:3: 1270:76ab4220:000:20180326:064645192:sation.c:0367:UNLINKING: /dom1,cnv,c,clt,xadmin,1301,0,1,2 0 N:NDRX:3: 1270:76ab4220:000:20180326:064650262:sation.c:0367:UNLINKING: /dom1,cnv,c,clt,xadmin,1303,0,1,2 0
#2 Updated by Madars about 6 years ago
seems cpmsrv does not process sig chld very quickly... it misses it.
#3 Updated by Madars about 6 years ago
ndrxd PID (from PID file): 1428 CACHED/- - running pid 1453 (Mon Mar 26 06:56:40 2018) ndrxd PID (from PID file): 1428 CACHED/- - running pid 1453 (Mon Mar 26 06:56:40 2018) ndrxd PID (from PID file): 1428 Client process CACHED/- stopped ndrxd PID (from PID file): 1428 CACHED/- - running pid 1453 (Mon Mar 26 06:56:40 2018) Running off client
Reports client stopped, but afterwards it shows that it is still running!
#4 Updated by Madars about 6 years ago
~/endurox/include $ cat ndrx_config.h /*-------------------------------------------------------------------------- * This file is autogenerated from ndrx_config.h.in * during the cmake configuration of your project. If you need to make changes * edit the original file NOT THIS FILE. * --------------------------------------------------------------------------*/ #ifndef _NDRX_CONFIG_H_ #define _NDRX_CONFIG_H_ /* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1 #define HAVE_GETOPT_H 1 #define HAVE_PROGNAME 1 #define HAVE_EXPECT 1 #define HAVE_STRNLEN 1 #define HAVE_SYNC 1 #define HAVE_GETLINE 1 /* #undef HAVE_STRLCPY */ #define EX_USE_EPOLL 1 /* #undef EX_USE_POLL */ /* #undef EX_USE_FDPOLL */ /* #undef EX_USE_KQUEUE */ #define EX_OS_LINUX 1 /* #undef EX_OS_AIX */ /* #undef EX_OS_HPUX */ /* #undef EX_OS_SUNOS */ /* #undef EX_OS_FREEBSD */ /* #undef EX_OS_CYGWIN */ /* #undef EX_OS_DARWIN */ #define EX_LSB_RELEASE_VER 8_0 #define EX_LSB_RELEASE_VER_MAJOR 8 /* #undef EX_LSB_RELEASE_VER_MINOR */ /* Use emulated message queue: */ /* #undef EX_USE_EMQ */ /* Do not use threading model in client proces monitor * for example on AIX 7.2 it causes core dumps... */ /* #undef EX_CPM_NO_THREADS */ /* Defined if pscript is off */ /* #undef NDRX_DISABLEPSCRIPT */ /* Enduro/X memory debugging */ /* #undef NDRX_MEMORY_DEBUG */ /* Object API debug - tracking */ /* #undef NDRX_OAPI_DEBUG */ /* Semaphore API debug - tracking */ /* #undef NDRX_SEM_DEBUG */ /* Use FS based registry for mq */ /* #undef USE_FS_REGISTRY */ /* The size of `long', as computed by sizeof. */ #define SIZEOF_INT 4 #define NDRX_VERSION "Enduro/X 5.3.2" #define NDRX_BUILD_OS_NAME "LINUX" #define NDRX_COMPILER "GNU" #define NDRX_CPUARCH "armv7l"
#5 Updated by Madars about 6 years ago
- Status changed from New to Resolved
#6 Updated by Madars about 6 years ago
- Status changed from Resolved to Closed