Current time: 05-19-2024, 10:12 AM Hello There, Guest! (LoginRegister)


Post Reply 
authlib/authdaemond zuviele Prozesse
Author Message
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #1
authlib/authdaemond zuviele Prozesse
/usr/lib/courier/courier-authlib/authdaemond produziert bei mir ziemlich viele Prozesse ...

Wie kann ich das am besten in den Griff bekommen?

Ich dachte an einen Cronjob jede Stunde:
Code:
killall authdaemond

Gibts noch eine bessere Lösung?

Debian 4.0
(This post was last modified: 11-09-2007 01:47 AM by fulltilt.)
11-09-2007 01:47 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: authlib/authdaemond zuviele Prozesse
Schon mal an eine umstellung auf Dovecot überlegt ?

Greez BeNe
11-09-2007 01:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #3
RE: authlib/authdaemond zuviele Prozesse
Vielleicht liegt es an dem in der Installationsanleitung beschriebenen Problem:

Quote:10. There is an error in some courier-versions. Courier won't stop, if you use
/etc/init.d/courier-authdaemon stop, so change it:
# nano /etc/ini.d/courier-authdaemon

change: ${libexecdir}/authlib/authdaemon stop
with: killall authdaemond.plain
11-09-2007 01:54 AM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #4
RE: authlib/authdaemond zuviele Prozesse
Hallo BeNe,

Danke schau mir das mal an ...
momentan ist es etwas knapp mit der Zeit ... ist das viel Action die Umstellung auf Dovecot?
Hab auch noch amavis und SSL in Betrieb ...

BeNe Wrote:Schon mal an eine umstellung auf Dovecot überlegt ?

Greez BeNe
11-09-2007 01:57 AM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #5
RE: authlib/authdaemond zuviele Prozesse
Sieht bei mir etwas anders aus:

Code:
#! /bin/sh -e

prefix="/usr"
exec_prefix=${prefix}
sysconfdir="/etc/courier"
sbindir="${exec_prefix}/sbin"
daemonscript="${sbindir}/authdaemond"

. /lib/lsb/init-functions

# Check for a leftover init script
if [ ! -x $daemonscript ]; then
    exit 0
fi

case "$1" in
start)
    # Start daemon.
    cd /
    log_daemon_msg "Starting Courier authentication services" "authdaemond"
    $daemonscript start
    log_end_msg 0
    ;;
stop)
    # Stop daemon.
    cd /
    log_daemon_msg "Stopping Courier authentication services" "authdaemond"
    $daemonscript stop
    log_end_msg 0
    ;;
restart|reload|force-reload)
    $0 stop
    $0 start
    ;;
*)
    echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2
    exit 2
    ;;
esac
exit 0


Cube Wrote:Vielleicht liegt es an dem in der Installationsanleitung beschriebenen Problem:

Quote:10. There is an error in some courier-versions. Courier won't stop, if you use
/etc/init.d/courier-authdaemon stop, so change it:
# nano /etc/ini.d/courier-authdaemon

change: ${libexecdir}/authlib/authdaemon stop
with: killall authdaemond.plain
11-09-2007 02:00 AM
Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #6
RE: authlib/authdaemond zuviele Prozesse
Die Anleitung bezieht sich scheinbar auf Debian Sarge. Da hatte ich auch dieses Problem und konnte es auf die genannte Weise lösen.
Dein Skript schaut aber nach Debian Etch aus, wo es die auszutauschende Zeile nicht mehr gibt. Bei mir funktioniert Courier da auch problemlos. Du kannst ja trotzdem versuchen $daemonscript stop mit killall authdaemond.plain zu ersetzen.
Wieviele Prozesse werden denn da bei dir eigentlich erzeugt?
11-09-2007 02:13 AM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #7
RE: authlib/authdaemond zuviele Prozesse
Danke :-)

werde ich mal versuchen.
Habe heute ca. 10 neue Konten angelegt und jede Menge Kunden die dann wieder neue Mailadressen angelegt oder geändert haben ...
das waren ca. 100 bis 200 Prozesse ...
Die Maschine packt das zwar noch gut - aber muss ja nicht sein. Vor allem wenn es wirklich mal eng wird.

Cube Wrote:Die Anleitung bezieht sich scheinbar auf Debian Sarge. Da hatte ich auch dieses Problem und konnte es auf die genannte Weise lösen.
Dein Skript schaut aber nach Debian Etch aus, wo es die auszutauschende Zeile nicht mehr gibt. Bei mir funktioniert Courier da auch problemlos. Du kannst ja trotzdem versuchen $daemonscript stop mit killall authdaemond.plain zu ersetzen.
Wieviele Prozesse werden denn da bei dir eigentlich erzeugt?
11-09-2007 02:54 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #8
RE: authlib/authdaemond zuviele Prozesse
Also das mit Dovecot ist echt kein großes Ding.
rbtux hat dafür eine super Anleitung ins Wiki gestellt.
Ich bin sehr zufrieden damit und will kein courier mehr einsetzen müssen Wink

Greez BeNe
11-09-2007 03:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)