<div dir="ltr">Hello,<br><br>We run a Pharo (14) → GemStone/S 64 Bit 3.7.5 web application (Seaside via a Pharo-side GCI bridge) on a single Linux host, Community Edition (Stone Session limit: 20). The app serves fine, but any second login that runs during a deploy fails with:<br><br>[GemStone Login Error]  Error Number: 4039<br>Login failed: the maximum number of users are already logged in,<br>login would exceed max sessions configuration or max processes on shared cache<br><br>The puzzling part: this happens even when almost nothing is connected. After a full clean restart (stopstone/startstone + startnetldi, and pkill pgsvr to clear stragglers), with the stone reporting only the primary app session active (gslist shows j + one app), a single additional linked-GCI login for our deploy step still gets 4039. So it does not appear to be genuine session exhaustion — 17+ of the<br>20 session slots are free.<br><br>Our reading is that it is the "max processf the error, not the session-count half.Relevant config from the stone startup log:<br><br>SESSION CONFIGURATION: maximum number of concurrent sessions is 20<br>WARNING: STN_MAX_SESSIONS = 32767 exceeds AX_SESSIONS = 20<br>SHR_PAGE_CACHE_NUM_PROCS       = 72<br>SHR_PAGE_CACHE_NUM_SHARED_COUNTERS = 1900<br>SHR_PAGE_CACHE_SIZE_KB         = 500000<br>GEM_RPC_USE_SSL                = TRUE<br><br>system.conf explicitly sets STN_MAX_SESSIOby the license) and SHR_PAGE_CACHE_SIZE_KB= 500000; SHR_PAGE_CACHE_NUM_PROCS = 72 appears to be auto-derived.<br><br>Questions:<br><br>1. Is SHR_PAGE_CACHE_NUM_PROCS = 72 derived from the clamped STN_MAX_SESSIONS = 20, or from the configured<br>32767? Could the 32767→20 clamp be leavingtable sized inconsistently, socache-process slots exhaust before the 20 session slots do?<br>2. With linked GCI (libgcilnk), how many sdoes a single login actually consume vs anRPC login? We use linked GCI both for the running app and for the deploy-time login that fails — could linked<br>logins be consuming multiple cache slots ehe deploy-time login to RPC avoid the "maxprocesses on shared cache" path?<br>3. Is explicitly setting SHR_PAGE_CACHE_NUing the 20-session budget with generousheadroom) in system.conf the right fix, and what is the recommended relationship between SHR_PAGE_CACHE_NUM_PROCS, STN_MAX_SESSIONS-GCI clients on Community Edition?<br>4. Does GEM_RPC_USE_SSL = TRUE add to the cache-process/attachment cost per login?                            <br>We would rather set the config correctly than keep bouncing the stone. Any guidance on the intended sizing of SHR_PAGE_CACHE_NUM_PROCS relative to the lhether STN_MAX_SESSIONS = 32767 beingclamped is itself the trigger — would be much appreciated.<br><br>Thanks,<br>Tariq<div><br></div></div>