Re: Very slow guest login
Dashamir Hoxha <[email protected]>
| Newsgroups | gmane.linux.terminal-server.general |
|---|---|
| Message-ID | <CAMucfLw9aRovce8MHGz3GJM20iWxq3pLZ4s423xi_n-b26vutA@mail.gmail.com> |
On Thu, Jan 10, 2019 at 1:27 PM Giacomo Trovato <giacomo-o6+VoJyZ4uJWk0Htik3J/[email protected]> wrote: > Hi All, > > on my school laboratory with LTSP-MATE (server on ESXI) I've 21 fat > clients that login as guest. > > I've the reset guest account script. > > The login is very slow when all the students login at the same time (also > more than 5 minutes). > > I assume that's because the script copies at the same time all the home > folders from the template. > > Is there any way to speedup the process? > > Perhaps executing the script at logout or with a chron job at night? > In my opinion, resetting on logout is not safe, because a client may shut down abruptly, without making a logout (for example if the power goes off). A nightly reset with a cron job is also not very safe, since there may be multiple login/logout during the day. It is up to you to decide whether these risks are acceptable for your case, depending on your situation. Having said that, you may speed up a bit the process if you use `rsync` for resetting, instead of `rm` and `cp`. Regards, Dashamir _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net