1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

No checkboxes in Performance

Discussion in 'Plesk for Linux - 8.x and Older' started by postman, May 28, 2008.

  1. postman

    postman Guest

    I noticed a 'Performance' icon in my domains and like the idea of being able to limit some domains by the number of connections (to hopefully reduce DoS type attacks).
    However, when I visit the Permformance tab I do not see any tickboxes or spaces to enter a number - all I have is the text 'unlimited'. e.g.
    Bandwidth limiting
    Maximum network use (KB/s) Unlimited
    Connections limiting
    Connections limited to Unlimited
    I have checked the help pages and searched the web but have not found anything.
    Is there something else I need to do to enable this ?
    Thanks in advance,
  2. meto

    meto Guest

    You must install mod_bw first and reboot
  3. postman

    postman Guest

    Thanks for the pointer. I have now download the source and installed but I still do not have the checkboxes on the performance page. I have added the following to the vhost.conf in a domain ./conf directory to test it:
    BandwidthModule On
    ForceBandWidthModule On
    Bandwidth all 10240
    MinBandwidth all -1
    But still no management from within Plesk. Am I missing something?

    Incidentally I had this error after installing mod_bw
    httpd: Syntax error on line 208 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/httpd/modules/mod_bw.so into server: /usr/lib/httpd/modules/mod_bw.so: undefined symbol: apr_atomic_cas
    which was solved by editing the mod_bw.c file before compiling and changing:
    # if (APR_MAJOR_VERSION <1)
    # if (APR_MAJOR_VERSION >=1)
    then I did /usr/sbin/apxs -i -a -c mod_bw.c
  4. S.Celik

    S.Celik Guest

    Why don't you install mod_bw from plesk updater?
  5. meto

    meto Guest

    Exactly! You have it in yor Updates menu.
  6. postman

    postman Guest


    well that was much easier - thanks!