Re: Throttle test Apache instance?
Justin Taylor <[email protected]>
| Newsgroups | gmane.comp.systems.as400.web |
|---|---|
| Message-ID | <CAJu8Sp-qj2GFLBVjhG1Ks23eNsYhh08_v_g8B8dFGrfi+Mjigg@mail.gmail.com> |
Our IT department has informed me of their intention to script 1000's of requests to hit one of my test Apache instances. My webservice depends on a 3rd party service that would be a bottleneck, so I need to prevent too many concurrent requests to the 3rd party. Presently I have: ThreadsPerChild 64 AcceptThreads 4 It sound like if I set those to 2, then only two concurrent requests can be processed. Am I understanding that properly? Thanks Apache directives: > > AcceptThreads - limits the number of threads for accepting socket > connections; others wait in queue. > > ThreadsPerChild - limits the number of threads that can serve CGI requests. > > I imagine that whether these directives help you or not depends on whether > you have more than one client using the HTTP server at the same time, > whether you're trying to use the directives for debugging programs. In that > case, the directives may not work well. > > > -- This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/web400 or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/web400.