Slow performance as root over SSH?
Hi all, (This may actually be a question for the dtach people). I've recently been using dtach (basically the detach function of screen) over SSH to instruct my freeBSD machine to perform long tasks even after I disconnect from it. It's worked great: I run SSH and connect to my box, execute dtach to create a new session in which to execute a program, hit ctr-\ to detach the session from the terminal, and then I can close the SSH tunnel. Recently, I figured to do this with portupgrade. Now, I don't allow root login, so I log in as a user in the wheel group and use su. Now, as root, I run: dtach -A portupgrade -a. It starts working, but extremely slowly. For instance, portsnap fetch update takes several minutes, whereas it normally is blazing fast when performed locally. I can still detach, exit root, and close the SSH tunnel. I suppose this is probably a dtach performance issue? If anyone has any thoughts, I'd definitely appreciate them. Thanks! Sincerely, -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slow performance as root over SSH?
Edward Ruggeri wrote: Hi all, (This may actually be a question for the dtach people). I've recently been using dtach (basically the detach function of screen) over SSH to instruct my freeBSD machine to perform long tasks even after I disconnect from it. It's worked great: I run SSH and connect to my box, execute dtach to create a new session in which to execute a program, hit ctr-\ to detach the session from the terminal, and then I can close the SSH tunnel. Recently, I figured to do this with portupgrade. Now, I don't allow root login, so I log in as a user in the wheel group and use su. Now, as root, I run: dtach -A portupgrade -a. It starts working, but extremely slowly. For instance, portsnap fetch update takes several minutes, whereas it normally is blazing fast when performed locally. I can still detach, exit root, and close the SSH tunnel. I suppose this is probably a dtach performance issue? Likely unrelated to either. There is nothing that would make root perform any differently than other users, and dtach only affects the terminal handling and not any other aspect of the system. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slow performance as root over SSH?
On Mon, Apr 14, 2008 at 9:29 AM, Kris Kennaway [EMAIL PROTECTED] wrote: Edward Ruggeri wrote: Recently, I figured to do this with portupgrade. Now, I don't allow root login, so I log in as a user in the wheel group and use su. Now, as root, I run: dtach -A portupgrade -a. It starts working, but extremely slowly. For instance, portsnap fetch update takes several minutes, whereas it normally is blazing fast when performed locally. I can still detach, exit root, and close the SSH tunnel. I suppose this is probably a dtach performance issue? Likely unrelated to either. There is nothing that would make root perform any differently than other users, and dtach only affects the terminal handling and not any other aspect of the system. Kris Thanks Kris! Well, that's what I would have expected. But then what explains the difference in performance? The only other difference I can imagine is that I am logging in with a wheel account and using su, rather than logging in as root. Being something of a novice still, could that be the issue? Sincerely, -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slow performance as root over SSH?
Edward Ruggeri wrote: On Mon, Apr 14, 2008 at 9:29 AM, Kris Kennaway [EMAIL PROTECTED] wrote: Edward Ruggeri wrote: Recently, I figured to do this with portupgrade. Now, I don't allow root login, so I log in as a user in the wheel group and use su. Now, as root, I run: dtach -A portupgrade -a. It starts working, but extremely slowly. For instance, portsnap fetch update takes several minutes, whereas it normally is blazing fast when performed locally. I can still detach, exit root, and close the SSH tunnel. I suppose this is probably a dtach performance issue? Likely unrelated to either. There is nothing that would make root perform any differently than other users, and dtach only affects the terminal handling and not any other aspect of the system. Kris Thanks Kris! Well, that's what I would have expected. But then what explains the difference in performance? The only other difference I can imagine is that I am logging in with a wheel account and using su, rather than logging in as root. Being something of a novice still, could that be the issue? No. Unless dtach is doing something bizarre I cannot think of a reason this would be happening. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slow performance as root over SSH?
On Mon, Apr 14, 2008 at 12:41 PM, Kris Kennaway [EMAIL PROTECTED] wrote: No. Unless dtach is doing something bizarre I cannot think of a reason this would be happening. Kris Maybe I simply over-sentimentalized the old days of updating the portsdb. Sincerely, -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]