Re: [exim] multiple copies of exim4 running

2008-12-11 Thread Gerard Hooton
Correction:
The version is 4.69 from  exim4-daemon-heavy_4.69-9_i386.deb

On 2008-12-10 12:32, Gerard Hooton wrote:
 Hello,
 
 
 I am seeing multiple copies of it running :-
 
 
 scoil:~ ps -elf | grep exim
 5 S 102  10020 1  0  80   0 -  3491 -  09:30 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  10080 10020  0  80   0 -  3493 -  09:34 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  10096 10020  0  80   0 -  3493 -  09:35 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  10098 10020  0  80   0 -  3493 -  09:35 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  10101 10020  0  80   0 -  3493 -  09:35 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11174 10020  0  80   0 -  3493 -  11:35 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11178 10020  0  80   0 -  3493 -  11:36 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11179 10020  0  80   0 -  3493 -  11:37 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11181 10020  0  80   0 -  3493 -  11:37 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11225 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11226 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11227 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11228 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11229 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11234 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11236 10020  0  80   0 -  3493 -  11:45 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11242 10020  0  80   0 -  3493 -  11:45 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11245 10020  0  80   0 -  3493 -  11:46 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 
 
  
 
 
 This is growing over time.
 
 
 System info:
 
 
 OS: Debian Lenny
 
 
 Linux scoil 2.6.26-1-686 #1 SMP Wed Nov 26 19:14:11 UTC 2008 i686 GNU/Linux
 
 
 Exim 4.69 (from  exim4-daemon-heavy_4.63-17_i386.deb)
 
 
  
 
 
 Any help is welcome
 
 
  
 
 
 //Ger
 
 
  
 
 
  
 
 
  
 
 
  
 
 
  
 
 
  
 
 
 --
 Gerard Hooton
 
 
 Systems Administrator
 
 
 Blarney Boy's National School,
 
 
 Blarney.
 
 
 Co. Cork
 
 
 


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-11 Thread Gerard Hooton
This server is handling very low volumes of email
about 10 per hour. My limited understanding of email MTAs 
is that to deliver an email to the server a connection is 
made which spawns an exim process. When complete the connection and 
its process should die. If that is correct, then it looks like that on my 
system the exim process remains after the connection is gone ???

As I say my knowledge in this area is limited, so thanks to everyone for
your patience and understanding.

//Ger



Jeremy Harris [EMAIL PROTECTED] wrote:
 Gerard Hooton wrote:
 I have seen this grow to 100+ is that ok?
 
 That's entirely up to what loading you expect for your system.
 Exim is happy with that level on most current hardware.
 You get a process for each current connection.  As Pete said,
 exiwhat shows you what each one is doing.  The too many
 connections message in the log appears when you go over
 the number you've configured in the exim config file.
 
 - Jeremy
 

--
Gerard Hooton


Systems Administrator


Blarney Boy's National School,


Blarney.


Co. Cork




-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-10 Thread Jeremy Harris
Normal operation.
- Jeremy

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-10 Thread Gerard Hooton
Thanks Jeremy for your reply.
I have seen this grow to 100+ is that ok?
What made me look at this was that I was seen the following in the log file

Connection from [118.176.238.72] refused: too many connections

//Ger


Jeremy Harris [EMAIL PROTECTED] wrote:
 Normal operation.
 - Jeremy
 

--
Gerard Hooton


Systems Administrator


Blarney Boy's National School,


Blarney.


Co. Cork




-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-10 Thread Pete McEvoy
On Wed, Dec 10, 2008 at 01:11:15PM +, Gerard Hooton wrote:
 Thanks Jeremy for your reply.
 I have seen this grow to 100+ is that ok?
 What made me look at this was that I was seen the following in the log file
 
 Connection from [118.176.238.72] refused: too many connections

`exiwhat' is very useful in these circumstances.


-- 
Pete

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-10 Thread Graeme Fowler
On Wed, 2008-12-10 at 13:17 +, Pete McEvoy wrote:
 `exiwhat' is very useful in these circumstances.

[Thinks...]

Would it be useful to all/many/some/nobody to code up a feature
whereby the Exim child processes have something descriptive in their
proccess name, such as:

 2930 ?Ss 4:02 exim -bd -q15m
20045 ?S  0:00  \_ exim -bd -q15m (connection from
192.168.1.1)

Strikes me that would not require *too* much in the way of code, and may
make the output from ps a little more easily understandable.

Hit me if that's a daft idea.

Graeme



-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-10 Thread Nigel Metheringham

On 10 Dec 2008, at 13:31, Graeme Fowler wrote:
 Would it be useful to all/many/some/nobody to code up a feature
 whereby the Exim child processes have something descriptive in their
 proccess name, such as:

 2930 ?Ss 4:02 exim -bd -q15m
 20045 ?S  0:00  \_ exim -bd -q15m (connection from
 192.168.1.1)

 Strikes me that would not require *too* much in the way of code, and  
 may
 make the output from ps a little more easily understandable.


Its doable on some OSes (it certainly used to be quite OS dependant on  
how such stuff was done and how well it would work.  In particular  
some OSes used to require you to pad the initial argv out).


Nigel.
--
[ Nigel Metheringham [EMAIL PROTECTED] ]
[ - Comments in this message are my own and not ITO opinion/policy - ]


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-10 Thread Gerard Hooton
when I do exiwhat I get :-

10020 daemon: -q30m, listening for SMTP on [87.33.113.4]:25

