-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ray,
Ray Statham wrote: > I have an unusual problem with my previously stable container which now > generates over 70 instance on startup. What has changed? > This container has been working > correctly > for over 12 months, and I am assured by our dev team that no discrete > modifications have been made. Did the environment change, even if the code did not? > On startup this output is generated: - > > start_apps MerchantAdmin > Starting MerchantAdmin............ > Using CATALINA_BASE: /rel/apps/MerchantAdmin > Using CATALINA_HOME: /rel/tomcat > Using CATALINA_TMPDIR: /rel/apps/MerchantAdmin/temp > Using JAVA_HOME: /usr/lib/java > /rel/tomcat/bin/start_apps.sh: line 36: 30725 > 30727 > 30728 > 30729 > 30730 > 30731 > 30732 > 30733 > 30734 > 30735 What is all this stuff? > 30736: syntax error in expression (error token is "30727 That can't be good. > 30728 > 30729 > 30730 > 30731 > 30732 > 30733 > 30734 > 30735 > 30736") Again.... huh? > After a min or so, the following number of instances are running: - > >> ps aux | grep -c MerchantAdmin > 71 You didn't mention what OS you're running, though it's obvious it's some UNIX or GNU/Linux flavor. Note that some Linux kernel versions show threads a separate processes, so 71 might be the thread count, not the process count. You may only have a single instance of Tomcat running. Try this: $ ps auxf (note the 'f') at the end Check the output. The 'f' switch turns on "forest" display, where each process is shown graphically (to the extent your terminal can) related to it's parent process. As long as your shell only only has one child JVM process (with many other JVM "processes" as its children), then you're perfectly fine and there's nothing to worry about. I would still try to figure out why your script is failing, though. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHCjZQ9CaO5/Lv0PARAvvkAJ9crRROfhrIK9UvbNP550hj84Gn9ACfTduu q8yWebnmV4+SrhQHdbkw68Q= =GKFq -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]