Google Answers Logo
View Question
 
Q: My script crashes sendmail due to too many open files ( No Answer,   1 Comment )
Question  
Subject: My script crashes sendmail due to too many open files
Category: Computers > Programming
Asked by: lizardnation-ga
List Price: $10.00
Posted: 16 May 2003 15:29 PDT
Expires: 15 Jun 2003 15:29 PDT
Question ID: 204844
Hello,

I'm building a small script which processing incoming and outgoing
transactions via Perl Procmail and stores them in a MySQL DB and sends
out results via e-mail as well.

Traffic can peek to 50 messages per second.  I run them on a small
dedicated server and I still get to the point where I crash sendmail.

I would like to throttle the process not to cause the too many open
files when sendmail processes my outgoing e-mail transactions and
would need good advice on that and surrounding issues.

I'm assuming you'll be fluent in linux admin, sendmail usage and
development in Perl and Procmail.

Thank you.

/Lizardnation
Answer  
There is no answer at this time.

Comments  
Subject: Re: My script crashes sendmail due to too many open files
From: denco-ga on 17 May 2003 21:33 PDT
 
Howdy Lizardnation!

Have you tried running the job under a specific user and then
limiting that user's maxproc or openfiles via their login.conf
file?  Just a thought of a hack!

Looking Forward, denco-ga

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy