ISPConfig limits

Discussion in 'General' started by DarkBen, Dec 2, 2005.

  1. DarkBen

    DarkBen New Member

    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 :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. DarkBen

    DarkBen New Member

    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 !
     
    Last edited: Dec 5, 2005
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You mean that only a specific number of emails per minute is processed?
     
  5. DarkBen

    DarkBen New Member

    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 ?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  7. DarkBen

    DarkBen New Member

    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 !
     
  8. falko

    falko Super Moderator Howtoforge Staff

    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?
     
  9. DarkBen

    DarkBen New Member

    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...
     
  10. falko

    falko Super Moderator Howtoforge Staff

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

    DarkBen New Member

    i do a "top"

    Mem : 905400k Total

    Mem : 875884k Used

    but the total of tasks is less significant (130 tasks)
     
  12. falko

    falko Super Moderator Howtoforge Staff

    The bottleneck seems to be your RAM... What does
    Code:
    top
    say about the CPU load?
     
  13. DarkBen

    DarkBen New Member

    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 %...
     
  14. falko

    falko Super Moderator Howtoforge Staff

    What's the average load?
     
  15. DarkBen

    DarkBen New Member

    average on a day is 3.94 % cpu usage by system and 19.34 % cpu usage by users.
     
  16. falko

    falko Super Moderator Howtoforge Staff

    No, I mean the load average, like here:

     
  17. DarkBen

    DarkBen New Member

    Code:
    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 ? :)
     
  18. falko

    falko Super Moderator Howtoforge Staff

    Is your load constantly about 1?
     
  19. DarkBen

    DarkBen New Member

    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
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     

Share This Page