[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] [PATCH] Memory leak in syslogd.
From: |
Mats Erik Andersson |
Subject: |
[bug-inetutils] [PATCH] Memory leak in syslogd. |
Date: |
Sat, 29 Jan 2011 22:50:15 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Dear fellows,
in preparing other changes (port in forward actions, etcetera)
for IU-syslogd, I have discovered that the handling at reload
of configuration, as well as failed implementation of the action
fields, will lead do memory leaks over time.
As this is a touchy business, I ask this patch to be particularly
closely examined as to any ill effects I might have missed.
The changelog entry is surely inappropriate as it stands.
Using the following setup
#!/bin/sh
LOGDCONF=/tmp/logd.conf
cat > $LOGDCONF <<STOP
*.* @localhost
*.* |/dev/null
*.* /tmp/bucket
*.* blind,mice,and,cats
STOP
sudo ./src/syslogd -d --pidfile=/tmp/syslogd.pid -f$LOGDCONF --no-klog
-p/tmp/log $*
## End of script
I have sent USR1 once and HUP twenty times to the process without
detecting a crash or other malfunction.
Best regards as always,
Mats
0001-syslogd-Fix-memory-leaks-related-to-action-fields.patch
Description: Text Data
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-inetutils] [PATCH] Memory leak in syslogd.,
Mats Erik Andersson <=