> > I'm worried about the comment from Alexey Stavrov. Does it mean that > anyone who uses subprocesses exposes not only his app but also the server > machine to easy DOS attacks, by allowing anyone to generate thousands of > processes on the server ? Is there a way to prevent this in the current > implementation ? >
Your question sounds a bit hyperbolic, but i'll answer anyway. No, by using subprocesses you will not necessarily make your server easy to DOS. It all depends on what your subprocesses are actually doing and how your server is configured. By default the Mojolicious web servers will only accept up to 1000 connections per worker process, and Perl processes tend to be pretty small thanks to copy on write. But of course it is always good to be careful. We welcome anyone who is sincerely concerned about subprocess limits to make a real proposal we can put up for a vote. -- sebastian -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
