Submitted by mtahir04july on Tue, 02/02/2010 - 08:15
We have Xeon Server 2.8 with 2 GB ram i have installed CentOS 5.4 with virtualmin i have created 80 domains now i am trying to create batch users but my server response very slow it work like 286 computer of older age, is due to virtualmin
Status:
Active
Comments
Submitted by andreychek on Tue, 02/02/2010 - 10:17 Comment #1
I'll forward this to Jamie for further comment.
You had mentioned something similar a few months ago in the forums regarding creating 100,000 users:
http://www.virtualmin.com/node/12906
That sort of number will always take a decent amount of resources to create :-)
However, there was recently some fixes Jamie added into the codebase to improve performance in regards to user creation and display, though I don't recall which version that went into (whether it's the current version, or whether it's part of the next release).
Submitted by JamieCameron on Tue, 02/02/2010 - 11:19 Comment #2
How many users are you trying to batch create? There are some scaling issues in Virtualmin once you get above several thousand, as most admins don't create that many users..
Submitted by mtahir04july on Wed, 02/03/2010 - 04:04 Comment #3
I have to create atlest 1500 email account in each domains i have 80 domains created in my virtualmin server
Submitted by JamieCameron on Wed, 02/03/2010 - 12:41 Comment #4
Wow .. so you actually have 120,000 users in total?
That is too many for Virtualmin to handle, sorry .. it wasn't designed for hosting more than a few thousand mailboxes.
Submitted by mtahir04july on Wed, 02/10/2010 - 11:56 Comment #5
but there is no heavy traffic on server max 1200 mailbox in each domain (Total 80 Domains)
so please can any one help how can i create them any script
Submitted by JamieCameron on Wed, 02/10/2010 - 17:01 Comment #6
Have you tried a shell script that runs the
virtualmin create-user
API command multiple times?Something like :
#!/bin/sh
virtualmin create-user --domain whatever.com --user joe --pass secret
virtualmin create-user --domain whatever.com --user bob --pass secret
etc..
Submitted by mtahir04july on Mon, 02/22/2010 - 06:53 Comment #7
how it will work i have to run this command on shell, if yes then each line will take more time, or can i create a text file and run bash command on it.
Submitted by JamieCameron on Mon, 02/22/2010 - 12:29 Comment #8
You can create a text file shell script and run it all at once ..