PDA

View Full Version : ISPConfig limits


DarkBen
2nd December 2005, 13:37
I use ISPConfig on Debian 3.1 (with perfect setup) and i wonder what the max users number that is possible to create on the server ? today I have already 600 accounts users (mail + http) on the system... Which is the limit not to be exceeded ? my CPU goes up up to 60 % (spamassassin is greedy in CPU !!! : average is 17 %).

Sorry for my english ;)

thanks for your great work :)

till
2nd December 2005, 15:52
I think the only limit is the hardware. One problem might be that ISPConfig uses spamc and not spamd which uses more cpu power, but this will be addressed in later versions.

DarkBen
5th December 2005, 18:43
Ok, how can i regulate flow of mails ? I think if i regulate this flow, my cpu will be use less. Could we manage the postfix queue to space the treatment of emails ?

Thanks for your help !

till
5th December 2005, 19:56
You mean that only a specific number of emails per minute is processed?

DarkBen
5th December 2005, 22:25
yes why not ? do you think that is a good idea ? I think that because when my cpu goes up 60, 80 %, access time to the webmail (or all http access) are very slow !
What do you think about that ?

till
5th December 2005, 22:34
I know that you can set an cpu usage limit in exim MTA. Maybe there is something similar for postfix. This might be a better solution then limiting the number of mails.

DarkBen
14th December 2005, 13:15
Today when i do a top comand i have 650 tasks total !!!!
The major part of proccess are spamassassin and clamscan. The problem is during this time http access is very slow !!! My clients can't access to their sites. How can i regular the number of task ? My CPU is Sempron 2400+. Do you think the problem is the cpu ? I have an ISPConfig 2.1.1 on debian sarge

Thanks for your help !

falko
14th December 2005, 13:58
Today when i do a top comand i have 650 tasks total !!!!
The major part of proccess are spamassassin and clamscan. The problem is during this time http access is very slow !!! My clients can't access to their sites. How can i regular the number of task ? My CPU is Sempron 2400+. Do you think the problem is the cpu ?
The problem will be the CPU and amount of RAM in conjunction with too many web sites/users/email addresses for that hardware.
Maybe you can swith off spam filtering for users that use spam filters in their email clients, or outsource the spam filtering to another server?

DarkBen
14th December 2005, 14:24
Thanks Falko,

if i change the CPU with a 3200+ barton, do you think it will be better ? i have 1GB of ram yet...
I don't know how i could outsource spam filtering on another server :(
It seems to be not trivial...

falko
14th December 2005, 14:43
if i change the CPU with a 3200+ barton, do you think it will be better ? i have 1GB of ram yet...

I'd run top to see how much RAm is used on your system.

DarkBen
14th December 2005, 15:25
i do a "top"

Mem : 905400k Total

Mem : 875884k Used

but the total of tasks is less significant (130 tasks)

falko
14th December 2005, 15:56
The bottleneck seems to be your RAM... What does top say about the CPU load?

DarkBen
14th December 2005, 17:19
I think Linux is using all of the ram. On my other ISPConfig server i have not any problem but ram is 95% used. More the ram is more it uses it.
My CPU goes up 60 % or 90 % When i have 600 tasks running !
Actually i have only 150 tasks but my CPU goes between 10 and 95 %...

falko
14th December 2005, 19:46
What's the average load?

DarkBen
14th December 2005, 19:51
average on a day is 3.94 % cpu usage by system and 19.34 % cpu usage by users.

falko
14th December 2005, 21:50
No, I mean the load average, like here:

20:48:59 up 115 days, 9:18, 1 user, load average: 0.42, 0.47, 0.45
115 processes: 112 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: 29.0% user, 5.2% system, 0.0% nice, 65.8% idle
Mem: 514388K total, 485780K used, 28608K free, 41636K buffers
Swap: 514072K total, 56184K used, 457888K free, 242168K cached

