 |
 |
OS X 10.4.x Server problems makes the X Serve useless...
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Oct 2000
Location: NY,NY,USA
Status:
Offline
|
|
Well very simple running big server moving lot's of files, once I hit about the 100000 file mark scp-ing files it crashes and that is the end of the xserve.
Everytime it happens I have to call someone and send them to the server to manually reboot.
Anyone know what's happening there? Or am I the only one pushing these amount of individual files onto an xserve.
Not very impressed by this xserve G5....
|
|
*m
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Oct 2000
Location: NY,NY,USA
Status:
Offline
|
|
I guess I should clearify, sshd seems to hang. Crashlog shows nuttin.
|
|
*m
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2000
Location: Seattle, WA, King
Status:
Offline
|
|
If it's useless to you, you could send it my way.... 
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status:
Offline
|
|
Originally Posted by gooffer
I guess I should clearify, sshd seems to hang. Crashlog shows nuttin.
Maybe using VNC would help diagnose... In the energy saver settings, there's a "Restart automatically if the computer 'freezes' " option. This works by setting the PMU to restart the machine in five minutes. Every few minutes, it resets the timer. If the timer ever doesn't get reset, the PMU automatically reboots the machine. I'm not exactly sure what the times are, but that's the idea. So, if the machine isn't automatically rebooting for you, then it's still running. You could also write a script for launchd that checks to see if sshd has hung and restarts it.
|

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Oct 2000
Location: NY,NY,USA
Status:
Offline
|
|
Well re-phrase again, when you get to the actual server the machine does not appear to hang it is the sshd that is frozen and there is no way to relauch it without having it rebooted. My guess is that it is related to OS X running out of file descriptors but I am not sure if this makes sense. Something is making it run into trouble, is there some limitation on how many files can be transfered ?....
Might have to contact apple about this some time, I have a couple of more worms for them to look at. Coming to think of it is the swapping of harddrives on an Xserve and same problem that you get in windows were C becomes D or E or vise versa after a reboot and you can never reformat a drive before first checking which one is which, very anoying to say the least.
|
|
*m
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jan 2001
Location: Badfort
Status:
Offline
|
|
I've not tried using scp with that number of files, how about looking at more appropriate tools, rsync for example? Could you be a little more descriptive of your issue with drives? If you mean the fact the entry in /dev is not consistent, i believe that's a consequence of the way OF sets up the device tree at boot. There are other ways to uniquely identify a volume.
|
|
You see, my friends, pirates are the key. - thalo
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Oct 2000
Location: NY,NY,USA
Status:
Offline
|
|
2 million files, adding sometimes a hundert thousand a day all new once. Rsync makes no sense, would be way to slow I know exactly which files are new. Hence scp is the only way to go. If there wasn't that weird time-out, hanging of sshd or a way to relaunch it I would be fine. I am still thinking file discriptors have to have something to go with it. Anyone know if there might be a set limit.
|
|
*m
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jan 2001
Location: Badfort
Status:
Offline
|
|
have you looked at sshd when you're running your transfer? fstat may tell you something. Why would scp require that many open file descriptors? you could also bump up kern.maxfiles above 12288 with sysctl; but i think you might be better off examining your methodology. if you know your changed files exactly, then perhaps make up a BOM file and pipe them through ditto over ssh? rsync would also let you do this ( not with a BOM file), and has a very efficient client/server mode. What's the application here?
|
|
You see, my friends, pirates are the key. - thalo
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|