我的Web应用程序的池性能问题

我的Web应用程序的池性能问题

本文介绍了我的Web应用程序的池性能问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个Web应用程序,刚进入任务管理器.我的Web应用程序的池在内存中使用了345,000kb的空间.当我检查默认的应用程序池内存使用率时,它表明我的Web应用程序池使用率不到一半.大约是145,000kb.这是平常的吗?我应该担心吗?看起来好多了.我会忘记一些打开的连接吗?或缓冲池内存的查询?如果有人在这个问题上帮助我,我会很高兴.

除此之外,在这种情况下我是否可以改善性能?感谢所有人.

===更新===

Hello guys,

I have a web application and I have just bumped into in the task manager. My web application''s pool is using somewhere 345,000kb in the memory. When i check the default application pool memory usage it is showing my web application pool usage''s less than half. It is somewhee 145,000kb. Is this something usual? Should i be worried? It looks a lot tome. Am i forgetting some connections open? or a query buffering the pool memory? I will be glad if someone help me in this issue.

In addition to this, is there a way that I can improve the performance in this situation? Thanks to all.

===UPDATE===

  at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
        at java.io.DataOutputStream.write(DataOutputStream.java:90)
        at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
        at com.evnt.eve.io.SourceProxy.writeMessage(SourceProxy.java:867)
        at com.evnt.eve.io.SourceProxy.send(SourceProxy.java:750)
        at com.evnt.eve.io.SourceProxy.processEvent(SourceProxy.java:709)
        at com.evnt.eve.io.SourceProxy.outgoing(SourceProxy.java:209)
        at com.evnt.eve.io.SourceProxy.run(SourceProxy.java:142)
        at java.lang.Thread.run(Thread.java:619)
Jan 27, 2012 2:42:50 PM com.evnt.common.log.EVLogger severe
SEVERE: Caught an exception: java.net.SocketException: Connection reset by peer:
socket write error
java.net.SocketException: Connection reset by peer: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
        at java.io.DataOutputStream.write(DataOutputStream.java:90)
        at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
        at com.evnt.eve.io.SourceProxy.writeMessage(SourceProxy.java:867)
        at com.evnt.eve.io.SourceProxy.send(SourceProxy.java:750)
        at com.evnt.eve.io.SourceProxy.processEvent(SourceProxy.java:709)
        at com.evnt.eve.io.SourceProxy.outgoing(SourceProxy.java:209)
        at com.evnt.eve.io.SourceProxy.run(SourceProxy.java:142)
        at java.lang.Thread.run(Thread.java:619)
Jan 27, 2012 2:42:50 PM com.evnt.common.log.EVLogger severe
SEVERE: Caught an exception: java.net.SocketException: Connection reset by peer:
socket write error
java.net.SocketException: Connection reset by peer: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
        at java.io.DataOutputStream.write(DataOutputStream.java:90)
        at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
        at com.evnt.eve.io.SourceProxy.writeMessage(SourceProxy.java:867)
        at com.evnt.eve.io.SourceProxy.send(SourceProxy.java:750)
        at com.evnt.eve.io.SourceProxy.processEvent(SourceProxy.java:709)
        at com.evnt.eve.io.SourceProxy.outgoing(SourceProxy.java:209)
        at com.evnt.eve.io.SourceProxy.run(SourceProxy.java:142)
        at java.lang.Thread.run(Thread.java:619)
Jan 27, 2012 2:42:50 PM com.evnt.common.log.EVLogger severe
SEVERE: Caught an exception: java.net.SocketException: Connection reset by peer:
socket write error
java.net.SocketException: Connection reset by peer: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
        at java.io.DataOutputStream.write(DataOutputStream.java:90)
        at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
        at com.evnt.eve.io.SourceProxy.writeMessage(SourceProxy.java:867)
        at com.evnt.eve.io.SourceProxy.send(SourceProxy.java:750)
        at com.evnt.eve.io.SourceProxy.processEvent(SourceProxy.java:709)
        at com.evnt.eve.io.SourceProxy.outgoing(SourceProxy.java:209)
        at com.evnt.eve.io.SourceProxy.run(SourceProxy.java:142)
        at java.lang.Thread.run(Thread.java:619)
