Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000967 [Resin] major always 03-01-06 04:03 03-06-06 14:02
Reporter flausa View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.19 Product Version 3.0.18
  Product Build
Summary 0000967: Performance issue
Description When runing 3.0.18 Pro with an valid license in our production site it is choking up rather quickly and the response time of our JSP-pages is increasing rapidly to some ten of seconds. Even if we get a log printout that the JNI library is enabled the symptom feels exactly like as when you run a Resin Pro without the JNI enabled on a site with "many" users.

There was no errors during installation and the site is working (responding)normaly (fast) with only one user but as soon as we put some load on the response time increases dramatically. When switching to our previous version 3.0.16 the response time is back to normal under the same amount of load.

Steps To Reproduce
Additional Information Technical info:
JRE 1.4.2_03
Linux RH 2.1 ES
Oracle 9i
Attached Files

- Relationships

- Notes
(0000911)
doc
03-01-06 13:16

The Resin status servlet shows -1 in the Select column in the TCP Ports section.
 
(0000914)
rudy
03-03-06 04:30

Scott,

I asked Niclas to try to enable the select-manager.
This is the result in stdout:

[2006-03-03 12:38:29.258] Servlet[init] started
[2006-03-03 12:38:29.261] WebApp[http://localhost:8081] [^] active
[2006-03-03 12:38:29.261] ServletServer clearCache
[2006-03-03 12:38:29.267] WebAppController$25840096[] active
[2006-03-03 12:38:29.267]
WebAppAdmin[resin:Host=default,Server=default,name=/,type=WebApp]
lifecycleEvent `active'
[2006-03-03 12:38:29.268] Host[] active
[2006-03-03 12:38:29.268] HostController[] active
[2006-03-03 12:38:29.268] HostAdmin[] lifecycleEvent `active'
[2006-03-03 12:38:29.269] closing Port[null:8081]
[2006-03-03 12:38:29.270] unregistered
resin:Server=default,port=8081,type=Port
[2006-03-03 12:38:29.272] closed Port[null:8081]
[2006-03-03 12:38:29.273] java.lang.IllegalStateException: Cannot load
select manager
[2006-03-03 12:38:29.273] at
com.caucho.server.port.Port.start(Port.java:745)
[2006-03-03 12:38:29.273] at
com.caucho.server.resin.ServletServer.startPorts(ServletServer.java:1026
)
[2006-03-03 12:38:29.273] at
com.caucho.server.resin.ServletServer.start(ServletServer.java:955)
[2006-03-03 12:38:29.273] at
com.caucho.server.deploy.DeployController.startImpl(DeployController.jav
a:587)
[2006-03-03 12:38:29.273] at
com.caucho.server.deploy.AbstractDeployControllerStrategy.start(Abstract
DeployControllerStrategy.java:56)
[2006-03-03 12:38:29.273] at
com.caucho.server.deploy.DeployController.start(DeployController.java:48
3)
[2006-03-03 12:38:29.273] at
com.caucho.server.resin.ResinServer.start(ResinServer.java:478)
[2006-03-03 12:38:29.273] at
com.caucho.server.resin.Resin.init(Resin.java)
[2006-03-03 12:38:29.273] at
com.caucho.server.resin.Resin.main(Resin.java:623)
[2006-03-03 12:38:29.273] java.lang.IllegalStateException: Cannot load
select manager
[2006-03-03 12:38:29.273] at
com.caucho.server.port.Port.start(Port.java:745)
[2006-03-03 12:38:29.273] at
com.caucho.server.resin.ServletServer.startPorts(ServletServer.java:1026
)
[2006-03-03 12:38:29.273] at
com.caucho.server.resin.ServletServer.start(ServletServer.java:955)
[2006-03-03 12:38:29.273] at
com.caucho.server.deploy.DeployController.startImpl(DeployController.jav
a:587)
[2006-03-03 12:38:29.273] at
com.caucho.server.deploy.AbstractDeployControllerStrategy.start(Abstract
DeployControllerStrategy.java:56)
[2006-03-03 12:38:29.273] at
com.caucho.server.deploy.DeployController.start(DeployController.java:48
3)
[2006-03-03 12:38:29.273] at
com.caucho.server.resin.ResinServer.start(ResinServer.java:478)
[2006-03-03 12:38:29.273] at
com.caucho.server.resin.Resin.init(Resin.java)
[2006-03-03 12:38:29.273] at
com.caucho.server.resin.Resin.main(Resin.java:623)

The server starts (processes alive) but does not respond at all from
browser. Do you know why it act like this?

Regards
//Niclas
 
(0000916)
ferg
03-06-06 14:02

enable-select-manager was initialized in incorrect order.

The temporary workaround is to increase thread-max to something large, like 1024 to handle the keepalive threads.
 

- Issue History
Date Modified Username Field Change
03-01-06 04:03 flausa New Issue
03-01-06 04:24 rudy Issue Monitored: rudy
03-01-06 13:16 doc Note Added: 0000911
03-03-06 04:30 rudy Note Added: 0000914
03-03-06 04:30 rudy Note Added: 0000915
03-03-06 04:31 rudy Note Deleted: 0000915
03-06-06 14:02 ferg Note Added: 0000916
03-06-06 14:02 ferg Assigned To  => ferg
03-06-06 14:02 ferg Status new => closed
03-06-06 14:02 ferg Resolution open => fixed
03-06-06 14:02 ferg Fixed in Version  => 3.0.19


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
38 total queries executed.
30 unique queries executed.
Powered by Mantis Bugtracker