I may have done something dumb with Suexec

Discussion in 'Installation/Configuration' started by unsichtbare, Dec 31, 2007.

  1. unsichtbare

    unsichtbare Member HowtoForge Supporter

    I was fighting a high server load and installed php5-xcache but still had high load. 95%+ all the time. In top, there were many processes assigned to the user www-data, so I unchecked the Suexec box in Management > Server >Settings and restarted the system (init 6)

    On restart, things weren't much better AND I couldn't access my mail accounts, so I re-enabled Suexec and restarted again. Now I can get mail in all but one of my accounts. I could delete the account and set that up again, but I would like to know what happened? Also in top I see only processes owned by root and occationally www-data for apache2.

    Oddly enough, none of these settings had significant impact on the load, but when I re-configured my Ubuntu virtual machine (VMWare ESX) for dual proc instead of single the load dropped from 95+% to <5%.

    Am I in trouble with my mail accounts?

    -J
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your mail log?
     
  3. unsichtbare

    unsichtbare Member HowtoForge Supporter

    These errors were in mail.warn at the time Suexec was unchecked:

    And this is what is in mail.log when I try to log in with an account that was working:
    It seems to be only the one mail account!

    -J

    This is the output from top, does it seem normal?
     
    Last edited: Jan 1, 2008
  4. falko

    falko Super Moderator Howtoforge Staff

    Can you post the output of
    Code:
    ls -la /var/www/web/user/web4_gillian
    ?
     
  5. unsichtbare

    unsichtbare Member HowtoForge Supporter

    This account is now working:
    but this one is not:
    thanks for looking-

    -J
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Please run
    Code:
    chown web4_gillian /var/www/web/user/web4_gillian/Maildir
    chown web4_john /var/www/web/user/web4_john/Maildir
     

Share This Page