18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Too may open files
Hi,
Sometimes I see an error message on the console output for Sahi proxy
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
This happens during test execution when I run our test suite on my local Linux box.
A variant of this is happens as part of our Hudson continuous integration ....
Total time: 4 seconds
Archiving artifacts
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /home/hudson/workspace/overnight-rhq-4.0/automatjon/jon/sahi/test-output/html to /home/hudson/.hudson/jobs/overnight-rhq-4.0/builds/2011-07-04_22-10-51/htmlreports/TestNG_Report
ERROR: Specified HTML directory '/home/hudson/workspace/overnight-rhq-4.0/automatjon/jon/sahi/test-output/html' does not exist.
Sending e-mails to: dgao@redhat.com mfoley@redhat.com ckannan@redhat.com
ERROR: Could not connect to SMTP host: localhost, port: 25
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.SocketException: Too many open files
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)
This blocks a notification email from being sent ....
Any ideas?
Regards,
Michael Foley
Sometimes I see an error message on the console output for Sahi proxy
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
This happens during test execution when I run our test suite on my local Linux box.
A variant of this is happens as part of our Hudson continuous integration ....
Total time: 4 seconds
Archiving artifacts
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /home/hudson/workspace/overnight-rhq-4.0/automatjon/jon/sahi/test-output/html to /home/hudson/.hudson/jobs/overnight-rhq-4.0/builds/2011-07-04_22-10-51/htmlreports/TestNG_Report
ERROR: Specified HTML directory '/home/hudson/workspace/overnight-rhq-4.0/automatjon/jon/sahi/test-output/html' does not exist.
Sending e-mails to: dgao@redhat.com mfoley@redhat.com ckannan@redhat.com
ERROR: Could not connect to SMTP host: localhost, port: 25
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.SocketException: Too many open files
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)
This blocks a notification email from being sent ....
Any ideas?
Regards,
Michael Foley
Comments
I think there is a possibility that the maximum number of open files might be too low. So you will have to increase the maximum open files.
For more details refer:
http://publib.boulder.ibm.com/infocenter/tivihelp/v2r1/index.jsp?topic=/com.ibm.itim.doc/cpt/cpt_ic_trouble_many_filesopen.html
Check if this helps resolve your issue.
Regards
Sumitra