infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
How many IDEs are accessing the hostserver at a given time?
Russ Ross
I was wondering if anyone out there has devised a method to help answer the question, "How many IDEs are attached to my cloverleaf hostserver at a given time?"
We increased the number of client IDEs and people running them.
The other day I think the hostserver ran out of JAVA memory so I was curious just how many IDEs where attached, so I can get a feel as to where my limits are at various settings like these for the server.ini file:
[general]
jvm_args=-Xmx256m
or
[general]
jvm_args=-Xmx512m
Find more posts tagged with
Clovertech
Comments
Keith McLeod
How about using netstat and the appropriate IDE port number?
netstat -an | grep 13021
or
netstat -an | find "13021"
Not sure if there is a programatic way to determine. I would be interested though...
Russ Ross
I thought I tried
netstat -an |grep 13020
# host server port is 13020 on cloverleaf 6.0 that we are running
but now I'm seeing some correlation that this approach might get me in the approximate ball park which is probably good enough.
There are extra hits that don't represent IDEs and looks like the number of hits goes up with each app (ex: NetMonitor, Netconfig) launched in each IDE.
Still probably gives me a clue as to how hard we are hitting the hostserver.
Russ Ross
I'm seeing some confusing observations but might be useful enough to determine approximate demands being placed on the cloverleaf hostserver.
Russ Ross
Now my IDE access to the hostserver seems to be no longer displayed via netstat but yet I'm still using that IDE.
There might be other unknown factors in play and probably why the netsat I tried ealier caused me to doubt its usefullness because it isn't producing accurate info now about my launched IDEs.
System
Originally posted by Bob Richardson
Greetings Ross,
You might want to enable debug mode for your hostserver.
Sometimes the drag on the hostserver is due to problems in the IDE like
Xlate editing errors (bad structure) and it hangs while waiting for the IDE to just end itself or get killed by the end user.
Here is what we have documented on how to do that:
To turn on the debug information of host server, make sure the following are in the server.ini
[logging]
cloverleaf_server_category=DEBUG
cloverleaf_server_level=VERBOSE
host_server_category=DEBUG
host_server_level=VERBOSE
ticket_server_category=info
ticket_server_level=brief
log_rmi_calls=true
debug_ssl=false
Be sure to back up your server.ini first to restore.
Also: our jvm args is set high:
jvm_args=-Xmx1024m
Hope this helps.
Good luck, good hunting!
System
Originally posted by Michael Hertel
AIX -
I was able to get a count with:
lsof | grep java | grep TCP
Russ Ross
doing
lsof | grep java | grep TCP | wc -l
gave me 954 hits, so I restricted it to this
lsof | grep java | grep TCP |
grep ESTABLISHED
| wc -l
which gave me a more reasonable count of
46 in PROD and 52 in TEST, which is around something that I might expect.
I think this shows some promise, thanks.
Russ Ross
I did notice that
lsof | grep java | grep TCP
that gives me 954 hits in PROD all of which have the same pid as the host server so they are definetely tied together, but surprised to see that many and wonder about the extras that aren't showing as established.
doing
lsof -p
pid_of_hostserver
gives simialr results with 1094 hits in PROD
I will continue to observe them moving forward whenever I cycle the hostserver.
I will be doing a HA fail-over this weekend, so I get a chance to see what the counts looks like after the hostserver has been cycled and before any IDEs are launched.
Russ Ross
I'm starting to wonder if the hostserver never clears the IDE access unless you do log off & exit for the IDE.
Perhaps just closing the IDE via clicking on X might be leaving hostserver ports allocated.
Now that we see this, I'm going to discuss a regualar recycle of the hsotserver.
Since we are expected to do a quarterly fail-over this potentially wastefull allocation when not released upon closing an IDE wasn't coming to our attention.
Still a good bit of conjecture but starting to come into focus.
Might also explain why the IDE almost alwasy says a site is locked when it never is.
System
Originally posted by Michael Hertel
I totally agree with you and your findings.
There are only two of us here but I have made sure we File/Exit instead of clicking X for the reasons you mentioned. Especially the "locked" when it is not.
I was able to identify the workstations logged in with the lsof command. I only had valid sessions appear.
You're probably right about the Xing out. It leaves the session behind.