[toaster] High CPU-Load clamd

2005-08-25 Thread rene marticke

Hi group,

At one of my mailserver something magic happen.
Since 6pm yesterday, the CPU-Load is near 100% constant. So the system 
is very slow.

The Process is the clamd. (I use toaster + simscan + clamd + spamd)
I wonder, that there is no mail  to scan by clamd for eg. 20 Minutes but 
the load don't go down.


Can you give me some hints ?

regards rene



Re: [toaster] High CPU-Load clamd

2005-08-25 Thread Shane Chrisp
On Thu, 2005-08-25 at 11:26 +0200, rene marticke wrote:
 Hi group,
 
 At one of my mailserver something magic happen.
 Since 6pm yesterday, the CPU-Load is near 100% constant. So the system 
 is very slow.
 The Process is the clamd. (I use toaster + simscan + clamd + spamd)
 I wonder, that there is no mail  to scan by clamd for eg. 20 Minutes but 
 the load don't go down.

There was a urgent update of clamd only about a week ago due to the
discovery of what could be a DOS attack on clamd. Maybe this is what
your experiencing.

Shane
-- 
Quick, hire a teenager while they still know everything. --Anonymous



Re: [toaster] High CPU-Load clamd

2005-08-25 Thread rene marticke

Shane Chrisp schrieb:


On Thu, 2005-08-25 at 11:26 +0200, rene marticke wrote:
 


Hi group,

At one of my mailserver something magic happen.
Since 6pm yesterday, the CPU-Load is near 100% constant. So the system 
is very slow.

The Process is the clamd. (I use toaster + simscan + clamd + spamd)
I wonder, that there is no mail  to scan by clamd for eg. 20 Minutes but 
the load don't go down.
   



There was a urgent update of clamd only about a week ago due to the
discovery of what could be a DOS attack on clamd. Maybe this is what
your experiencing.

Shane
 


Tnx for this hint.
Currently i use 0.86.2.
Should i switch to a cvs version ?

rene



[toaster] gmake problems

2005-08-25 Thread Mo Mule

Hi all,

I am helping a friend set up qmail with all the fixings offered by this 
list.


He is running Mandrake 10.1 (3 CD version) with a basic install (with 
URPMI), and high security.


He is stuck on the courier-imap section - specifically with the ./configure 
command after


tar -xjf tar/courier-authlib-0.56.tar.bz2
cd courier-authlib-0.56
./configure

It spits out toward the end:

checking for perl5... /usr/bin/perl5
checking for courier-config... no
then it displays a lot of configure: WARNING: === messages about it thinking 
he is running Redhat.


Trying to run gmake after this will not work.

Any ideas?

Thanks,

Deion Mule Christopher

--Mule was here!--
--Republican Team Leader And Proud Of It!--
http://www.gopteamleader.com/about.asp



Original Message Follows
From: rene marticke [EMAIL PROTECTED]
Reply-To: toaster@shupp.org
To: toaster@shupp.org
Subject: [toaster] High CPU-Load clamd
Date: Thu, 25 Aug 2005 11:26:15 +0200

Hi group,

At one of my mailserver something magic happen.
Since 6pm yesterday, the CPU-Load is near 100% constant. So the system is 
very slow.

The Process is the clamd. (I use toaster + simscan + clamd + spamd)
I wonder, that there is no mail  to scan by clamd for eg. 20 Minutes but the 
load don't go down.


Can you give me some hints ?

regards rene




Re: [toaster] gmake problems

2005-08-25 Thread Bob Hutchinson
On Thursday 25 Aug 2005 15:19, Mo Mule wrote:
 Hi all,

 I am helping a friend set up qmail with all the fixings offered by this
 list.

 He is running Mandrake 10.1 (3 CD version) with a basic install (with
 URPMI), and high security.

 He is stuck on the courier-imap section - specifically with the ./configure
 command after

 tar -xjf tar/courier-authlib-0.56.tar.bz2
 cd courier-authlib-0.56
 ./configure

