git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d243fca
)
terminate forked slaves
author
Miloš Mulač
<mulac@civ.zcu.cz>
Mon, 26 Mar 2007 15:14:46 +0000
(15:14 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Mon, 26 Mar 2007 15:14:46 +0000
(15:14 +0000)
- prevents unlimited logd processes growth
org.glite.lb.logger/src/logd.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.logger/src/logd.c
b/org.glite.lb.logger/src/logd.c
index
bb1cf67
..
c70435e
100644
(file)
--- a/
org.glite.lb.logger/src/logd.c
+++ b/
org.glite.lb.logger/src/logd.c
@@
-492,6
+492,9
@@
This is LocalLogger, part of Workload Management System in EU DataGrid & EGEE.\n
if (childpid == 0) {
ret = doit(client_fd,cred,prefix,noIPC,noParse);
if (client_fd) close(client_fd);
+ edg_wll_ll_log(LOG_DEBUG,"Exiting.\n",
+ CONNECTION_TIMEOUT);
+ exit(0);
}
if (childpid > 0) {
edg_wll_ll_log(LOG_DEBUG,"Forked a new child with PID %d\n",childpid);