Re: [Mailman-Users] Re: qrunner with over 90% CPU

2003-08-14 Thread Paul H Byerly
Jon Carnes  wrote:

   Both of which are well less than what I have.  What would this do?

For *you* it would make things worse!  So don't change what you have.
 That's what I thought.

   Not yet, but it will be in time as I move more lists.  I am way over
 due for some upgrades and the box no longer covers what I need, so I'm
 looking to move to a new server.  I'm thinking a two HD box running
 C-panel, and I'm looking to run a better MTA than sendmail.

Hmmm, well you could experiment with Postfix now. You might have to mess
with the GID's from the Mailman install, but other than that (which is a
PITA) Postfix is pretty much a drop and insert replacement for Sendmail.
 I have learned that with a chrooted environment nothing is a drop in 
ANYTHING.  I plan to have a good long overlap on the two servers, so I can 
play with the new one and get it right without upsetting any of the paying 
customers!  Unless Postfix could be installed alone side of Sendmail and 
used just for MM.  I've not looked into that, but I have a bad feeling 
about it.

I've googled for the problem and at least two other folks changed MTA's
and the problem went away... No other solutions though.
 Well that is my long term fix.  Thanks.

 Paul 

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Re: qrunner with over 90% CPU

2003-08-14 Thread Jon Carnes
Sorry to pepper you with so many questions... but here are some more...
What do you get when you type:
  cat /proc/sys/fs/file-max
  cat /proc/sys/kernel/threads-max

On one of my well-running RH 9 boxes, I get:

  cat /proc/sys/fs/file-max
26208

  cat /proc/sys/kernel/threads-max
4095

You can adjust these values by becoming root and typing in something like:
  echo 16384  /proc/sys/fs/file-max
  echo 2048  /proc/sys/kernel/threads-max

Note: this is not a recommendation (well it is, but it's not *my* recommendation...)

BTW: I'm guessing that you are not running either NFS or NIS (NIS is a way of sharing 
user information amoung a lot of unix servers)

I also guess that hda1 is your /boot and that hda3 is /

That indicates that your install is using one IDE drive. I hope your
mail traffic is not too high! 

You might want to drop the Open Relay checks for a week and see if that
makes a difference. I'm not sure, but Sendmail may be holding open the
access.db file while it does these checks.

Jon Carnes
==
On Mon, 2003-08-11 at 12:12, Paul H Byerly wrote:
 Jon Carnes wrote:
 Are you running NFS or NIS on the server?
 
   I don't have NFS on the system, so I'd say NIS.
 
   How big are your volumes?
 
 hda1 is 99 Mb with 6 Mb used
 hda3 is 54 Gig with 9 gigs used
 
 
 Are the errors always on trying to open /etc/mail/access.db or do they
 occur for other files as well?
 
   All are /etc/mail/access.db
 
 Finally, what modifications (if any) have you made to Sendmail?
 
   Other than some open relay rejection features, nothing.
 
 
  Paul 
 



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Re: qrunner with over 90% CPU

2003-08-14 Thread Jon Carnes
On Mon, 2003-08-11 at 21:12, Paul H Byerly wrote:
 You can adjust these values by becoming root and typing in something like:
echo 16384  /proc/sys/fs/file-max
echo 2048  /proc/sys/kernel/threads-max
 
 Note: this is not a recommendation (well it is, but it's not *my* 
 recommendation...)
 
   Both of which are well less than what I have.  What would this do?

For *you* it would make things worse!  So don't change what you have.

 I hope your mail traffic is not too high!
 
   Not yet, but it will be in time as I move more lists.  I am way over 
 due for some upgrades and the box no longer covers what I need, so I'm 
 looking to move to a new server.  I'm thinking a two HD box running 
 C-panel, and I'm looking to run a better MTA than sendmail.
 
Hmmm, well you could experiment with Postfix now. You might have to mess
with the GID's from the Mailman install, but other than that (which is a
PITA) Postfix is pretty much a drop and insert replacement for Sendmail.

 You might want to drop the Open Relay checks for a week and see if that
 makes a difference. I'm not sure, but Sendmail may be holding open the
 access.db file while it does these checks.
 
   Could be, but my lists are currently announcement lists that send at 
 a low mail time.  I once let the runaway process go for 15 minutes to see 
 if it would clear, it did not.  The open relay checks cut my mail volume 
 substantially, and I suspect I'd hear from some customers if I stop them.
 

Well my thought, isn't that the checks are continuing on forever.  I'm
thinking that something in the Sendmail install is very time sensitive
and that the Open Relay lookups stretch you beyond that time - holding
open the access.db file (without proper locking). So that when some
other child process from Sendmail attempts to access the access.db, it
is blocked and never cleared by the parent.

I've googled for the problem and at least two other folks changed MTA's
and the problem went away... No other solutions though.

Good Luck - Jon Carnes


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Re: qrunner with over 90% CPU

2003-08-12 Thread Paul H Byerly
Jon Carnes wrote:
Are you running NFS or NIS on the server?
 I don't have NFS on the system, so I'd say NIS.

 How big are your volumes?
hda1 is 99 Mb with 6 Mb used
hda3 is 54 Gig with 9 gigs used

Are the errors always on trying to open /etc/mail/access.db or do they
occur for other files as well?
 All are /etc/mail/access.db

Finally, what modifications (if any) have you made to Sendmail?
 Other than some open relay rejection features, nothing.

 Paul 

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Re: qrunner with over 90% CPU

2003-08-11 Thread Paul H Byerly
Jon Carnes  wrote:
Sorry to pepper you with so many questions..
 Hey, anything that might help.

What do you get when you type:
  cat /proc/sys/fs/file-max
65000

  cat /proc/sys/kernel/threads-max
4086


On one of my well-running RH 9 boxes,
 I'm on 7.1.

 I get:

  cat /proc/sys/fs/file-max
26208
 I'm more than double that.  Is more too many?


  cat /proc/sys/kernel/threads-max
4095
 I'm very close to that.


You can adjust these values by becoming root and typing in something like:
  echo 16384  /proc/sys/fs/file-max
  echo 2048  /proc/sys/kernel/threads-max
Note: this is not a recommendation (well it is, but it's not *my* 
recommendation...)
 Both of which are well less than what I have.  What would this do?

BTW: I'm guessing that you are not running either NFS or NIS (NIS is a way 
of sharing user information amoung a lot of unix servers)
 Sounds right.

I also guess that hda1 is your /boot and that hda3 is /
 Correct

That indicates that your install is using one IDE drive.
 Right again.

I hope your mail traffic is not too high!
 Not yet, but it will be in time as I move more lists.  I am way over 
due for some upgrades and the box no longer covers what I need, so I'm 
looking to move to a new server.  I'm thinking a two HD box running 
C-panel, and I'm looking to run a better MTA than sendmail.

You might want to drop the Open Relay checks for a week and see if that
makes a difference. I'm not sure, but Sendmail may be holding open the
access.db file while it does these checks.
 Could be, but my lists are currently announcement lists that send at 
a low mail time.  I once let the runaway process go for 15 minutes to see 
if it would clear, it did not.  The open relay checks cut my mail volume 
substantially, and I suspect I'd hear from some customers if I stop them.

 Thanks for the help.

 Paul 

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org