maybe
./configure --with-redhat


 It spits out toward the end:

 checking for perl5... /usr/bin/perl5
 checking for courier-config... no
 then it displays a lot of configure: WARNING: === messages about it
 thinking he is running Redhat.

 Trying to run gmake after this will not work.

 Any ideas?

 Thanks,

 Deion Mule Christopher

 --Mule was here!--
 --Republican Team Leader And Proud Of It!--
 http://www.gopteamleader.com/about.asp



 Original Message Follows
 From: rene marticke [EMAIL PROTECTED]
 Reply-To: toaster@shupp.org
 To: toaster@shupp.org
 Subject: [toaster] High CPU-Load clamd
 Date: Thu, 25 Aug 2005 11:26:15 +0200

 Hi group,

 At one of my mailserver something magic happen.
 Since 6pm yesterday, the CPU-Load is near 100% constant. So the system is
 very slow.
 The Process is the clamd. (I use toaster + simscan + clamd + spamd)
 I wonder, that there is no mail  to scan by clamd for eg. 20 Minutes but
 the load don't go down.

 Can you give me some hints ?

 regards rene

-- 
-
Bob Hutchinson
Midwales dot com
-


[toaster] How to restart log services when they 'disappear'?

2005-08-25 Thread David
Greetings,

I have a redhat 9 system running a version .77 Shupp toaster. I found a
script which I use with daemontools-handled services which works great for
me; makes things 'feel' like sys-V style. Found it at
http://www.lifewithdjbdns.com/#SysV-style%20init%20script

I would recommend it to other users running daemontools-supervised services;
however I have trouble with the log service scripts (eg.
/service/qmail-pop3d/log/) - they won't come back up after a

]# /etc/init.d/svscan restart

Here is an example session transaction illustrating what I mean:


--

]# ps -ef f

root  1599 1  0 02:19 ?S  0:00 /bin/sh
/command/svscanboot
root  1601  1599  0 02:19 ?S  0:00  \_ svscan /service
root  1603  1601  0 02:19 ?S  0:00  |   \_ supervise
qmail-send
qmails1614  1603  0 02:19 ?S  0:00  |   |   \_ qmail-send
root  1626  1614  0 02:19 ?S  0:00  |   |   \_
qmail-lspawn ./Maildir/
qmailr1627  1614  0 02:19 ?S  0:00  |   |   \_
qmail-rspawn
qmailq1628  1614  0 02:19 ?S  0:00  |   |   \_
qmail-clean
root  1604  1601  0 02:19 ?S  0:00  |   \_ supervise log
qmaill1613  1604  0 02:19 ?S  0:00  |   |   \_
/usr/local/bin/multilog t s500 /var/log/qmail
root  1605  1601  0 02:19 ?S  0:00  |   \_ supervise
qmail-smtpd
vpopmail  1629  1605  0 02:19 ?S  0:00  |   |   \_
/usr/local/bin/tcpserver -v -H -R -l 0 -x /home/vpopmail/etc/tcp.smtp
root  1606  1601  0 02:19 ?S  0:00  |   \_ supervise log
qmaill1630  1606  0 02:19 ?S  0:00  |   |   \_
/usr/local/bin/multilog t /var/log/qmail/smtpd
root  1607  1601  0 02:19 ?S  0:00  |   \_ supervise
qmail-pop3d
vpopmail  1615  1607  0 02:19 ?S  0:00  |   |   \_
/usr/local/bin/tcpserver -l 0 -R -H -v -u89 -g89 0 110 /var/qmail/bin
root  1608  1601  0 02:19 ?S  0:00  |   \_ supervise log
qmaill1698  1608  0 02:21 ?S  0:00  |   |   \_ multilog t
/var/log/qmail/pop3d
root  1609  1601  0 02:19 ?S  0:00  |   \_ supervise
qmail-pop3ds
vpopmail  1617  1609  0 02:19 ?S  0:00  |   |   \_
/usr/local/bin/tcpserver -l 0 -R -H -v -u89 -g89 0 995 /usr/sbin/stun
root  1610  1601  0 02:19 ?S  0:00  |   \_ supervise log
qmaill1633  1610  0 02:19 ?S  0:00  |   |   \_ multilog t
/var/log/qmail/pop3ds
root  1611  1601  0 02:19 ?S  0:00  |   \_ supervise clamd
clamav1631  1611  0 02:19 ?S  0:03  |   |   \_
/usr/local/sbin/clamd
root  1612  1601  0 02:19 ?S  0:00  |   \_ supervise log
clamav1623  1612  0 02:19 ?S  0:00  |   \_
/usr/local/bin/multilog t /var/log/clamd
root  1602  1599  0 02:19 ?S  0:00  \_ readproctitle service
errors: ...

]# svstat /service/qmail-pop3d/log
/service/qmail-pop3d/log: up (pid 1698) 790 seconds
]# svstat /service/qmail-pop3d/log
/service/qmail-pop3d/log: down 10 seconds, normally up
]# svc -u /service/qmail-pop3d/log/
]# svstat /service/qmail-pop3d/log
/service/qmail-pop3d/log: up (pid 2021) 3 seconds
]# service svscan status
svscan (pid 1601) is running...
/service/clamd: up (pid 1631) 1000 seconds
/service/qmail-pop3d: up (pid 1615) 1000 seconds
/service/qmail-pop3ds: up (pid 1617) 1000 seconds
/service/qmail-send: up (pid 1614) 1000 seconds
/service/qmail-smtpd: up (pid 1629) 1000 seconds

