java metro framework - Help analyzing glassfish server hang problem -
we running glassfish server around 20 jax-ws metro web services. server specs core2duo 8gb ram. using single http listener web services. development set true. request thread count 2 , acceptor count 1. minimum , maximum heap sizes 1gb , perm gen set 512mb. services access oracle database via hibernate layer , there many interservice calls between services. front end asp.net. our problem when 4-5 users try access application simultaneously time (1 hour) glassfish server hangs cpu going 100% memory utilization around 10-11%. not able find pointers how debug problem. on instances log file gives java.lang.outofmemory exception : permgenspace. not everytime, i.e. on many occassions log file not give error on hanging. glass fish server not start if try increase perm gen space. need direction on how diagnose , move towards solution problem. glass fish version using v2.1. have following observations: 1. adding more http listeners (1 listener per 4-5 services) prolong failing time not effect. 2. when calling of heavy services (one 1 operation) soap-ui hang problem when running many threads simultaneously. (e.g. 8-10 threads) 3. have observed when calling soap-ui service operation (which not call other services) hangs while service calling other services hangs frequently.
Comments
Post a Comment