CPU load is very low:

opsbd02:/samba/groups/ # uptime
 10:11am  up 2 days  0:27,  6 users,  load average: 0.89, 1.08, 1.20

This is meminfo:

opsbd02:/samba/groups/Earth # cat /proc/meminfo

MemTotal:     33032972 kB
MemFree:       3192212 kB
Buffers:        362692 kB
Cached:        7750284 kB
SwapCached:          0 kB
Active:       28361704 kB
Inactive:       863120 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:     33032972 kB
LowFree:       3192212 kB
SwapTotal:     8393920 kB
SwapFree:      8393920 kB
Dirty:              64 kB
Writeback:           0 kB
AnonPages:    21110584 kB
Mapped:         342976 kB
Slab:           255188 kB
CommitLimit:  24910404 kB
Committed_AS: 23912308 kB
PageTables:      50616 kB
VmallocTotal: 34359738367 kB
VmallocUsed:    284652 kB
VmallocChunk: 34359452987 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     2048 kB

Here goes the info about process memory:

opsbd02:/samba/groups/Earth # cat /proc/10746/status
Name:    java
State:    S (sleeping)
SleepAVG:    68%
Tgid:    10746
Pid:    10746
PPid:    1
TracerPid:    0
Uid:    200    200    200    200
Gid:    203    203    203    203
FDSize:    2048
Groups:    203
VmPeak:     8763860 kB
VmSize:     8757820 kB
VmLck:           0 kB
VmHWM:     8159084 kB
VmRSS:     7344952 kB
VmData:     8727136 kB
VmStk:          84 kB
VmExe:          36 kB
VmLib:       12496 kB
VmPTE:       14884 kB
Threads:    200
SigQ:    0/266752
SigPnd:    0000000000000000
ShdPnd:    0000000000000000
SigBlk:    0000000000000000
SigIgn:    0000000000002003
SigCgt:    1000000181005ccc
CapInh:    0000000000000000
CapPrm:    0000000000000000
CapEff:    0000000000000000
Cpus_allowed:    00000000,00000000,00000000,000000ff
Mems_allowed:    00000000,00000003

About swapping, no, the server is not swapping memory.

 opsbd02:/samba/groups/Earth # ps aux --sort -rss
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root 6817 1.7 39.0 13658276 12915848 ? S<Ll Jun08 50:03 /usr/lpp/mmfs/bin//mmfsd tomcat 10746 11.8 22.2 8757820 7344952 ? Sl Jun08 343:37 /usr/local/java/jre/bin/java -Djava.util ldap 10824 0.0 2.1 917192 704580 ? Ssl Jun08 2:09 /usr/lib/openldap/slapd -h ldap://84.88. root 5792 0.0 0.9 1175524 323312 ? Sl Jun08 0:40 /usr/lib64/jvm/java-1_5_0-ibm-1.5.0/jr

Is the memory assign to a process fixed?, does it mean that this process cannot go over the specified memory ?

The manager app:
https://cas.domain.es:8443/cas/services/
takes 5" more or less to display the login page, and around 7 seconds to display the actual page where you can edit the services that will be using the CAS server.

If this is a memory issue, I believe that we can increase the memory assigned to that process, since there is a little bit of memory available in the server. But I believe that if this is a server memory issue, after restarting the CAS it should go smoothly, at least for a while, shouldn't it? But it doesn't help either.

Thank you for your help.

On 10/06/15 09:56, Alberto Cabello Sánchez wrote:
On Tue, 09 Jun 2015 17:39:55 +0200
Josep Manel Andrés <josep.and...@bsc.es> wrote:

Which part of CAS is slow?  Is it slow to display the login page?
Right, it takes about 5" to display the login page.
Does it take a long time to validate the Service Ticket when the user gets
to Roundcube?
It is also slow every time it needs to validate a service ticket
That sounds very strange. Even the default Tomcat setup should be doing better
than that, so I think you have a general server issue.

Do the default Tomcat homepage or the Manager App show the same behaviour?
There are more webapps deployed?
Is the server swapping or showing an abnormally high CPU load?


--


WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

--
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to