Searched refs:pid (Results 1 – 12 of 12) sorted by relevance
| /redis-3.2.3/utils/ |
| H A D | whatisdoing.sh | 12 pid=$(ps auxww | grep '[r]edis-server' | awk '{print $2}') 16 gdb -ex "set pagination 0" -ex "thread apply all bt" -batch -p $pid
|
| H A D | redis_init_script | 10 PIDFILE=/var/run/redis_${REDISPORT}.pid
|
| /redis-3.2.3/src/ |
| H A D | util.c | 501 pid_t pid = getpid(); in getRandomHexChars() local 515 if (l >= sizeof(pid)) { in getRandomHexChars() 516 memcpy(x,&pid,sizeof(pid)); in getRandomHexChars() 517 l -= sizeof(pid); in getRandomHexChars() 518 x += sizeof(pid); in getRandomHexChars()
|
| H A D | sentinel.c | 688 sj->pid = 0; in sentinelScheduleScriptExecution() 723 if ((sj->flags & SENTINEL_SCRIPT_RUNNING) && sj->pid == pid) in sentinelGetScriptListNodeByPid() 743 pid_t pid; in sentinelRunPendingScripts() local 754 pid = fork(); in sentinelRunPendingScripts() 756 if (pid == -1) { in sentinelRunPendingScripts() 763 sj->pid = 0; in sentinelRunPendingScripts() 764 } else if (pid == 0) { in sentinelRunPendingScripts() 771 sj->pid = pid; in sentinelRunPendingScripts() 797 pid_t pid; in sentinelCollectTerminatedScripts() local 823 sj->pid = 0; in sentinelCollectTerminatedScripts() [all …]
|
| H A D | server.c | 326 pid_t pid = getpid(); in serverLogRaw() local 333 } else if (pid != server.pid) { in serverLogRaw() 1184 pid_t pid; in serverCron() local 1186 if ((pid = wait3(&statloc,WNOHANG,NULL)) != 0) { in serverCron() 1192 if (pid == -1) { in serverCron() 1198 } else if (pid == server.rdb_child_pid) { in serverCron() 1200 } else if (pid == server.aof_child_pid) { in serverCron() 1203 if (!ldbRemoveChild(pid)) { in serverCron() 1206 (long)pid); in serverCron() 1863 server.pid = getpid(); in initServer()
|
| H A D | scripting.c | 1679 int ldbRemoveChild(pid_t pid) { in ldbRemoveChild() argument 1680 listNode *ln = listSearchKey(ldb.children,(void*)(unsigned long)pid); in ldbRemoveChild() 1701 pid_t pid = (unsigned long) ln->value; in ldbKillForkedSessions() local 1702 serverLog(LL_WARNING,"Killing debugging session %ld",(long)pid); in ldbKillForkedSessions() 1703 kill(pid,SIGKILL); in ldbKillForkedSessions()
|
| H A D | server.h | 706 pid_t pid; /* Main process pid. */ member 1461 int ldbRemoveChild(pid_t pid);
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | Makefile | 19 pidfile /tmp/hiredis-test-redis.pid 114 ( kill `cat /tmp/hiredis-test-redis.pid` && false ) 115 kill `cat /tmp/hiredis-test-redis.pid`
|
| /redis-3.2.3/tests/assets/ |
| H A D | default.conf | 5 pidfile /var/run/redis.pid
|
| /redis-3.2.3/ |
| H A D | redis.conf | 150 pidfile /var/run/redis_6379.pid
|
| /redis-3.2.3/deps/jemalloc/src/ |
| H A D | prof.c | 1388 int pid = getpid(); in prof_dump_maps() local 1390 mfd = prof_open_maps("/proc/%d/task/%d/maps", pid, pid); in prof_dump_maps() 1392 mfd = prof_open_maps("/proc/%d/maps", pid); in prof_dump_maps()
|
| /redis-3.2.3/deps/jemalloc/bin/ |
| H A D | jeprof.in | 3498 if (my $pid = fork()) {
|