Date: Tue, 7 Aug 2001 10:08:55 +0200 From: =?iso-8859-1?Q?Bj=F6rn_T=F6rnqvist?= <bjorn.tornqvist@west.se> To: <freebsd-questions@freebsd.org> Subject: Speeding up account-adding? Message-ID: <013501c11f18$346fc1a0$0e00a8c0@bashful>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi, At work, we need to add 100k+ loginaccounts on a single system, but I've found that after about 15k accounts it takes ~5 seconds to add it (through pw useradd). My guess is that its the pwmkdb that is slowing things down at an exponetial rate - anyone know how to fix this? Please reply to me as I'm not a member of the list. /Bjorn ____ Björn Törnqvist Software Engineer, Founder @ west.se Tel: +46 457 386295 Mobile: +46 733 31 21 31 [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4616.200" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hi,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>At work, we need to add 100k+ loginaccounts on a single system, but I've found that after about 15k accounts it takes ~5 seconds to add it (through pw useradd).</FONT></DIV> <DIV><FONT face=Arial size=2>My guess is that its the pwmkdb that is slowing things down at an exponetial rate - anyone know how to fix this?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Please reply to me as I'm not a member of the list.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>/Bjorn</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>____<BR>Björn Törnqvist<BR>Software Engineer, Founder @ west.se<BR>Tel: +46 457 386295<BR>Mobile: +46 733 31 21 31<BR></FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013501c11f18$346fc1a0$0e00a8c0>
