You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Oleg L. Sverdlov" <ol...@netmount.com> on 2001/02/07 16:42:31 UTC

[Windows 2000] Is that Tomcat eating memory ?

Hello.
The machine runs Tomcat 3.2.1 + jdk 1.3 + iis_redirect + Win2K Professional

Every time a browser reloads a page, "Java" process eats out a few bytes of memory.
Simple hello.jsp consumes a few bytes. Pages dealing with Java beans or db connections, consume more memory.

On Win2K Server,  I can see that memory pool of "Java" process does NOT grow, whereas "inetinfo" process eats out a few bytes of memory with every request.

In the same time, iis_redirect.log contains following entries:

[jk_isapi_plugin.c (261)]: jk_ws_service_t::start_response, ServerSupportFunction failed
[jk_ajp13_worker.c (314)]: Error ajp13_process_callback - start_response failed
[jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed
[jk_isapi_plugin.c (355)]: jk_ws_service_t::write, WriteClient failed
[jk_ajp13_worker.c (325)]: Error ajp13_process_callback - write failed
[jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed

Anybody know anything about this problem? 

Oleg L. Sverdlov
Web Development Dept.

Netmount Networks 
Raanana, Israel. 

http://www.netmount.com
Phone: +972-9-745-5220
Fax: +972-9-745-2521

----- Original Message ----- 
From: "John Golubenko" <go...@columbiafunds.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, February 06, 2001 12:15 AM
Subject: Re: Connection pooling - simplified?


> Well, creating a JavaBean, with DatabaseManager class, and load 
> DatabaseManager and that
> JavaBean class on startup. (web.xml file), you can put all connectivity 
> to DatabaseManager
> class, make up a doInsert(), doUpdate(), getValue() methods in it, with 
> empty query.
> Once those puppies are loaded, them will be up all the time. Next thing 
> is to refer from JSP pages to those poppies, such as getValue(email), and 
> dbmanager will return it... 
> Now you can have them available to whole site, w/o reloading or 
> overloading your server.
> got the point? 
> 
> 
> >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
> 
> On 2/5/01, 2:03:48 PM, "John Coonrod" <jc...@thp.org> wrote regarding 
> Connection pooling - simplified?:
> 
> 
> > Perhaps there is a way to do this very simply.
> 
> > I have only one database, and so little traffic that one connection is 
> all
> > my webserver needs.
> 
> > I presume there might then be a way to establish a connection when 
> jakarta
> > starts up, that is available to any jsp that wants it? Sort of a globally
> > available connection? Could someone walk me through doing this?
> 
> > (Meanwhile - I've ordered the book from Amazon. Thanks.)
> 
> > Thanks.
> 
> 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
> 
> NOTICE:  This communication may contain confidential or other privileged information.  If you are not the intended recipient, or believe that you have received this communication in error, please do not print, copy, retransmit, disseminate, or otherwise use the information.  Also, please indicate to the sender that you have received this email in error, and delete the copy you received.  Any communication that does not relate to official Columbia business is that of the sender and is neither given nor endorsed by Columbia.  Thank you.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 
>