Embedded Jetty blocking HTTP requests due to "Max threads" settings
Vibin Manavalan <[email protected]> Wed, 23 Apr 2014 20:42:13 +0530
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <CACspRtrk2f4E1SknHHoga4TRgb5xyh2rUZh7VmYeb5qP=Nvs8A@mail.gmail.com> |
Embedded Jetty blocking HTTP requests due to "Max threads" settings.
Due to this i get a blank page while accessing admin portal.
A wget output log is following:-
$ wget -vv http://server:8980/opennms/
--2014-04-22 10:57:54-- http://server1:8980/opennms/
Connecting to server:8980... connected.
HTTP request sent, awaiting response...
I am using a solaris 10 (sparc) box having more CPU's
Logs:
============
$ psrinfo|wc -l
512
$ psrinfo -pv
The physical processor has 128 virtual processors (0-127)
SPARC-T5 (chipid 0, clock 3600 MHz)
The physical processor has 128 virtual processors (128-255)
SPARC-T5 (chipid 1, clock 3600 MHz)
The physical processor has 128 virtual processors (256-383)
SPARC-T5 (chipid 2, clock 3600 MHz)
The physical processor has 128 virtual processors (384-511)
SPARC-T5 (chipid 3, clock 3600 MHz)
:~$ psrinfo -p
4
=================
Logs: (webapps)
=======================
2014-04-22 11:25:58,136 DEBUG [qtp9560790-560 Selector124] nio: Starting
Thread[qtp9560790-560 Selector124,5,main] on
org.eclipse.jetty.io.nio.SelectorManager$1@1d024c
2014-04-22 11:25:58,137 DEBUG [qtp9560790-561 Selector125] nio: Starting
Thread[qtp9560790-561 Selector125,5,main] on
org.eclipse.jetty.io.nio.SelectorManager$1@1449e03
2014-04-22 11:25:58,137 DEBUG [Main] AbstractLifeCycle: STARTED
org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@fba78b
2014-04-22 11:25:58,137 DEBUG [qtp9560790-562 Selector126] nio: Starting
Thread[qtp9560790-562 Selector126,5,main] on
org.eclipse.jetty.io.nio.SelectorManager$1@1e206cb
2014-04-22 11:25:58,140 DEBUG [qtp9560790-563 Selector127] nio: Starting
Thread[qtp9560790-563 Selector127,5,main] on
org.eclipse.jetty.io.nio.SelectorManager$1@34e0db
2014-04-22 11:25:58,181 WARN [Main] AbstractConnector: insufficient
threads configured for [email protected]:8980
2014-04-22 11:25:58,203 INFO [Main] AbstractConnector: Started
[email protected]:8980
2014-04-22 11:25:58,203 DEBUG [Main] AbstractLifeCycle: STARTED
[email protected]:8980
2014-04-22 11:25:58,203 DEBUG [Main] AbstractLifeCycle: STARTED
org.eclipse.jetty.server.Server@192c0
+++++++++++++++++++++++++++++++++++++++++++++++
I suspect this is due to maxthread limits not matching number of CPU cores
in my system.
How do set this maxthreads value in integrated jetty server in OpenNMS?
Please advise.
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-install mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install