Home arrow Forum
psadmin.org
Welcome, Guest
Please Login or Register.    Lost Password?
cache settings in PSAPPSERV.cfg (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: cache settings in PSAPPSERV.cfg
#68
Guest (Visitor)
Click here to see the profile of this user
Birthdate:
cache settings in PSAPPSERV.cfg 9 Months, 1 Week ago  
Hello

I have peoplesoft installed in my laptop. (PT - 8.46, 8.9 HRMS)
I am wondering The maxcachememeory set to zero (MaxCacheMemory=0)
in cache section in PSAPPSERV .CFG . what does it mean, the
appserver not caching any objects? Please see the below
cache section in my system.

[Cache Settings]
;============================================================
; Settings for managed object caching;
; Default EnableServerCaching=2, ServerCacheMode=0
; Default CacheBaseDir=%PS_SERVDIR% if defined else
; %PS_HOME/<domain name>/cache
; You can change these values by uncommenting and setting
; to the desired value
;===========================================================
;-----------------------------------------------------------
; EnableServerCaching -
; 0 Server file caching disabled
; 1 Server file caching limited to most used classes
; 2 Server file caching for all types
;EnableServerCaching=2
;-----------------------------------------------------------
; CacheBaseDir = the base file cache directory
;CacheBaseDir=%PS_SERVDIR%
;------------------------------------------------------------
; ServerCacheMode
; 0 One file cache directory per app server process
; 1 One file cache directory per domain (shared file
; cache, needs to be preloaded)
;ServerCacheMode=0
;------------------------------------------------------------
; Deprecated cache settings : MaxInMemoryObjects
;----------------------------------------------------------
;-----------------------------------------------------------
; MaxCacheMemory - controls cache memory pruning
; 0 cache memory pruning disabled
; >0 max size of memory cache in MBytes
MaxCacheMemory=0
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
 
Last Edit: 2008/03/31 18:13 By PSADMIN.
  Reply Quote
#69
PSADMIN (Admin)
Admin
Posts: 68
graph
User Online Now Click here to see the profile of this user
Re:cache settings in PSAPPSERV.cfg 9 Months, 1 Week ago  
No. The App server will cache even though you have the parameter MaxCacheMemory is set as 0. The reason is as under:

First, according to your config file, the “EnableServerCaching” is left as default. That means that “EnableServerCaching” is set to 2. Which means Server file caching for all types. So you should see files in the $PS_HOME/appserv/<Server Name>/CACHE/ PSAPPSRV_1/ directory like below:

-rw------- 1 psoft psoft 24172 Mar 31 14:37 BPM.KEY
-rw------- 1 psoft psoft 0 Mar 31 14:37 BPM.DAT
-rw------- 1 psoft psoft 24172 Mar 31 14:37 BMM.KEY
-rw------- 1 psoft psoft 0 Mar 31 14:37 BMM.DAT
-rw------- 1 psoft psoft 24172 Mar 31 14:37 BCM.KEY
-rw------- 1 psoft psoft 0 Mar 31 14:37 BCM.DAT
-rw------- 1 psoft psoft 24172 Mar 31 14:37 ATM.KEY
-rw------- 1 psoft psoft 0 Mar 31 14:37 ATM.DAT
-rw------- 1 psoft psoft 24172 Mar 31 14:37 ARCTM.KEY
-rw------- 1 psoft psoft 0 Mar 31 14:37 ARCTM.DAT
-rw------- 1 psoft psoft 24172 Mar 31 14:37 ARCOM.KEY
-rw------- 1 psoft psoft 0 Mar 31 14:37 ARCOM.DAT
-rw------- 1 psoft psoft 24172 Mar 31 14:37 APM.KEY
-rw------- 1 psoft psoft 0 Mar 31 14:37 APM.DAT
-rw------- 1 psoft psoft 24172 Mar 31 14:37 AES.KEY
-rw------- 1 psoft psoft 0 Mar 31 14:37 AES.DAT
-rw------- 1 psoft psoft 24172 Mar 31 14:37 AEM.KEY
-rw------- 1 psoft psoft 0 Mar 31 14:37 AEM.DAT
-rw------- 1 psoft psoft 24172 Mar 31 14:37 ACM.KEY
-rw------- 1 psoft psoft 0 Mar 31 14:37 ACM.DAT

When you set the EnableServerCaching set as 2 [Default] or 1 [Server file caching limited to most used classes], then you would see the cache files in the CACHE directory.

If you don’t want the server to cache, which is not recommended, you can set Server file caching as 0. This will make the app server to hit the DB server for every request, which will overload the DB server.

With Server file caching limited to most used classes = 0, you will see no DAT or KEY files, but you will see the 0 byte CACHE.LOK files in each sub directory like below:




MaxCacheMemory setting controls cache memory pruning and not to enable or disable Cache.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
 
Last Edit: 2008/03/31 15:45 By PSADMIN.
  Reply Quote
#70
Guest (Visitor)
Click here to see the profile of this user
Birthdate:
Re:cache settings in PSAPPSERV.cfg 9 Months, 1 Week ago  
Thanks! Do you have any documentation/info about the contents in PSAPPSERV.CFG
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#71
PSADMIN (Admin)
Admin
Posts: 68
graph
User Online Now Click here to see the profile of this user
Re:cache settings in PSAPPSERV.cfg 9 Months, 1 Week ago  
People Books provide very detailed information on setting up app servers and the implications on various parameters.

Home > PeopleBooks > Enterprise PeopleTools 8.48 PeopleBook: System and Server Administration > Setting Application Server Domain Parameters

If you would like to read more in details on Performance configuration, there is a REDPAPER library and one of them is below. This includes app server configuration also. Click here. You Need CSC Account

Another method to understand and diagnose performance issues and tune up for best performance is to install Performance Monitoring and hookup Production and Test environments to keep track of performance issues.

Red Paper on Performance Monitoring : Click Here. You Need CSC Account
This published in 2004. But you can get now installation and configuration instructions in each Tools version separately. Also some information on the PeopleBooks about Performance Monitoring.

Note that you should not make Production environment as "Monitoring System", as it would more resources and you do not want to use Production resources for Monitoring. Use some other environment which does not get refreshed so that you keep historical data.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
 
Last Edit: 2008/04/01 11:43 By PSADMIN.
  Reply Quote
Go to top Post Reply
Powered by PsAdmin.orgget the latest posts directly to your desktop
© 2009 PSADMIN.org
PSAdmin.org is for & by the PeopleSoft Administrators to share their Experience.