Jan 27, 2012 2:42:50 PM com.evnt.common.log.EVLogger severe
SEVERE: Caught an exception: java.net.SocketException: Connection reset by peer:
socket write error
java.net.SocketException: Connection reset by peer: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
        at java.io.DataOutputStream.write(DataOutputStream.java:90)
        at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
        at com.evnt.eve.io.SourceProxy.writeMessage(SourceProxy.java:867)
        at com.evnt.eve.io.SourceProxy.send(SourceProxy.java:750)
        at com.evnt.eve.io.SourceProxy.processEvent(SourceProxy.java:709)
        at com.evnt.eve.io.SourceProxy.outgoing(SourceProxy.java:209)
        at com.evnt.eve.io.SourceProxy.run(SourceProxy.java:142)
        at java.lang.Thread.run(Thread.java:619)
Jan 27, 2012 2:42:50 PM com.evnt.common.log.EVLogger severe
SEVERE: Caught an exception: java.net.SocketException: Connection reset by peer:
socket write error
java.net.SocketException: Connection reset by peer: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:78)
        at java.io.DataOutputStream.writeInt(DataOutputStream.java:183)
        at com.evnt.eve.io.SourceProxy.writeMessage(SourceProxy.java:866)
        at com.evnt.eve.io.SourceProxy.send(SourceProxy.java:750)
        at com.evnt.eve.io.SourceProxy.processEvent(SourceProxy.java:709)
        at com.evnt.eve.io.SourceProxy.outgoing(SourceProxy.java:209)
        at com.evnt.eve.io.SourceProxy.run(SourceProxy.java:142)
        at java.lang.Thread.run(Thread.java:619)
