SharePoint - The super user account utilized by the cache is not configured.
경고는 아닌, 단순히 정보성 이벤트 로그인데요,
로그 이름: Application
원본: Microsoft-SharePoint Products-Web Content Management
날짜: 2021-07-18 오후 4:37:13
이벤트 ID: 7362
작업 범주: Publishing Cache
수준: 정보
키워드:
사용자: TESTPC\TestUser
컴퓨터: testpc.testad.com
설명:
Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unneccesary system resources.
To configure the account use the following command 'stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url webappurl'. The account should be any account that has Full Control access to the SharePoint databases but is not an application pool account.
Additional Data:
Current default super user account: SHAREPOINT\system
메시지에도 나오지만, cache 옵션을 켜는 것이 성능상 이점이 있으므로 조언을 따르지 않을 이유가 없습니다. 따라서 다음의 명령어를,
stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue "testad\testusr" -url http://testpc
"C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\BIN" 경로에서 관리자 권한의 명령행 창을 띄워 실행하면 됩니다. (또는, 시작 메뉴에 있는 "SharePoint 2019 Management Shell"을 관리자 권한으로 띄워도 됩니다.)
그런데 이상하군요, 명령어 실행 결과로 "Operation completed successfully."라는 메시지를 보여주지만, 정작 이벤트 로그에는 그와 동시에 다음과 같은 식의 (경고가 아닌) 정보 로그가 남습니다.
로그 이름: Application
원본: Microsoft-SharePoint Products-SharePoint Foundation
날짜: 2021-07-18 오후 4:37:14
이벤트 ID: 8363
작업 범주: General
수준: 정보
키워드:
사용자: TESTPC\TestUser
컴퓨터: testpc.testad.com
설명:
SPWebApplication updated. Process Name: [STSADM] Process ID: [0x15F4] Callstack: at Microsoft.SharePoint.Administration.SPWebApplicationPropertyBagger.UpdateProperties(StringDictionary data)
at Microsoft.SharePoint.StsAdmin.SPSetProperty.Run(StringDictionary keyValues)
at Microsoft.SharePoint.StsAdmin.SPStsAdmin.RunOperation(SPGlobalAdmin globalAdmin, String strOperation, StringDictionary keyValues, SPParamCollection pars)
at Microsoft.SharePoint.StsAdmin.SPStsAdmin.Main(String[] args)
어쨌든 이후로는 관련 이벤트 로그가 남지는 않습니다. (좀 찝찝하긴 하군요. ^^;)
[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]