Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify jetty max threads #77

Merged
merged 1 commit into from
Mar 29, 2014
Merged

Conversation

lucaspouzac
Copy link
Contributor

Hi,

If you run tests on a server with more than 10 CPUs, jetty blocks. MaxThreads must be at least equal to the number of CPU.

starting server
2014-03-28 10:22:40,217 [main ] [ ] INFO org.eclipse.jetty.server.Server - jetty-8.1.8.v20121106
LoginService=HashLoginService[null] identityService=org.eclipse.jetty.security.DefaultIdentityService@7907f014
2014-03-28 10:22:40,449 [main ] [ ] INFO restx.RestxMainRouterFactory - LOADING MAIN ROUTER
2014-03-28 10:22:40,450 [main ] [ ] INFO restx.RestxMainRouterFactory -

-- RESTX >> LOAD ON REQUEST << >> CLEAN << >> TEST MODE <<
-- for admin console,
-- VISIT http://127.0.0.1:43551/api/@/ui/

2014-03-28 10:22:40,547 [main ] [ ] WARN o.e.jetty.server.AbstractConnector - insufficient threads configured for SelectChannelConnector@0.0.0.0:43551
server started

REQUEST
GET http://127.0.0.1:43551/api/samples (infinite wait)

xhanin added a commit that referenced this pull request Mar 29, 2014
@xhanin xhanin merged commit fbcf3a1 into restx:master Mar 29, 2014
@xhanin
Copy link
Contributor

xhanin commented Mar 29, 2014

Nice spot, thanks for this PR!

@lucaspouzac lucaspouzac deleted the insufficient_threads branch April 2, 2014 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants