Virtualmin slower than normal

Hi,

I'm having an issue with one of my virtualmin GPL running server.

Let me provide my server configuration CPU : Intel® Xeon® Processor E3-1240 (8M Cache, 3.30 GHz) RAM : 32 GB DDR3 Hard Disk : Segate 1TB RAID Network Speed : 20Mbps Addiotional IP : 1010

OS : CentOS 6.5 Final Architecture : 64 BIT Control Panel : Virtualmin GPL

Above are my configuration.

I use my domain : abc.com (as main domain name)

and add additional 1010 domain as x2.abc.com , x3.abc.com , .... x254.abc.com y2.abc.com, y3.abc.com, .... y254.abc.com z2.abc.com, z3.abc.com,..... z254.abc.com m2.abc.com, m3.abc.com ,.... m254.abc.com

Now the problem arrives...

When I added x2.abc.com ,... x254.abc.com all is fine and working too good... (fast) Then when I added y2.abc.com, .... y254.abc.com ... that is also fine the system is working normally not fast but still good...

But when I add z2.abc.com -z254.abc.com and m2.abc.com-m254.abc.com ... the system feels too slow. It takes around 1-2min to open Create a New Virtual Server and 4-5 min to add it...

I don't mind slowing of this speed on back-end, but on front end it slows down too..

I have added Email Platform on it and it feels quite heavy to work on it.

Then I check my system process with htop and top commands.

on htop it shows 8 core and around 10GB of 32GB is utilizing , but also show collect.info is taking 100% CPU of one core...

So I look around and got the answer on how to stop that from running continously... by changing Interval between status collection job to 60min...

for this I need to recheck and reconfigure my virtualmin configuration there it shows error on webalizer so I disable it from feature and plugins...

There I disable almost everything as I don't need to use apache mail database on 1010 domains.. I need it for only 1 domain... so I disable most of features (like spamassasin virus apache webmin awstats mail DAV ) on 1009 domain (except main domain)..

Now my recheck and reconfiguration is done and my server doesn't show any 100% utilization of CPU... all good seems only on htop ....

[ MY MAIN ISSUE ] 1. Still right now when I try to work on virtualmin back-end it is still slow ... It take around 30sec - 1min on showing Create a new Server page... and adding new virtual server is taking still 3-4 min.

  1. Working on Email Platform is little better but it still showing sloweness as compared to my other servers where only 8GB RAM (and 256 IP's) I can work smoothly...

[My Question's]

  1. Is there a limit on no. of adding domains on the Virtualmin ?

  2. Can we increase speed of my server on back-end and front-end?

  3. Can I allocate more priorities to mysql apache PowerMTA or any other services.

  4. Is disabling is better choice then deleting that feature ?

  5. Anything I miss or done wrong on setup ?

Your/anyone view on my situation is most welcomed

Please revert on this, looking for your positive reply.

Thanks & Regards

Kishan Giri skype: kishan.giri

Status: 
Closed (fixed)

Comments

Howdy -- Jamie asked if it might be possible, after he gets back from his Christmas vacation, whether he could log into your system to take a look at the issues you're seeing.

Would it be possible to login to your server, and for him to add a domain? He would also need SSH access.

If that's possible -- could you provide us with root login details to access your server? I'll mark your request here as private, so only the Virtualmin staff can see it. Alternatively, you could also email your login details to eric@virtualmin.com. Thanks!

Hi,

Sending you details on the following email id

Thanks & Regards

Kishan Giri

Hi,

Any update on this?

I had sent an email around 2 days back.

Thanks & Regards

Kishan Giri

We're a little behind due to the holidays, we'll be taking a look at your system shortly and we'll let you know what we find.

Ok, I think I may have fixed this issue - it turns out that when you have a large number of IP addresses, Virtualmin is very slow (order N^2) listing them. I have fixed this on your system, so please let us know if performance has improved.

Hi,

Thanks for your help, yes it seems now it is working faster than before.

May I know what exactly did you change

coz I have servers which has more than 200 IP's .

This way I'll not point out in future :)

Thanks & Regards

Kishan Giri

Great! You can copy the fix over to another system by transferring the file /usr/libexec/webmin/net/redhat-linux-lib.pl

Also, note that Jamie will include that fix into the next version of Webmin.

Also, the same fix will be in the next Webmin release.

Automatically closed -- issue fixed for 2 weeks with no activity.

Hi,

Sorry to reply late...

Did you release new virtualmin... If not I need to know what changes you made as I'm shifting my server from SATA to SSD ... so I need that as my restoration process seems little slower than usual :(

Not yet - should be next week.