Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 10337 invoked from network); 1 Jun 2004 13:14:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Jun 2004 13:14:19 -0000 Received: (qmail 75054 invoked by uid 500); 1 Jun 2004 13:14:04 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 74915 invoked by uid 500); 1 Jun 2004 13:14:03 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 74883 invoked by uid 99); 1 Jun 2004 13:14:03 -0000 Received: from [63.244.250.132] (HELO mustang.mpi.com) (63.244.250.132) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 01 Jun 2004 06:14:03 -0700 Received: from lightning.mpi.com (lightning [63.244.252.11]) by mustang.mpi.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i51D5oF5021150 for ; Tue, 1 Jun 2004 09:05:51 -0400 (EDT) Received: from US-VS1.corp.mpi.com (us-be2.corp.mpi.com [63.244.252.32]) by lightning.mpi.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i51D9pEn010564 for ; Tue, 1 Jun 2004 09:09:51 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: JSVC to run tomcat? Date: Tue, 1 Jun 2004 09:09:02 -0400 Message-ID: <9C5166762F311146951505C6790A9CF801FC3874@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JSVC to run tomcat? thread-index: AcRE8dbV3P+QB2QSRLOUW+RCBrKlJQC5zakA From: "Shapira, Yoav" To: "Tomcat Users List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N H= i, That's mostly right on: I'll add a couple of small things. >As for exactly, I can't say, but my understanding is that jsvc start the >process, in this case tomcat, then after tomcat has allocated the por= ts on >80 and/or 443 the privileges are then change to the level of the user= >specified in the startup script. Yup. The ports are bound (we prefer that term over "allocated" for historical reasons mostly, but it's consistent in the literature) and then changes the user. The concept is exactly that of the Unix classi= c setuid/seteuid variants (Google for them if you want more background, e.g. http://www.cs.berkeley.edu/~daw/papers/setuid-usenix02.pdf). >Although I have no data to back my opinion, I have seen no slowdown o= f the >system or drop in performance. There is no increase in memory or cpu when >run with jsvc and without. Others may have definitive numbers to >prove/disprove my observations. In theory there should be no performance difference. Other than the port binding hoop at the beginning there are no other layers or calls added to the JVM's execution at all, hence no performance difference. Yoav Shapira This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org