Jan 27, 2012 2:42:50 PM com.evnt.common.log.EVLogger info
INFO: pascale.m@192.168.1.149 <Outgoing> Stopped
******************************************************************************
doRequest Method was Reached!
******************************************************************************
******************************************************************************
doRequest Method was Reached!
******************************************************************************
******************************************************************************
doRequest Method was Reached!
******************************************************************************
******************************************************************************
doRequest Method was Reached!
******************************************************************************
******************************************************************************
doRequest Method was Reached!
******************************************************************************
Jan 27, 2012 2:43:13 PM com.evnt.eve.modules.LocationModule getListOfLocations
INFO: LocationModule.getListOfLocations
VendorModule.getListVendors
Jan 27, 2012 2:43:25 PM com.evnt.common.log.EVLogger info
INFO: <unknown>@192.168.1.149 <Outgoing> Ready
Jan 27, 2012 2:43:25 PM com.evnt.common.log.EVLogger info
INFO: <unknown>@192.168.1.149 <Incoming> Ready
Jan 27, 2012 2:43:25 PM com.evnt.common.log.EVLogger info
INFO:  Attempting to register "pascale.m" (pascale.m@192.168.1.149)
Jan 27, 2012 2:43:25 PM com.evnt.common.log.EVLogger warning
WARNING: Register failed!
Jan 27, 2012 2:43:25 PM com.evnt.common.log.EVLogger info
INFO: pascale.m@192.168.1.149 <Outgoing> Stopped
Jan 27, 2012 2:43:28 PM com.evnt.common.log.EVLogger info
INFO: pascale.m@192.168.1.149 <Incoming> Stopped
******************************************************************************
doRequest Method was Reached!
******************************************************************************
Jan 27, 2012 2:43:33 PM com.evnt.common.log.EVLogger info
INFO: <unknown>@192.168.1.149 <Outgoing> Ready
Jan 27, 2012 2:43:33 PM com.evnt.common.log.EVLogger info
INFO: <unknown>@192.168.1.149 <Incoming> Ready
Jan 27, 2012 2:43:33 PM com.evnt.common.log.EVLogger info
INFO:  Attempting to register "pascale.m" (pascale.m@192.168.1.149)
Jan 27, 2012 2:43:38 PM com.evnt.common.log.EVLogger info
INFO: Register successful!
Jan 27, 2012 2:43:50 PM com.evnt.common.log.EVLogger info
INFO: <unknown>@192.168.1.126 <Outgoing> Ready
Jan 27, 2012 2:43:50 PM com.evnt.common.log.EVLogger info
INFO: <unknown>@192.168.1.126 <Incoming> Ready
Jan 27, 2012 2:43:50 PM com.evnt.eve.modules.BOMModule getListBOMTypes
INFO: BOMModule.getListBOMTypes
Jan 27, 2012 2:43:50 PM com.evnt.common.log.EVLogger info
INFO:  Attempting to register "dnaye.b" (dnaye.b@192.168.1.126)
Jan 27, 2012 2:43:50 PM com.evnt.common.log.EVLogger warning
WARNING: Register failed!
Jan 27, 2012 2:43:50 PM com.evnt.common.log.EVLogger info
INFO: dnaye.b@192.168.1.126 <Outgoing> Stopped
Jan 27, 2012 2:43:51 PM com.evnt.common.log.EVLogger info
INFO: dnaye.b@192.168.1.126 <Incoming> Stopped
Jan 27, 2012 2:43:51 PM com.evnt.eve.modules.BOMModule getListBOM
INFO: BOMModule.getListBOM
Jan 27, 2012 2:43:59 PM com.evnt.common.log.EVLogger info
INFO: <unknown>@192.168.1.126 <Outgoing> Ready
Jan 27, 2012 2:43:59 PM com.evnt.common.log.EVLogger info
INFO: <unknown>@192.168.1.126 <Incoming> Ready
Jan 27, 2012 2:43:59 PM com.evnt.common.log.EVLogger info
INFO:  Attempting to register "dnaye.b" (dnaye.b@192.168.1.126)
Jan 27, 2012 2:44:00 PM com.evnt.common.log.EVLogger info
INFO: Register successful!
Jan 27, 2012 2:44:00 PM com.evnt.eve.modules.ProductModule getListProducts
INFO: ProductModule.getListProducts
******************************************************************************
doRequest Method was Reached!
******************************************************************************
******************************************************************************
doRequest Method was Reached!
******************************************************************************
Jan 27, 2012 2:44:24 PM com.evnt.eve.modules.BOMModule getListBOMTypes
INFO: BOMModule.getListBOMTypes
******************************************************************************
doRequest Method was Reached!
******************************************************************************
Jan 27, 2012 2:44:26 PM com.evnt.eve.modules.LocationModule getListOfLocations
INFO: LocationModule.getListOfLocations
Jan 27, 2012 2:44:26 PM com.evnt.eve.modules.BOMModule getListBOM
INFO: BOMModule.getListBOM
VendorModule.getListVendors
Jan 27, 2012 2:44:34 PM com.evnt.eve.modules.ProductModule getListProducts
INFO: ProductModule.getListProducts
******************************************************************************
doRequest Method was Reached!
******************************************************************************
Jan 27, 2012 2:44:52 PM com.evnt.eve.modules.LocationModule getListOfLocations
INFO: LocationModule.getListOfLocations
VendorModule.getListVendors
******************************************************************************
doRequest Method was Reached!
******************************************************************************
Jan 27, 2012 2:45:05 PM com.evnt.common.log.EVLogger info
INFO: alexander.l@192.168.1.167 <Outgoing> Stopped
Jan 27, 2012 2:45:08 PM com.evnt.common.log.EVLogger info
INFO: alexander.l@192.168.1.167 <Incoming> Stopped
Jan 27, 2012 2:45:15 PM com.evnt.common.log.EVLogger info
INFO: <unknown>@192.168.1.167 <Outgoing> Ready
Jan 27, 2012 2:45:15 PM com.evnt.common.log.EVLogger info
INFO: <unknown>@192.168.1.167 <Incoming> Ready
Jan 27, 2012 2:45:15 PM com.evnt.common.log.EVLogger info
INFO:  Attempting to register "alexander.l" (alexander.l@192.168.1.167)
Jan 27, 2012 2:45:16 PM com.evnt.common.log.EVLogger info
INFO: Register successful!
java.lang.IllegalArgumentException: Specified statement was not created by this
connection.
        at org.firebirdsql.jdbc.AbstractConnection.notifyStatementClosed(Abstrac
tConnection.java:119)
        at org.firebirdsql.jdbc.InternalTransactionCoordinator$AutoCommitCoordin
