Re: Process names not showing up and lsof reports nothing

Christian van der leeden <[email protected]>
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
Hi,

	we are running on osx 10.2 and 10.3 (mixed) with Java 1.4.1
and wo 5.2.2. Site has very much traffic (200-400 concurrent sessions
at 20 min session timeout with around 10 instances). I've wotaskd
running under Java 1.3.1 and it doesn't have the too many open
files problem...

To determine the process id since lsof is not very reliable sometimes,
modify the SpawnOfWotaskd.sh script like (a tip from my coworker):

===  Go to appropriate dir
# cd
/opt/Apple52/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/ 
Resources/

=== Original file (Apple)
# cat SpawnOfWotaskd.sh.bak
#!/bin/sh

$@ 1>/dev/null 2>&1 &

=== Modified by me  (not the best choice of files)
# cat SpawnOfWotaskd.sh
#!/bin/sh

$@ 1>>/var/log/woapplication.log 2>>/var/log/woapplication.err &

You will find the startup messages inside the webobjects.log.
They contain the pid and the port number and a matching
should be possible....

CU

Christian
On Feb 23, 2004, at 9:11 PM, Sacha Mallais wrote:

> Hello all,
>
> I'm having a problem on a client's machine with processes not  
> displaying their full name, even when I use the "wide" option -w.   
> Also, on the same machine, lsof does not show any open files, even for  
> wotaskd!
>
> These "java" processes are WO processes, and should have much larger  
> command lines:
> root# ps -auxwwwww
> USER      PID %CPU %MEM      VSZ    RSS  TT  STAT STARTED      TIME  
> COMMAND
> [snip]
> root      521   0.0  2.4   241736  24936  ??  SN   11:46AM   0:04.86  
> java
> root      522   0.0  2.8   242432  29068  ??  SN   11:46AM   0:05.28  
> java
> root      523   0.0  3.6   244484  38268  ??  SN   11:46AM   0:08.30  
> java
> root      626   0.0  3.6   244484  38084  ??  SN   11:47AM   0:07.68  
> java
> [snip]
>
> root# lsof -i tcp:1085
> root#
>
>
> This machine also has the "too many files open" problem that is soooo  
> prevalent these days...
>
>
> FYI, here is the machine's configuration:
> WO version: 5.2.1
>
> root# sw_vers
> ProductName:    Mac OS X Server
> ProductVersion: 10.2.6
> BuildVersion:   6L60
>
> root# java -version
> java version "1.4.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)
>
>
> Has anyone ever experienced this "no command line" problem?  We are  
> trying to write a script to kill wotaskd once a day (or so) as a  
> workaround to the too many open files problem, but it's hard to find  
> which process to kill when there is no way to tell which process is  
> which!
>
>
> sacha
>
> _______________________________________________
> WebObjects-admin mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-admin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.