Re: [vchkpw] authdaemond Memory Leak?

2007-11-30 Thread Patrick Grimm
Same issue on Gentoo with vpopmail-5.4.16. I searched a few months ago 
and have been scanning the mail lists since then with no mention of a 
bug fix specific to this.


For now I just monitor and use

# /etc/init.d/courier-authlib restart

every so often.

My mail server is not so busy so I can afford to do this. A cron job to 
restart would be easy to implement.


Pat

Matthew Goodman wrote:


Hello,

 

I've noticed that courier-authlib slowly uses up memory over time on 
my Gentoo linux server. Using 2.6.21-gentoo-r4 kernel,  compiler GCC 
4.1.2, glibc 2.5-r4. Using the authvchkpw library, authdaemond usage 
looks like this after about a week:


 

top - 00:42:49 up 22 days, 20:31,  2 users,  load average: 2.08, 2.52, 
2.54


Tasks: 271 total,   2 running, 269 sleeping,   0 stopped,   0 zombie

Mem:   2074712k total,  1966420k used,   108292k free,   134520k buffers

Swap:  1951800k total,  1113692k used,   838108k free,   547588k cached

 

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  
COMMAND  

7885 root  15   0  217m  68m  932 S0  3.4   0:40.84 
/usr/lib/courier/courier-authlib/authdaemond 

 7884 root  15   0  216m  66m  928 S0  3.3   0:39.71 
/usr/lib/courier/courier-authlib/authdaemond 

 7883 root  15   0  208m  66m  928 S0  3.3   0:38.41 
/usr/lib/courier/courier-authlib/authdaemond 

 7886 root  15   0  217m  65m  928 S0  3.2   0:40.57 
/usr/lib/courier/courier-authlib/authdaemond 

 7882 root  15   0  212m  65m  932 S0  3.2   0:38.97 
/usr/lib/courier/courier-authlib/authdaemond 

 


Once I restart the service, usage looks much better:

 

root 14565  0.0  0.0   4644  1132 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14569  0.0  0.0   4688  1340 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14570  0.0  0.0   4644   424 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14571  0.0  0.0   4688  1340 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14572  0.0  0.0   4812  1436 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14573  0.0  0.0   4812  1476 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


 


From /etc/courier/authlib/authdaemonrc:

 


---

authmodulelist="authvchkpw "

daemons="5"

DEFAULTOPTIONS=""

LOGGEROPTS=""



 

There is another post on the courier-users mailing list about this, 
user is also using a Gentoo environment and he was told to post on the 
vchkpw mailing list. Link included for reference:


 


http://readlist.com/lists/lists.sourceforge.net/courier-users/0/3901.html

 


Any input would be greatly appreciated.

 


Matt

 



!DSPAM:47507c6f32003496120983!


Re: [vchkpw] courier maildirfolder files

2007-11-30 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

ISP Lists wrote:
> Matt, thanks for your post, the answer surprises me.  Is there a resource
> you can recommend?  I hadn't anticipated that 'maildirfolder' is a

