| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hello all,
We have a build environment based upon Microsoft VC++ which rsh's the build
commands to the Mac. If the compile-file rate is too high, we start getting
rshd errors. When rsh'ing rapidly, rshd on the Mac seems to be running out
of privileged ports to open stderr upon. The following script was created
to show and reproduce the errors. It has been run from various Unix
machines and a similar script has been run from a Window machine all with
the same errors occurring:
#!/bin/sh
loop=0
while [ $loop -lt 1000 ]; do
echo $loop;
rsh mackie sleep 0;
loop=$(( $loop + 1 ));
done
Each rsh only does a sleep. After 42 runs, the rshd errors with:
"can't get stderr port: Can't assign requested address"
This goes on for a while and then clears itself up after ~50 seconds. Then
the whole cycle starts over again.
I have enabled rshd through "xinetd.d/shell". I have tried to set various
kernel parameters and nothing seems to affect the outcome. It seems to have
lingering sockets, or something similar. I have taken the Darwin source for
rshd.c and modified it to try to resolve this problem with no luck.
| References: | |
| >rshd running out of privileged ports (From: "Mark Armstrong" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.