----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


        Hey all,

        Can't find anything about this in the FAQ, and I'm a newbie. :)

        Ok - the company I am Unix admin for was setup and maintained by
someone who'd never done this before, so I'm in the process of
rebuilding everything from scratch.  They were using an old copy of JRun
to do all applet serving, and I'm rebuilding that machine.

        So far, I've built custom backup scripts all over the place, much other
administrivia, and built an RPM containing Apache_1.3.12+SSL_1.39,
mod_perl 1.21, php 3.0.14, and JServ 1.1 with JDK 1.2.2.  I'm building
on pc platforms running RedHat Linux v6.1.

        My problem-slash-question is this:  JServ is up and working, the
programmers are coding applets for it, and they're working.  It's even
talking to Oracle.  I've *never* had any experience with java before,
and it's been interesting so far.

        When I do a `ps fax` on the system, the webserver parts look like this:

 1495 ?        S      0:03 httpd
 1496 ?        S      0:00  \_ httpd
 1538 ?        S      0:07  |   \_
/usr/share/jdk1.2.2/bin/i386/native_threads/j
 1569 ?        S      0:00  |       \_
/usr/share/jdk1.2.2/bin/i386/native_threa
 1570 ?        S      0:00  |           \_
/usr/share/jdk1.2.2/bin/i386/native_t
 1571 ?        S      0:00  |           \_
/usr/share/jdk1.2.2/bin/i386/native_t
 1572 ?        S      0:00  |           \_
/usr/share/jdk1.2.2/bin/i386/native_t
 1573 ?        S      0:00  |           \_
/usr/share/jdk1.2.2/bin/i386/native_t
 1574 ?        S      0:00  |           \_
/usr/share/jdk1.2.2/bin/i386/native_t
 1497 ?        SW     0:00  \_ [gcache]
 1498 ?        S      0:00  \_ httpd
 1499 ?        SW     0:00  \_ [httpd]
 1500 ?        SW     0:00  \_ [httpd]
 1501 ?        SW     0:00  \_ [httpd]
 1502 ?        S      0:00  \_ httpd
 1587 ?        S      0:00  \_ httpd

        (apologies to anyone reading this in a non-fixed font)

        The rest of the commandline calls "java" and the config file in
/etc/httpd/conf/jserv.  Are there really supposed to be multiple copies
of Java started?  The last one on the list seems to always go zombie
within a few hours, and after a day or so, there's 30 copies of java
running!  

        So, are there supposed to be more than one copy of java running?  If
so, is there a throttle to declare how many copies should be running at
once?  Realistically, we only get a few hits per day that actually
launch applets, and the applets are basically just database reads and
displays.  Simple stuff, but I'm really growing tired of strace-ing this
stuff to find where it's wrong.

        If there's NOT supposed to be more than one, have I missed an obvious
gotcha, or has my hodge-podge of DSO modules somehow munged it beyond
hope?

        ANY help is appreciated - I just want this machine to be as stable as
possible. :)

        Cheers,
        - Drew.


--
--------------------------------------------------------------
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]

Reply via email to