Jun 2006
Attack of the DNS vol 2
08.06.06 15:10 |
OS X Server
| Permalink
Since 10.4.6 all services (it seems) require a FQDN
to function. With a NAT-d IP this is ofcourse
impossible.
So to get servermgrd to cool down behind a NAT:
* Configure DNS service (just add your local IP, no MX etc)
* Enable DNS server
* Add server IP to DNS servers
* Add NAT router's IP to DNS servers
Then check
http://docs.info.apple.com/article.html?artnum=303697
http://lists.apple.com/archives/macos-x-server/2006/May/msg01265.html
So to get servermgrd to cool down behind a NAT:
* Configure DNS service (just add your local IP, no MX etc)
* Enable DNS server
* Add server IP to DNS servers
* Add NAT router's IP to DNS servers
Then check
host localiphost name.of.serversudo changeip
-checkhostname
http://docs.info.apple.com/article.html?artnum=303697
http://lists.apple.com/archives/macos-x-server/2006/May/msg01265.html
|
ApacheBench
03.06.06 07:49 |
OS X Server
| Permalink
Interesting differences running ab -n 1000 -c 10
http://localhost/
1.5Ghz PowerBook G4 running Apache 1.3.3 OS X 10.4.6
Server Software: Apache/1.3.33
Server Hostname: localhost
Server Port: 80
Document Path: /
Document Length: 1456 bytes
Concurrency Level: 10
Time taken for tests: 2.432 seconds
Complete requests: 1000
Failed requests: 0
Broken pipe errors: 0
Total transferred: 1867000 bytes
HTML transferred: 1456000 bytes
Requests per second: 411.18 [#/sec] (mean)
Time per request: 24.32 [ms] (mean)
Time per request: 2.43 [ms] (mean, across all concurrent requests)
Transfer rate: 767.68 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.4 0 13
Processing: 8 22 28.9 13 292
Waiting: 2 22 28.9 12 291
Total: 8 23 28.8 13 292
Percentage of the requests served within a certain time (ms)
50% 13
66% 15
75% 18
80% 23
90% 41
95% 75
98% 134
99% 153
100% 292 (last request)
And Mac mini 1.25 Apache 2.2 OS X 10.4.6 Server:
Server Software: Apache/2.2.0
Server Hostname: localhost
Server Port: 80
Document Path: /
Document Length: 5634 bytes
Concurrency Level: 10
Time taken for tests: 2.655151 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 5
Total transferred: 5939098 bytes
HTML transferred: 5622732 bytes
Requests per second: 376.63 [#/sec] (mean)
Time per request: 26.552 [ms] (mean)
Time per request: 2.655 [ms] (mean, across all concurrent requests)
Transfer rate: 2184.06 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 3.2 0 97
Processing: 4 25 27.1 15 140
Waiting: 0 0 0.0 0 0
Total: 4 25 27.3 15 140
Percentage of the requests served within a certain time (ms)
50% 15
66% 15
75% 20
80% 26
90% 56
95% 110
98% 118
99% 130
100% 140 (longest request)
Now where did I put that server?
03.06.06 07:49 |
OS X Server
| Permalink
When (mail) disaster strikes!
03.06.06 07:48 |
OS X Server
| Permalink
PHP weirdness
Is it just me or is it really WebDAV?
01.06.06 07:47 |
OS X Server
| Permalink
When moving something to/from a WebDAV volume (such
as an iDisk), try saving something to the desktop.
Here, the file is saved but doesnt show up, neither on the desktop, nor by browsing the Desktop folder (in any view). Things get really weird when you "open file" from the Terminal, then Command-click on the title bar - suddenly the file just appears.
This actually happens in any folder.
Here, the file is saved but doesnt show up, neither on the desktop, nor by browsing the Desktop folder (in any view). Things get really weird when you "open file" from the Terminal, then Command-click on the title bar - suddenly the file just appears.
This actually happens in any folder.