When I do ps -elf |grep exim I get :-
5 S 102  10020 1  0  80   0 -  3491 -  09:30 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  10080 10020  0  80   0 -  3493 -  09:34 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  10096 10020  0  80   0 -  3493 -  09:35 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  10098 10020  0  80   0 -  3493 -  09:35 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  10101 10020  0  80   0 -  3493 -  09:35 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11174 10020  0  80   0 -  3493 -  11:35 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11178 10020  0  80   0 -  3493 -  11:36 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11179 10020  0  80   0 -  3493 -  11:37 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11181 10020  0  80   0 -  3493 -  11:37 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11225 10020  0  80   0 -  3493 -  11:44 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11226 10020  0  80   0 -  3493 -  11:44 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11227 10020  0  80   0 -  3493 -  11:44 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11228 10020  0  80   0 -  3493 -  11:44 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11229 10020  0  80   0 -  3493 -  11:44 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11234 10020  0  80   0 -  3493 -  11:44 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11236 10020  0  80   0 -  3493 -  11:45 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11242 10020  0  80   0 -  3493 -  11:45 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  11245 10020  0  80   0 -  3493 -  11:46 ?00:00:00
/usr/sbin/exim4 -bd -q30m
1 S 102  12503 10020  0  80   0 -  3493 -  13:17 ?00:00:00
/usr/sbin/exim4 -bd -q30m

Which config file do I set the max connections, I have a split config 

//Ger


Jeremy Harris [EMAIL PROTECTED] wrote:
 Gerard Hooton wrote:
 I have seen this grow to 100+ is that ok?
 
 That's entirely up to what loading you expect for your system.
 Exim is happy with that level on most current hardware.
 You get a process for each current connection.  As Pete said,
 exiwhat shows you what each one is doing.  The too many
 connections message in the log appears when you go over
 the number you've configured in the exim config file.
 
 - Jeremy
 

--
Gerard Hooton


Systems Administrator


Blarney Boy's National School,


Blarney.


Co. Cork




-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-10 Thread Jeremy Harris
Gerard Hooton wrote:
 I have seen this grow to 100+ is that ok?

That's entirely up to what loading you expect for your system.
Exim is happy with that level on most current hardware.
You get a process for each current connection.  As Pete said,
exiwhat shows you what each one is doing.  The too many
connections message in the log appears when you go over
the number you've configured in the exim config file.

- Jeremy

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-10 Thread Christopher Chaduka
On Wed, Dec 10, 2008 at 2:32 PM, Gerard Hooton [EMAIL PROTECTED] wrote:
 Hello,


 I am seeing multiple copies of it running :-


 scoil:~ ps -elf | grep exim
 5 S 102  10020 1  0  80   0 -  3491 -  09:30 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  10080 10020  0  80   0 -  3493 -  09:34 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  10096 10020  0  80   0 -  3493 -  09:35 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  10098 10020  0  80   0 -  3493 -  09:35 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  10101 10020  0  80   0 -  3493 -  09:35 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11174 10020  0  80   0 -  3493 -  11:35 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11178 10020  0  80   0 -  3493 -  11:36 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11179 10020  0  80   0 -  3493 -  11:37 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11181 10020  0  80   0 -  3493 -  11:37 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11225 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11226 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11227 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11228 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11229 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11234 10020  0  80   0 -  3493 -  11:44 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11236 10020  0  80   0 -  3493 -  11:45 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11242 10020  0  80   0 -  3493 -  11:45 ?00:00:00
 /usr/sbin/exim4 -bd -q30m
 1 S 102  11245 10020  0  80   0 -  3493 -  11:46 ?00:00:00
 /usr/sbin/exim4 -bd -q30m

Last time I experienced such, my I/O system was buggered, the
controller wasn't functioning properly. The system logfile had entries
referring to the filesystem malfunctioning. This whole thing was also
coupled with high load average figures.

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-10 Thread Marc Sherman
Gerard Hooton wrote:
 
 Which config file do I set the max connections, I have a split config 

That's a question for the debian mailing list. Split config isn't 
supported here.

- Marc


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-10 Thread Yan Seiner
Marc Sherman wrote:
 Gerard Hooton wrote:
   
 Which config file do I set the max connections, I have a split config 
 

 That's a question for the debian mailing list. Split config isn't 
 supported here.
   
Dumb question:  What's a split config?

--Yan

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] multiple copies of exim4 running

2008-12-10 Thread Gerard Hooton
Under Debian you have the option of having the exim config split over a
number of files
in /etc/exim4/conf.d/
Example:
-lrt /etc/exim4/conf.d/
total 9
drwxr-xr-x 2 root root 1024 2008-12-10 15:06 main
drwxr-xr-x 2 root root 2048 2008-12-10 15:06 transport
drwxr-xr-x 2 root root 1024 2008-12-10 15:06 rewrite
drwxr-xr-x 2 root root 1024 2008-12-10 15:06 retry
drwxr-xr-x 2 root root 1024 2008-12-10 15:06 auth
drwxr-xr-x 2 root root 1024 2008-12-10 15:06 acl
drwxr-xr-x 2 root root 2048 2008-12-10 15:06 router


//Ger





Yan Seiner [EMAIL PROTECTED] wrote:
 Marc Sherman wrote:
 Gerard Hooton wrote:
   
 Which config file do I set the max connections, I have a split config 
 

 That's a question for the debian mailing list. Split config isn't 
 supported here.
   
 Dumb question:  What's a split config?
 
 --Yan
 
 -- 
 ## List details at http://lists.exim.org/mailman/listinfo/exim-users 
 ## Exim details at http://www.exim.org/
 ## Please use the Wiki with this list - http://wiki.exim.org/
 

--
Gerard Hooton


Systems Administrator


Blarney Boy's National School,


Blarney.


Co. Cork




-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/