cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Priming Windchill Caches after a Restart

vaillan
5-Regular Member

Priming Windchill Caches after a Restart

After a Windchill system is restarted the first user(s) accessing the system can experience slower performance for some actions while numerous Windchill caches are being populated.  These caches could be pre-populated before users started using the system again by using the Apache 'ab' utility found in the Apache/bin directory. 

The usage is: ab -A user:pass "URL"

Where URL can be any Windchill.  When Windchill is using SSL the 'abs' utility should be used instead.

i.e.

D:\ptc\Windchill_10.0\Apache\bin\abs.exe -A username/password "https://pds.ptc.com/Windchill/app/#ptc1/project/listFiles?oid=OR%3Awt.projmgmt.admin.Project2%3A921844552&u8=1"

The output from the command also contains performance metrics from the request too.

Sample output:

D:\ptc\Windchill_10.0\Apache\bin\ab.exe http://www.google.com/

This is ApacheBench, Version 2.3 <$Revision: 655654 $>

Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/

Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.google.com (be patient).....done

Server Software:        gws

Server Hostname:        www.google.com

Server Port:            80

Document Path:          /

Document Length:        13996 bytes

Concurrency Level:      1

Time taken for tests:   0.087 seconds

Complete requests:      1

Failed requests:        0

Write errors:           0

Total transferred:      14732 bytes

HTML transferred:       13996 bytes

Requests per second:    11.49 [#/sec] (mean)

Time per request:       87.009 [ms] (mean)

Time per request:       87.009 [ms] (mean, across all concurrent requests)

Transfer rate:          165.35 [Kbytes/sec] received

Connection Times (ms)

              min  mean[+/-sd] median   max

Connect:       26   26   0.0     26      26

Processing:    61   61   0.0     61      61

Waiting:       34   34   0.0     34      34

Total:         87   87   0.0     87      87

1 REPLY 1

The abs command was not available in a 10.0 instance of Windchill.  The ab command however did have -f protocol setting AND showed usage options of https:

Usage: ./ab [options] [http[s]://]hostname[:port]/path

Should I assume thats the approach for SSL installations.

Top Tags