Lotus Domino: Verificando o NSD
Esse artigo lista alguns itens a observar na hora de analisar o nsd
Indice
OSLockSpin(??)
When investigating the NSD server thread stacks, a specific stack always showed to be the most CPU consuming thread. Using OS tools, the thread always calls OSLockSpin().
OSLockSpin(??) is a low level function in Domino code used to grab a mutex from the OS to prevent other threads from doing the same operation at the same time.
################################### ###### thread 9/49 :: router, pid=581714, tid=3948649, ptid=9510) ###### ################################### [1] 0x090000000011597c __fd_select(??, ??, ??, ??, ??) + 0xac [2] 0x0900000000846b80 select(0x0, 0x0, 0x0, 0x0, 0x119879420) + 0x28 [3] 0x0900000000846b14 unix_usleep(0x157c0000157c0) + 0x6c [4] 0x09000000006c6450 OSDelayThread(0x5800000058) + 0x48 [5] 0x0900000000699cac OSLockSpin(0x700000004ada954) + 0x1b4 [6] 0x090000000069b1cc OSUnlockReadSem(0x700000004ada910) + 0xd4 [7] 0x090000000165b178 CRWSEMReadLock::~CRWSEMReadLock()(0x119879710, 0x200000002, 0x0) + 0x3c [8] 0x0900000001658f88 CDirAttributeTypeDescriptions::GetNext()(0x119879ab0) + 0x70 [9] 0x0900000001658d7c CDirAttributeTypeDescriptions::AssertAll()(0x119879ab0) + 0x3c ... [27] 0x0000000100067aa8 TransferThread(0x1) + 0x218 [28] 0x09000000006c2a80 ThreadWrapper(0x0) + 0x118 [29] 0x090000000049f4f4 _pthread_body(??) + 0xdc ###################################