----------------------------- Please read the FAQ! <http://java.apache.org/faq/> ----------------------------- > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 21 September 1999 12:16 > To: Java Apache Users > Subject: Re: Exponentially Declining Apache JServ Perfomance > > Noel, > Hi, We are having similar performance problems running the > GNUJSP servlet under > Apache 1.3.6, JServ 1.0b5, Oracle 805 on Solaris 2.6,we are > already using a > connection pool and have optimised the code as much as > possible, it performs ok > with <15 concurrent users but if we go to >30 it dies a slow death. > This system is suppoed to go live on the internet soon and we > are expecting to > get alot of concurrent users hitting the site at the same > time, so if you find > out what the problem is with your setup/software can you let us know? Will do. > Also, I have downloaded the OptimizeIt profiler but am unable > to get it to > profile correctly, what setup did you use to profile a servlet? Here are the instructions I have prepared for running Apache JServ under OptimizeIt. To profile our servlet code we have to: a/ Start the Apache webserver _without_ automatically starting the Apache JServ servlet engine. b/ Start the OptimizeIt auditor, supplying the servlet engine start-up info as a parameter. The auditor will then run Apache JServ and our servlets, feeding the generated profiling information to a port on the machine (1470 by default). c/ Start the OptimizeIt viewer GUI. d/ Attach to the machine and port our profiling data is being served on (i.e. <machineName>:1470). e/ Start to execute the servlets via your web broswer(s) and view the profiling output. To do the above: a/ (As root) Edit httpd.conf Change the directive ApJServManual to read 'on'. (As webserver user) Run 'apachectl start' to start Apache only. b/ (As webserver user) Run 'jservstart.sh' (see below) to start Apache JServ running under OptimizeIt. You should see this message: OptimizeIt 2.0 audit system. (c) 1997,1998 Intuitive Systems Inc. Port is 1470 c/ Set your DISPLAY environmental variable correctly. Run the OptimizeIt script. d/ Select Program|Attach|<machineName>:1470. jservstart.sh ============= #!/bin/sh # Launch jserv in manual mode. jserv=/export/home/apache/lib/Apache-JServ.jar jsdk=/export/home/apache/lib/jsdk.jar oracle=/export/home/apache/lib/classes111.zip optit=/export/home/OptimizeIt/lib/optit.jar props=/export/home/apache/config/jserv.properties log=/export/home/apache/log/jserv.log classes=$CLASSPATH:$jsdk:$jserv:$oracle:$optit java -ms100M -mx300M -noclassgc -Djava.compiler=NONE -classpath $classes intuitive.audit.Audit org.apache.jserv.JServ $props &> $log Hope this is of some use. (I may add it to the FAQ-o-matic actually so if you find it unclear please tell me so). -- Noel McNulty Belfast Engineering Centre Information Systems Engineering BT -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]