A resource about Courier-IMAP?  I'm not sure if there are any real technical
documents aside from the source, and what is on courier-mta.org.  My experience
with it comes from hundreds of migrations and conversions where these little
tidbits matter greatly.
- --
/*
Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key ABA26FE7
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFHUHxHYaj0Mauib+cRAklHAJ0c7ljHoN29mr890IWRx4uFKQ8SxACggMzl
XbGIaTf1F1WZDL/Md5kke+Q=
=b2gE
-END PGP SIGNATURE-


Re: [vchkpw] mail forwarding with valias table...

2007-11-30 Thread Cagri Ersen
Tren, thank you mate..
I realy noticed that :)

now i worked.

On Nov 30, 2007 5:28 PM, Tren Blackburn <[EMAIL PROTECTED]> wrote:

>  You forgot the trailing / on Maildir :)
>
> t
>
>
> - Original Message -
> From: Cagri Ersen <[EMAIL PROTECTED]>
> To: vchkpw@inter7.com 
> Sent: Fri Nov 30 07:26:01 2007
> Subject: [vchkpw] mail forwarding with valias table...
>
> Hi,
>
> I have a vpopmail server with mysql intergation.
> and i need to forward a copy of some mails to another e-mail addresses...
>
> i googled this case and found a solution like below.
>
> INSERT INTO valis VALUES('user','domain.com','/dir/to/Maildir');
> INSERT INTO valis VALUES('user','domain.com',' [EMAIL PROTECTED]');
>
> but that didnt work. when i insert that records and then send a test
> e-mail, i seen a error msg in my qmail log file.
>
> @400047502a9d2a4f237c delivery 3: deferral:
> can't_handle_mbox_delivery_for_/usr/home/vpopmail/domains/domain.com/user/Maildir
>
> Any idea ?
>
>
> 
>


!DSPAM:47502e6432005016827685!


Re: [vchkpw] mail forwarding with valias table...

2007-11-30 Thread Remo Mattei
I just use the .qmail file for that. shupp has a patch I believe that
allows you to do that. but I never used it.

My 2 cents.
Remo

Cagri Ersen wrote:
> Hi,
>  
> I have a vpopmail server with mysql intergation.
> and i need to forward a copy of some mails to another e-mail addresses...
>  
> i googled this case and found a solution like below.
>  
> INSERT INTO valis VALUES('user','domain.com
> ','/dir/to/Maildir');
> INSERT INTO valis VALUES('user','domain.com ','
> [EMAIL PROTECTED] ]');
>  
> but that didnt work. when i insert that records and then send a test
> e-mail, i seen a error msg in my qmail log file.
>  
> @400047502a9d2a4f237c delivery 3: deferral:
> can't_handle_mbox_delivery_for_/usr/home/vpopmail/domains/domain.com/user/Maildir
> Any idea ?
>  
> 

!DSPAM:47502c5332003684013890!



Re: [vchkpw] mail forwarding with valias table...

2007-11-30 Thread Tren Blackburn
You forgot the trailing / on Maildir :)

t

- Original Message -
From: Cagri Ersen <[EMAIL PROTECTED]>
To: vchkpw@inter7.com 
Sent: Fri Nov 30 07:26:01 2007
Subject: [vchkpw] mail forwarding with valias table...

Hi, 
 
I have a vpopmail server with mysql intergation.
and i need to forward a copy of some mails to another e-mail addresses...
 
i googled this case and found a solution like below. 
 
INSERT INTO valis VALUES('user','domain.com','/dir/to/Maildir');
INSERT INTO valis VALUES('user','domain.com',' [EMAIL PROTECTED]');
 
but that didnt work. when i insert that records and then send a test e-mail, i 
seen a error msg in my qmail log file.
 
@400047502a9d2a4f237c delivery 3: deferral: 
can't_handle_mbox_delivery_for_/usr/home/vpopmail/domains/domain.com/user/Maildir

Any idea ?
 
 

!DSPAM:47502c1432002864211167!


[vchkpw] mail forwarding with valias table...

2007-11-30 Thread Cagri Ersen
Hi,

I have a vpopmail server with mysql intergation.
and i need to forward a copy of some mails to another e-mail addresses...

i googled this case and found a solution like below.

INSERT INTO valis VALUES('user','domain.com','/dir/to/Maildir');
INSERT INTO valis VALUES('user','domain.com','[EMAIL PROTECTED]');

but that didnt work. when i insert that records and then send a test e-mail,
i seen a error msg in my qmail log file.

@400047502a9d2a4f237c delivery 3: deferral:
can't_handle_mbox_delivery_for_/usr/home/vpopmail/domains/domain.com/user/Maildir
Any idea ?


!DSPAM:47502b8f32005717056605!


Re: [vchkpw] authdaemond Memory Leak?

2007-11-30 Thread Steve Cole

Rick Widmer wrote:
The only thing that says "memory leak" is in 5.4.18.  There are many 
bug fixes, and a few new features in 5.4.25, the current stable 
version.  If you are using vpopmaild you would want 5.4.26 the current 
dev release. If you are on solaris, there is a fix that is only in 
5.4.27 which is only available from CVS.
I would not suggest 5.4.25, 5.4.23 is the last version which seems to be 
stable.  *.25 has a mail quota bug confirmed by a number of us, I went 
back to *.23 and no longer have the issue, by way of confirmation.


!DSPAM:4750217032002890015292!



Re: [vchkpw] authdaemond Memory Leak?

2007-11-30 Thread Rick Widmer



Matthew Goodman wrote:

Thanks, I am using Vpopmail 5.4.18. Was the fix after that release?


The only thing that says "memory leak" is in 5.4.18.  There are many bug 
fixes, and a few new features in 5.4.25, the current stable version.  If 
you are using vpopmaild you would want 5.4.26 the current dev release. 
If you are on solaris, there is a fix that is only in 5.4.27 which is 
only available from CVS.


I wish I could say upgrading will fix the problem, but vpopmail was 
never designed to run as a daemon.  I'm not sure there is an easy fix 
other than more careful design on version 6.  I'm afraid I don't have a 
lot of time for vpopmail right now, but if someone can come up with a 
patch, I'll gladly add it and put out a new release.  (Patches against 
.25, .26 or CVS only, please.)



Rick

!DSPAM:474ffd8532003114249941!



Re: [vchkpw] authdaemond Memory Leak?

2007-11-30 Thread tonix (Antonio Nati)
5.4.18 should be fine. Did you rebuild courier-authdaemon after 
installing 5.4.18?


See more on http://www.mail-archive.com/vchkpw@inter7.com/msg24203.html

Ciao,

Tonino

Matthew Goodman ha scritto:


Thanks, I am using Vpopmail 5.4.18. Was the fix after that release?

 


Matt

 


*From:* tonix (Antonio Nati) [mailto:[EMAIL PROTECTED]
*Sent:* Friday, November 30, 2007 1:03 AM
*To:* vchkpw@inter7.com
*Subject:* Re: [vchkpw] authdaemond Memory Leak?

 


There was a memory problem in an old version of vpopmail library.
It was related to usage of vlimits in MySQL.
Check within mailing list for such information.
You have to ugrade/fix, then recompile vpomail and courier-authdaemon.

Ciao,

Tonino

Matthew Goodman ha scritto:

Hello,

 

I've noticed that courier-authlib slowly uses up memory over time on 
my Gentoo linux server. Using 2.6.21-gentoo-r4 kernel,  compiler GCC 
4.1.2, glibc 2.5-r4. Using the authvchkpw library, authdaemond usage 
looks like this after about a week:


 

top - 00:42:49 up 22 days, 20:31,  2 users,  load average: 2.08, 2.52, 
2.54


Tasks: 271 total,   2 running, 269 sleeping,   0 stopped,   0 zombie

Mem:   2074712k total,  1966420k used,   108292k free,   134520k buffers

Swap:  1951800k total,  1113692k used,   838108k free,   547588k cached

 

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  
COMMAND  

7885 root  15   0  217m  68m  932 S0  3.4   0:40.84 
/usr/lib/courier/courier-authlib/authdaemond 

 7884 root  15   0  216m  66m  928 S0  3.3   0:39.71 
/usr/lib/courier/courier-authlib/authdaemond 

 7883 root  15   0  208m  66m  928 S0  3.3   0:38.41 
/usr/lib/courier/courier-authlib/authdaemond 

 7886 root  15   0  217m  65m  928 S0  3.2   0:40.57 
/usr/lib/courier/courier-authlib/authdaemond 

 7882 root  15   0  212m  65m  932 S0  3.2   0:38.97 
/usr/lib/courier/courier-authlib/authdaemond 

 


Once I restart the service, usage looks much better:

 

root 14565  0.0  0.0   4644  1132 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14569  0.0  0.0   4688  1340 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14570  0.0  0.0   4644   424 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14571  0.0  0.0   4688  1340 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14572  0.0  0.0   4812  1436 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14573  0.0  0.0   4812  1476 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


 


From /etc/courier/authlib/authdaemonrc:

 


---

authmodulelist="authvchkpw "

daemons="5"

DEFAULTOPTIONS=""

LOGGEROPTS=""



 

There is another post on the courier-users mailing list about this, 
user is also using a Gentoo environment and he was told to post on the 
vchkpw mailing list. Link included for reference:


 


http://readlist.com/lists/lists.sourceforge.net/courier-users/0/3901.html

 


Any input would be greatly appreciated.

 


Matt




--

[EMAIL PROTECTED]Interazioni di Antonio Nati 
   http://www.interazioni.it  [EMAIL PROTECTED]    



 



--

   [EMAIL PROTECTED]Interazioni di Antonio Nati 
  http://www.interazioni.it  [EMAIL PROTECTED]   





!DSPAM:474ffd1832009299229059!


Re: [vchkpw] vpopmaild use 99% of CPU

2007-11-30 Thread Boris Pavlov

Alessio Cecchi wrote:

Il Friday 30 November 2007 11:18:48 Boris Pavlov ha scritto:

imap?


what you mean?



skip it, sorry, my mistake.

!DSPAM:474ff8c932001749358807!



RE: [vchkpw] authdaemond Memory Leak?

2007-11-30 Thread Matthew Goodman
Thanks, I am using Vpopmail 5.4.18. Was the fix after that release? 

 

Matt

 

From: tonix (Antonio Nati) [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 30, 2007 1:03 AM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] authdaemond Memory Leak?

 

There was a memory problem in an old version of vpopmail library.
It was related to usage of vlimits in MySQL.
Check within mailing list for such information.
You have to ugrade/fix, then recompile vpomail and courier-authdaemon.

Ciao,

Tonino

Matthew Goodman ha scritto: 

Hello,

 

I've noticed that courier-authlib slowly uses up memory over time on my
Gentoo linux server. Using 2.6.21-gentoo-r4 kernel,  compiler GCC 4.1.2,
glibc 2.5-r4. Using the authvchkpw library, authdaemond usage looks like
this after about a week:

 

top - 00:42:49 up 22 days, 20:31,  2 users,  load average: 2.08, 2.52, 2.54

Tasks: 271 total,   2 running, 269 sleeping,   0 stopped,   0 zombie

Mem:   2074712k total,  1966420k used,   108292k free,   134520k buffers

Swap:  1951800k total,  1113692k used,   838108k free,   547588k cached

 

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND


7885 root  15   0  217m  68m  932 S0  3.4   0:40.84
/usr/lib/courier/courier-authlib/authdaemond  

 7884 root  15   0  216m  66m  928 S0  3.3   0:39.71
/usr/lib/courier/courier-authlib/authdaemond  

 7883 root  15   0  208m  66m  928 S0  3.3   0:38.41
/usr/lib/courier/courier-authlib/authdaemond  

 7886 root  15   0  217m  65m  928 S0  3.2   0:40.57
/usr/lib/courier/courier-authlib/authdaemond  

 7882 root  15   0  212m  65m  932 S0  3.2   0:38.97
/usr/lib/courier/courier-authlib/authdaemond  

 

Once I restart the service, usage looks much better:

 

root 14565  0.0  0.0   4644  1132 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

root 14569  0.0  0.0   4688  1340 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

root 14570  0.0  0.0   4644   424 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

root 14571  0.0  0.0   4688  1340 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

root 14572  0.0  0.0   4812  1436 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

root 14573  0.0  0.0   4812  1476 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

 

>From /etc/courier/authlib/authdaemonrc:

 

---

authmodulelist="authvchkpw "

daemons="5"

DEFAULTOPTIONS=""

LOGGEROPTS=""



 

There is another post on the courier-users mailing list about this, user is
also using a Gentoo environment and he was told to post on the vchkpw
mailing list. Link included for reference:

 

http://readlist.com/lists/lists.sourceforge.net/courier-users/0/3901.html

 

Any input would be greatly appreciated.

 

Matt






-- 

[EMAIL PROTECTED]Interazioni di Antonio Nati 
   http://www.interazioni.it  [EMAIL PROTECTED]   


 



!DSPAM:474ff30032002235560276!


Re: [vchkpw] vpopmaild use 99% of CPU

2007-11-30 Thread Rick Widmer



Alessio Cecchi wrote:

Hello all,

i'm using vpopmaild to manage some domains (add_user, add_alias ...) with a 
simply php script run on a remote web service.





@4000474fd7970d4bc924 30689 < login [EMAIL PROTECTED] XXX
@4000474fd7970daf1704 30689 > +OK M
@4000474fd7970db6102c 30689 <
@4000474fd7970db617fc 30689 < add_user [EMAIL PROTECTED] XM
@4000474fd7970dc8483c 30689 > +OK+M
@4000474fd7970dc8bd6c 30689 > vpopmail_dir /home/vpopmailM
@4000474fd7970dc92eb4 30689 > 
domain_dir /home/vpopmail/domains/circoli.itM

@4000474fd7970dc99444 30689 > uid 89M
@4000474fd7970dca0974 30689 > gid 89M





@4000474fd7970dd2bc04 30689 > no_spamassassin 0M
@4000474fd7970dd32194 30689 > delete_spam 0M
@4000474fd7970dd38724 30689 > no_maildrop 0M
@4000474fd7970dd3f09c 30689 > system_admin_privileges 0M
@4000474fd7970dd56b84 30689 > .M
@4000474fd7970e4b1884 30689 < [EOF]
@4000474fd7970f781f04 30689 > -ERR 0.305 Username existsM
@4000474fd7f825dfafb4 tcpserver: status: 2/10



Are you waiting for vpopmaild's responses?  It looks to me as if you are 
just sending commands down the pipe, without waiting for responses, or 
checking for errors.  The recordio run should look like this:


> +OK  --   Once connected wait for +OK
< login [EMAIL PROTECTED] XXX
> +OK+ --   Login OK, multi line response is coming
> vpopmail_dir /home/vpopmail
> domain_dir /home/vpopmail/domains/circoli.it
> uid 89
> gid 89



> no_spamassassin 0
> delete_spam 0
> no_maildrop 0
> system_admin_privileges 0
> .   --  Read lines of response until single . on line
< add_user [EMAIL PROTECTED] X   --   send for next command
> -ERR 0.305 Username existsM -- last command was error, ready for next
< quit--  send the quit commnad
> +OK --  now it is safe to close the connection

Also, if you don't care about the user information returned by login, 
you should use slogin (silent-login).


It may be a while before I find time to fix this within the daemon.  (I 
got slammed by two 'need it yesterday' projects at the same time.)  I 
admit it should not be possible to lock it up this way, but you are way 
out of spec on following the protocol.  Please either expand your code 
to accept what you are sent, or use one of the following libraries:


Bill Shupp's NET_Vpopmaild has been accepted as a part of PEAR.  You can 
find it here:


  http://pear.php.net/package/Net_Vpopmaild

If that is too complex, you might want to look at my original at:

   http://pmailadmin.sourceforge.net/vpopmaild-php.php

The code itself is available on the SourceForge pMailAdmin project.

This is much simpler, and is what Bill's project is based on.  There are 
a few bug fixes that need to be ported back to my code, so if you can 
handle using a PEAR module that is probably best.


Rick



!DSPAM:474fef5032006323851287!



Re: [vchkpw] authdaemond Memory Leak?

2007-11-30 Thread tonix (Antonio Nati)

There was a memory problem in an old version of vpopmail library.
It was related to usage of vlimits in MySQL.
Check within mailing list for such information.
You have to ugrade/fix, then recompile vpomail and courier-authdaemon.

Ciao,

Tonino

Matthew Goodman ha scritto:


Hello,

 

I've noticed that courier-authlib slowly uses up memory over time on 
my Gentoo linux server. Using 2.6.21-gentoo-r4 kernel,  compiler GCC 
4.1.2, glibc 2.5-r4. Using the authvchkpw library, authdaemond usage 
looks like this after about a week:


 

top - 00:42:49 up 22 days, 20:31,  2 users,  load average: 2.08, 2.52, 
2.54


Tasks: 271 total,   2 running, 269 sleeping,   0 stopped,   0 zombie

Mem:   2074712k total,  1966420k used,   108292k free,   134520k buffers

Swap:  1951800k total,  1113692k used,   838108k free,   547588k cached

 

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  
COMMAND  

7885 root  15   0  217m  68m  932 S0  3.4   0:40.84 
/usr/lib/courier/courier-authlib/authdaemond 

 7884 root  15   0  216m  66m  928 S0  3.3   0:39.71 
/usr/lib/courier/courier-authlib/authdaemond 

 7883 root  15   0  208m  66m  928 S0  3.3   0:38.41 
/usr/lib/courier/courier-authlib/authdaemond 

 7886 root  15   0  217m  65m  928 S0  3.2   0:40.57 
/usr/lib/courier/courier-authlib/authdaemond 

 7882 root  15   0  212m  65m  932 S0  3.2   0:38.97 
/usr/lib/courier/courier-authlib/authdaemond 

 


Once I restart the service, usage looks much better:

 

root 14565  0.0  0.0   4644  1132 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14569  0.0  0.0   4688  1340 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14570  0.0  0.0   4644   424 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14571  0.0  0.0   4688  1340 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14572  0.0  0.0   4812  1436 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


root 14573  0.0  0.0   4812  1476 ?S00:43   0:00 
/usr/lib/courier/courier-authlib/authdaemond


 


From /etc/courier/authlib/authdaemonrc:

 


---

authmodulelist="authvchkpw "

daemons="5"

DEFAULTOPTIONS=""

LOGGEROPTS=""



 

There is another post on the courier-users mailing list about this, 
user is also using a Gentoo environment and he was told to post on the 
vchkpw mailing list. Link included for reference:


 


http://readlist.com/lists/lists.sourceforge.net/courier-users/0/3901.html

 


Any input would be greatly appreciated.

 


Matt

 



--

   [EMAIL PROTECTED]Interazioni di Antonio Nati 
  http://www.interazioni.it  [EMAIL PROTECTED]   





!DSPAM:474feded32001983814615!


[vchkpw] authdaemond Memory Leak?

2007-11-30 Thread Matthew Goodman
Hello,

 

I've noticed that courier-authlib slowly uses up memory over time on my
Gentoo linux server. Using 2.6.21-gentoo-r4 kernel,  compiler GCC 4.1.2,
glibc 2.5-r4. Using the authvchkpw library, authdaemond usage looks like
this after about a week:

 

top - 00:42:49 up 22 days, 20:31,  2 users,  load average: 2.08, 2.52, 2.54

Tasks: 271 total,   2 running, 269 sleeping,   0 stopped,   0 zombie

Mem:   2074712k total,  1966420k used,   108292k free,   134520k buffers

Swap:  1951800k total,  1113692k used,   838108k free,   547588k cached

 

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND


7885 root  15   0  217m  68m  932 S0  3.4   0:40.84
/usr/lib/courier/courier-authlib/authdaemond  

 7884 root  15   0  216m  66m  928 S0  3.3   0:39.71
/usr/lib/courier/courier-authlib/authdaemond  

 7883 root  15   0  208m  66m  928 S0  3.3   0:38.41
/usr/lib/courier/courier-authlib/authdaemond  

 7886 root  15   0  217m  65m  928 S0  3.2   0:40.57
/usr/lib/courier/courier-authlib/authdaemond  

 7882 root  15   0  212m  65m  932 S0  3.2   0:38.97
/usr/lib/courier/courier-authlib/authdaemond  

 

Once I restart the service, usage looks much better:

 

root 14565  0.0  0.0   4644  1132 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

root 14569  0.0  0.0   4688  1340 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

root 14570  0.0  0.0   4644   424 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

root 14571  0.0  0.0   4688  1340 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

root 14572  0.0  0.0   4812  1436 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

root 14573  0.0  0.0   4812  1476 ?S00:43   0:00
/usr/lib/courier/courier-authlib/authdaemond

 

>From /etc/courier/authlib/authdaemonrc:

 

---

authmodulelist="authvchkpw "

daemons="5"

DEFAULTOPTIONS=""

LOGGEROPTS=""



 

There is another post on the courier-users mailing list about this, user is
also using a Gentoo environment and he was told to post on the vchkpw
mailing list. Link included for reference:

 

http://readlist.com/lists/lists.sourceforge.net/courier-users/0/3901.html

 

Any input would be greatly appreciated.

 

Matt



!DSPAM:474fec5f32002133118457!


Re: [vchkpw] vpopmaild use 99% of CPU

2007-11-30 Thread Alessio Cecchi
Il Friday 30 November 2007 11:18:48 Boris Pavlov ha scritto:
> imap?

what you mean?

-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it

!DSPAM:474febb032001375351866!



Re: [vchkpw] vpopmaild use 99% of CPU

2007-11-30 Thread Boris Pavlov

imap?

Alessio Cecchi wrote:

Hello all,

i'm using vpopmaild to manage some domains (add_user, add_alias ...) with a 
simply php script run on a remote web service.


Many time vpopmaild after some command remains to use all CPU TIME as long as 
I kill vpopmaild process:


PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
30689 root  20   0  1012 1012  768 R 97.1  0.1   3:20.21 vpopmaild


With recordio i registered tha last command after which vpopmaild go 
into "loop":


@4000474fd7970d197e24 tcpserver: status: 1/10
@4000474fd7970d1c7fac tcpserver: pid 30689 from 212.35.215.144
@4000474fd7970d1db05c tcpserver: ok 30689 
0:63.149.200.5:89 :212.35.215.144::47632

@4000474fd7970d4bc924 30689 < login [EMAIL PROTECTED] XXX
@4000474fd7970daf1704 30689 > +OK M
@4000474fd7970db6102c 30689 <
@4000474fd7970db617fc 30689 < add_user [EMAIL PROTECTED] XM
@4000474fd7970dc8483c 30689 > +OK+M
@4000474fd7970dc8bd6c 30689 > vpopmail_dir /home/vpopmailM
@4000474fd7970dc92eb4 30689 > 
domain_dir /home/vpopmail/domains/circoli.itM

@4000474fd7970dc99444 30689 > uid 89M
@4000474fd7970dca0974 30689 > gid 89M
@4000474fd7970dcaff8c 30689 > name postmasterM
@4000474fd7970dcb075c 30689 > comment PostmasterM
@4000474fd7970dcb4dac 30689 > quota 52428800SM
@4000474fd7970dcbc2dc 30689 > 
user_dir /home/vpopmail/domains/circoli.it/postmasterM
@4000474fd7970dcc2c54 30689 > encrypted_password 
$1$xfoW4Kfg$..A0M

@4000474fd7970dcc99b4 30689 > clear_text_password XXXM
@4000474fd7970dcd032c 30689 > no_password_change 0M
@4000474fd7970dcd6ca4 30689 > no_pop 0M
@4000474fd7970dcdda04 30689 > no_webmail 0M
@4000474fd7970dce3f94 30689 > no_imap 0M
@4000474fd7970dcea524 30689 > bounce_mail 0M
@4000474fd7970dcf0e9c 30689 > no_relay 0M
@4000474fd7970dcf7814 30689 > no_dialup 0M
@4000474fd7970dcfe18c 30689 > user_flag_0 0M
@4000474fd7970dd0471c 30689 > user_flag_1 0M
@4000474fd7970dd0acac 30689 > user_flag_2 0M
@4000474fd7970dd11a0c 30689 > user_flag_3 0M
@4000474fd7970dd17f9c 30689 > no_smtp 0M
@4000474fd7970dd1e914 30689 > domain_admin_privileges 1M
@4000474fd7970dd2528c 30689 > override_domain_limits 0M
@4000474fd7970dd2bc04 30689 > no_spamassassin 0M
@4000474fd7970dd32194 30689 > delete_spam 0M
@4000474fd7970dd38724 30689 > no_maildrop 0M
@4000474fd7970dd3f09c 30689 > system_admin_privileges 0M
@4000474fd7970dd56b84 30689 > .M
@4000474fd7970e4b1884 30689 < [EOF]
@4000474fd7970f781f04 30689 > -ERR 0.305 Username existsM
@4000474fd7f825dfafb4 tcpserver: status: 2/10

After this vpopmaild stay in an infinite "loop" using all CPU Time :(

Thanks



!DSPAM:474fe39632002125924037!



[vchkpw] vpopmaild use 99% of CPU

2007-11-30 Thread Alessio Cecchi
Hello all,

i'm using vpopmaild to manage some domains (add_user, add_alias ...) with a 
simply php script run on a remote web service.

Many time vpopmaild after some command remains to use all CPU TIME as long as 
I kill vpopmaild process:

PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
30689 root  20   0  1012 1012  768 R 97.1  0.1   3:20.21 vpopmaild


With recordio i registered tha last command after which vpopmaild go 
into "loop":

@4000474fd7970d197e24 tcpserver: status: 1/10
@4000474fd7970d1c7fac tcpserver: pid 30689 from 212.35.215.144
@4000474fd7970d1db05c tcpserver: ok 30689 
0:63.149.200.5:89 :212.35.215.144::47632
@4000474fd7970d4bc924 30689 < login [EMAIL PROTECTED] XXX
@4000474fd7970daf1704 30689 > +OK M
@4000474fd7970db6102c 30689 <
@4000474fd7970db617fc 30689 < add_user [EMAIL PROTECTED] XM
@4000474fd7970dc8483c 30689 > +OK+M
@4000474fd7970dc8bd6c 30689 > vpopmail_dir /home/vpopmailM
@4000474fd7970dc92eb4 30689 > 
domain_dir /home/vpopmail/domains/circoli.itM
@4000474fd7970dc99444 30689 > uid 89M
@4000474fd7970dca0974 30689 > gid 89M
@4000474fd7970dcaff8c 30689 > name postmasterM
@4000474fd7970dcb075c 30689 > comment PostmasterM
@4000474fd7970dcb4dac 30689 > quota 52428800SM
@4000474fd7970dcbc2dc 30689 > 
user_dir /home/vpopmail/domains/circoli.it/postmasterM
@4000474fd7970dcc2c54 30689 > encrypted_password 
$1$xfoW4Kfg$..A0M
@4000474fd7970dcc99b4 30689 > clear_text_password XXXM
@4000474fd7970dcd032c 30689 > no_password_change 0M
@4000474fd7970dcd6ca4 30689 > no_pop 0M
@4000474fd7970dcdda04 30689 > no_webmail 0M
@4000474fd7970dce3f94 30689 > no_imap 0M
@4000474fd7970dcea524 30689 > bounce_mail 0M
@4000474fd7970dcf0e9c 30689 > no_relay 0M
@4000474fd7970dcf7814 30689 > no_dialup 0M
@4000474fd7970dcfe18c 30689 > user_flag_0 0M
@4000474fd7970dd0471c 30689 > user_flag_1 0M
@4000474fd7970dd0acac 30689 > user_flag_2 0M
@4000474fd7970dd11a0c 30689 > user_flag_3 0M
@4000474fd7970dd17f9c 30689 > no_smtp 0M
@4000474fd7970dd1e914 30689 > domain_admin_privileges 1M
@4000474fd7970dd2528c 30689 > override_domain_limits 0M
@4000474fd7970dd2bc04 30689 > no_spamassassin 0M
@4000474fd7970dd32194 30689 > delete_spam 0M
@4000474fd7970dd38724 30689 > no_maildrop 0M
@4000474fd7970dd3f09c 30689 > system_admin_privileges 0M
@4000474fd7970dd56b84 30689 > .M
@4000474fd7970e4b1884 30689 < [EOF]
@4000474fd7970f781f04 30689 > -ERR 0.305 Username existsM
@4000474fd7f825dfafb4 tcpserver: status: 2/10

After this vpopmaild stay in an infinite "loop" using all CPU Time :(

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it

!DSPAM:474fd9e732007209068805!