Hi, I am given task to stress test/hack our development before we deploy. Just now I experience a problem with JVM runs out file descriptors because it tries to open so many files/socket. This is not the problem of the OS or JVM or Tomcat. It just that some portion of the software does not have self-limiting/queueing facility.
It gives me an idea, if I know a valid email address in James server, I can write daemon to send floods of very small emails to that mailbox. I notice that James writes to its spools, mailboxes, etc. Will it be possible to kill James using this technique because James suddenly tries to open so many files at almost the same time? Or is there any queueing facility. It will be fair enough that if there is flood of emails, the other SMTP party will get transmission failure. But not in the situation where the recipient SMTP keeps receiving but bombs out because it tries to open too many files. I believe, James does thing like in the first case and not the later. But I may be wrong. Anyone can verify/give assurance that James will not crash when receive tons of valid email to valid mailbox almost at the same time? Thanks Edward