ator.statementClosed(InternalTransactionCoordinator.java:232)
        at org.firebirdsql.jdbc.InternalTransactionCoordinator.statementClosed(I
nternalTransactionCoordinator.java:47)
        at org.firebirdsql.jdbc.AbstractStatement.close(AbstractStatement.java:3
29)
        at org.firebirdsql.jdbc.AbstractStatement.close(AbstractStatement.java:2
95)
        at com.evnt.jdbm.DBManagerImpl.endTransaction(DBManagerImpl.java:123)
        at com.evnt.jdbm.DBManagerImpl.rollback(DBManagerImpl.java:73)
        at com.evnt.eve.modules.EVETransactionManagerImpl.rollback(EVETransactio
nManagerImpl.java:239)
        at com.evnt.eve.modules.EVEModule.rollback(EVEModule.java:230)
        at com.evnt.eve.MessageHandler.handleEvent(MessageHandler.java:148)
        at com.evnt.eve.MessageHandler.run(MessageHandler.java:106)
        at java.lang.Thread.run(Thread.java:619)
org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544569. Dynamic SQL Error

SQL error code = -504
Invalid cursor reference
Cursor is not open
        at org.firebirdsql.jdbc.FBStatementFetcher.fetch(FBStatementFetcher.java
:206)
        at org.firebirdsql.jdbc.FBStatementFetcher.next(FBStatementFetcher.java:
119)
        at org.firebirdsql.jdbc.AbstractResultSet.next(AbstractResultSet.java:25
0)
        at com.evnt.jdbm.BaseManager.findRecordsByValue(BaseManager.java:683)
        at com.evnt.jdbm.BaseManager.findRecordsByValue(BaseManager.java:595)
        at com.evnt.common.tables.usertolg.UserToLGManager.findAllByUserID(UserT
oLGManager.java:63)
        at com.evnt.eve.modules.LocationGroupModule.updateSession(LocationGroupM
odule.java:200)
        at com.evnt.eve.modules.LocationGroupModule.updateSessionGroups(Location
GroupModule.java:211)
        at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.evnt.eve.event.HookList$Hook.fire(HookList.java:157)
        at com.evnt.eve.event.HookList.fireTrigger(HookList.java:138)
        at com.evnt.eve.MessageHandler$AsyncFireTrigger.run(MessageHandler.java:
213)
        at java.lang.Thread.run(Thread.java:619)
at org.firebirdsql.gds.GDSException: Dynamic SQL Error
SQL error code = -504
Invalid cursor reference
Cursor is not open
        at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.readStatusVector(Ab
stractJavaGDSImpl.java:2169)
        at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.receiveResponse(Abs
tractJavaGDSImpl.java:2119)
        at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.iscDsqlFetch(Abstra
ctJavaGDSImpl.java:1364)
        at org.firebirdsql.gds.impl.GDSHelper.fetch(GDSHelper.java:264)
        at org.firebirdsql.jdbc.FBStatementFetcher.fetch(FBStatementFetcher.java
:201)
        at org.firebirdsql.jdbc.FBStatementFetcher.next(FBStatementFetcher.java:
119)
        at org.firebirdsql.jdbc.AbstractResultSet.next(AbstractResultSet.java:25
0)
        at com.evnt.jdbm.BaseManager.findRecordsByValue(BaseManager.java:683)
        at com.evnt.jdbm.BaseManager.findRecordsByValue(BaseManager.java:595)
        at com.evnt.common.tables.usertolg.UserToLGManager.findAllByUserID(UserT
oLGManager.java:63)
        at com.evnt.eve.modules.LocationGroupModule.updateSession(LocationGroupM
odule.java:200)
        at com.evnt.eve.modules.LocationGroupModule.updateSessionGroups(Location
GroupModule.java:211)
        at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.evnt.eve.event.HookList$Hook.fire(HookList.java:157)
        at com.evnt.eve.event.HookList.fireTrigger(HookList.java:138)
        at com.evnt.eve.MessageHandler$AsyncFireTrigger.run(MessageHandler.java:
213)
        at java.lang.Thread.run(Thread.java:619)
******************************************************************************
doRequest Method was Reached!
******************************************************************************
Jan 27, 2012 2:45:31 PM com.evnt.eve.modules.BOMModule getListBOMTypes
INFO: BOMModule.getListBOMTypes
Jan 27, 2012 2:45:34 PM com.evnt.eve.modules.BOMModule getListBOM
INFO: BOMModule.getListBOM
Jan 27, 2012 2:45:40 PM com.evnt.eve.modules.ProductModule getListProducts
INFO: ProductModule.getListProducts

推荐答案




这篇关于我的Web应用程序的池性能问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 07:41