28.06.2014 Views

Performance Tuning Siebel Software on the Sun Platform

Performance Tuning Siebel Software on the Sun Platform

Performance Tuning Siebel Software on the Sun Platform

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

file(blocks) unlimited unlimited<br />

data(kbytes) 4194303 4194303<br />

stack(kbytes) 512 512<br />

coredump(blocks) unlimited unlimited<br />

nofiles(descriptors) 65536 65536<br />

vmemory(kbytes) unlimited unlimited<br />

The preceding setting allows <strong>the</strong> siebsvc to mmap <strong>the</strong> .shm file and <strong>the</strong>reby siebsvc<br />

succeeds in forking <strong>the</strong> rest of <strong>the</strong> processes and <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> server processes start up<br />

successfully. Thus this finding enables <strong>on</strong>e to c<strong>on</strong>figure MaxTasks greater than 9000 <strong>on</strong><br />

<strong>the</strong> Solaris OS. That means <strong>on</strong>e can get around <strong>the</strong> scalability limit of 9000 users per<br />

<str<strong>on</strong>g>Siebel</str<strong>on</strong>g> server, but how much higher can <strong>on</strong>e go? We determined <strong>the</strong> limit to be 18,000. If<br />

MaxTasks was c<strong>on</strong>figured to > 18000, <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> calculates <strong>the</strong> *.shm file size to be about<br />

2Gbytes. siebsvc tries to mmap this file and fails, as it has hit <strong>the</strong> limit for a 32-bit<br />

applicati<strong>on</strong> process.<br />

The following listing shows <strong>the</strong> <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> .shm file with maxtask set to 18,000:<br />

sdcv480s002:/export/siebsrvr/admin/%ls -l *.shm ; ls -lh *.shm<br />

-rwx------ 1 sunperf o<strong>the</strong>r 2074238976 Jan 25 13:23 siebel.sdcv480s002.shm*<br />

-rwx------ 1 sunperf o<strong>the</strong>r 1.9G Jan 25 13:23 siebel.sdcv480s002.shm*<br />

sdcv480s002:/export/siebsrvr/admin/%plimit 12527<br />

12527: siebsvc -s siebsrvr -a -g sdcv480s002 -e siebel -s sdcv480s002<br />

resource current maximum<br />

time(sec<strong>on</strong>ds) unlimited unlimited<br />

file(blocks) unlimited unlimited<br />

data(kbytes) 4194303 4194303<br />

stack(kbytes) 512 512<br />

coredump(blocks) unlimited unlimited<br />

nofiles(descriptors) 65536 65536<br />

vmemory(kbytes) unlimited unlimited<br />

sdcv480s002:/export/siebsrvr/admin/%prstat -s size -u sunperf -a<br />

PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP<br />

12527 sunperf 3975M 3966M sleep 59 0 0:00:55 0.0% siebsvc/3<br />

12565 sunperf 2111M 116M sleep 59 0 0:00:08 0.1% siebmtsh/8<br />

12566 sunperf 2033M 1159M sleep 59 0 0:00:08 3.1% siebmtshmw/10<br />

12564 sunperf 2021M 27M sleep 59 0 0:00:01 0.0% siebmtsh/12<br />

12563 sunperf 2000M 14M sleep 59 0 0:00:00 0.0% siebproc/1<br />

26274 sunperf 16M 12M sleep 59 0 0:01:43 0.0% siebsvc/2<br />

In <strong>the</strong> rare case <strong>the</strong>re is a need to run more than 18,000 <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> users <strong>on</strong> a single <str<strong>on</strong>g>Siebel</str<strong>on</strong>g><br />

server node, <strong>the</strong> way to do it is to install ano<strong>the</strong>r <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> server instance <strong>on</strong> <strong>the</strong> same<br />

node. This works well and is a supported c<strong>on</strong>figurati<strong>on</strong> <strong>on</strong> <str<strong>on</strong>g>Siebel</str<strong>on</strong>g>/<strong>Sun</strong> platform. It is not<br />

advisable to c<strong>on</strong>figure more MaxTasks than needed, as this could affect <strong>the</strong><br />

performance of <strong>the</strong> overall <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> enterprise.<br />

7.3.2 Bloated <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> Processes (Comm<strong>on</strong>ly Mistaken as Memory Leaks)<br />

Symptom<br />

During some of <strong>the</strong> high c<strong>on</strong>current user tests, it was observed that hundreds of users<br />

suddenly failed.<br />

<str<strong>on</strong>g>Performance</str<strong>on</strong>g> <str<strong>on</strong>g>Tuning</str<strong>on</strong>g> <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> <str<strong>on</strong>g>Software</str<strong>on</strong>g> <strong>on</strong> <strong>the</strong> <strong>Sun</strong> <strong>Platform</strong> Page 34

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!