...so far so good...


]# service svscan restart
Shutting down svscan:  [  OK  ]
Ending supervision of service clamd:   [  OK  ]
Stopping service clamd:[  OK  ]
Ending supervision of service qmail-pop3d: [  OK  ]
Stopping service qmail-pop3d:  [  OK  ]
Ending supervision of service qmail-pop3ds:[  OK  ]
Stopping service qmail-pop3ds: [  OK  ]
Ending supervision of service qmail-send:  [  OK  ]
Ending supervision of service log qmail-send:  [  OK  ]
Stopping service qmail-send:   [  OK  ]
Stopping service log qmail-send:   [  OK  ]
Ending supervision of service qmail-smtpd: [  OK  ]
Ending supervision of service log qmail-smtpd: [  OK  ]
Stopping service qmail-smtpd:  [  OK  ]
Stopping service log qmail-smtpd:  [  OK  ]
Starting svscan:   [  OK  ]
]# svstat /service/qmail-pop3d
/service/qmail-pop3d: up (pid 2155) 10 seconds
]# svstat /service/qmail-pop3d/log
/service/qmail-pop3d/log: up (pid 2438) 0 seconds

/* ...uh-oh... */

]# ps -ef f

root  1599 1  0 02:19 ?   

Re: [toaster] gmake problems

2005-08-25 Thread Mo Mule
Whenever I type in ./configure --with-redhat I get at the end of the 
printout:


configure: error: Cannot find either the gdbm or the db library.

Running gmake after this says:

gmake: *** No targets specified and no makefile found.  Stop.

Deion Mule Christopher

--Mule was here!--
--Republican Team Leader And Proud Of It!--
http://www.gopteamleader.com/about.asp



Original Message Follows
From: Bob Hutchinson [EMAIL PROTECTED]
Reply-To: toaster@shupp.org
To: toaster@shupp.org
Subject: Re: [toaster] gmake problems
Date: Thu, 25 Aug 2005 16:03:25 +0100

On Thursday 25 Aug 2005 15:19, Mo Mule wrote:
 Hi all,

 I am helping a friend set up qmail with all the fixings offered by this
 list.

 He is running Mandrake 10.1 (3 CD version) with a basic install (with
 URPMI), and high security.

 He is stuck on the courier-imap section - specifically with the 
./configure

 command after

 tar -xjf tar/courier-authlib-0.56.tar.bz2
 cd courier-authlib-0.56
 ./configure

maybe
./configure --with-redhat


 It spits out toward the end:

 checking for perl5... /usr/bin/perl5
 checking for courier-config... no
 then it displays a lot of configure: WARNING: === messages about it
 thinking he is running Redhat.

 Trying to run gmake after this will not work.

 Any ideas?

 Thanks,

 Deion Mule Christopher

 --Mule was here!--
 --Republican Team Leader And Proud Of It!--
 http://www.gopteamleader.com/about.asp







Re: [toaster] gmake problems

2005-08-25 Thread Bill Shupp

Mo Mule wrote:
Whenever I type in ./configure --with-redhat I get at the end of the 
printout:


configure: error: Cannot find either the gdbm or the db library.


You need to install gdbm and gdbm-devel.


Running gmake after this says:

gmake: *** No targets specified and no makefile found.  Stop.


As it should.  If configure fails, there will not be a Makefile.

Regards,

Bill