DarkBen
15th December 2005, 11:59
top - 10:58:12 up 15 days, 15:24, 1 user, load average: 1.18, 1.04, 0.95
Tasks: 121 total, 8 running, 112 sleeping, 0 stopped, 1 zombie
Cpu(s): 5.3% user, 7.6% system, 0.0% nice, 87.1% idle
Mem: 905400k total, 897292k used, 8108k free, 19540k buffers
Swap: 2714944k total, 78220k used, 2636724k free, 720340k cached


So what do you think ? :)

falko
15th December 2005, 12:09
Is your load constantly about 1?

DarkBen
15th December 2005, 15:49
I waited for my cpu goes up 50 %

top - 14:48:25 up 15 days, 19:14, 1 user, load average: 6.25, 5.85, 5.09
Tasks: 134 total, 1 running, 133 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.7% user, 2.0% system, 0.0% nice, 97.4% idle
Mem: 905400k total, 875852k used, 29548k free, 21528k buffers
Swap: 2714944k total, 78356k used, 2636588k free, 686268k cached

:(

top - 14:49:14 up 15 days, 19:15, 1 user, load average: 3.03, 5.02, 4.84
Tasks: 139 total, 4 running, 135 sleeping, 0 stopped, 0 zombie
Cpu(s): 87.4% user, 11.3% system, 0.0% nice, 1.3% idle
Mem: 905400k total, 898940k used, 6460k free, 22088k buffers
Swap: 2714944k total, 78336k used, 2636608k free, 655364k cached

till
15th December 2005, 16:09
You should consider replacing the CPU by a faster one. Maybe consider one of the new dual core CPU's, if your mainboard is compatible with them.

danf.1979
3rd February 2006, 07:21
DarkBen, just to know about hardware limits, do you have any ideas on how many mails are you processing per day? Thanks for the info.

DarkBen
8th February 2006, 16:35
Stats of Postfix : 19008 mails during last 24 h ...

I have an ISPConfig 2.1.1 on Debian Sarge 3.1

Proc : athlon XP 3000+

Memory : 512 DDR

gog
15th February 2006, 00:51
Hm, you have that much traffic, and so many users & still you can't afford better hardware? 2-3-4 GB's of RAM?

Hm...

till
15th February 2006, 10:20
Why switch to bigger hardware if the setup works for him? I guess he has his server rented from a server hosting provider and often you can not add more ram to these servers without changing the complete server and reinstall everything.

DarkBen
15th February 2006, 12:16
I changed my server and all is ok now. :cool: My load average is 0.61 today :)

My cpu is a P4 3 Gz with 1 Go memory ddr

I explained that in this post :

http://www.howtoforge.com/forums/showthread.php?t=2448

cjc81
30th May 2007, 13:51
Hi guys, since we're in the topic of server load now, my server load is consistently above 2.... This is a SMP rig.

top - 18:50:20 up 2 days, 16:49, 1 user, load average: 4.45, 5.89, 6.12

8896 spam 25 0 25628 19m 996 R 64 2.5 0:02.55 clamscan
8919 spam 25 0 20308 15m 996 R 52 2.0 0:01.73 clamscan
8878 master 25 0 25308 19m 996 R 47 2.5 0:02.75 clamscan
8933 master 21 0 25252 20m 2448 S 29 2.7 0:00.87 spamassassin
4 root RT 0 0 0 0 S 0 0.0 0:03.18 migration/1
39 root 15 0 0 0 0 S 0 0.0 0:01.54 pdflush

Any idea wad's wrong?

till
30th May 2007, 14:52
You should consider to switch to clamd:

http://www.howtoforge.com/forums/showthread.php?t=12864&highlight=clamd

cjc81
30th May 2007, 20:38
You should consider to switch to clamd:

http://www.howtoforge.com/forums/showthread.php?t=12864&highlight=clamd
Alright sir.

I'm trying it out right now.

Will update with results.

DarkBen
15th June 2007, 16:07
I switch to clamdscan too and my load average is under 1 now !

http://www.howtoforge.com/forums/showthread.php?t=13385