Find the answer to your Linux question:
Results 1 to 3 of 3
I'm having trouble in my server with both apache and apache2, when they are started they spawn tons of processes, and before today at least they worked (apache2 i mean, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Posts
    2

    Apache & Apache 2 Help


    I'm having trouble in my server with both apache and apache2, when they are started they spawn tons of processes, and before today at least they worked (apache2 i mean, i've been using it). Today pages are even slower to load, or don't load at all. I've tried switching back to apache1 but it too spawns tons of processes, and goes nowhere.
    ps aux example

    root 25702 0.1 1.2 145940 7396 ? Ss 19:29 0:00 /usr/sbin/apache
    www-data 25703 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25704 0.0 1.2 146080 7500 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25707 0.0 1.2 146080 7500 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25708 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25710 0.0 1.2 146080 7500 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25711 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25712 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25713 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25716 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25717 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25718 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25719 0.0 1.2 146080 7500 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25720 0.0 1.2 146080 7500 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25721 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25722 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25723 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25724 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25725 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25726 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25727 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25728 0.0 1.2 146080 7500 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25729 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25730 0.0 1.2 146080 7500 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25731 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25732 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25733 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25734 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25735 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25736 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25737 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25738 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25739 0.0 1.2 146080 7504 ? S 19:29 0:00 /usr/sbin/apache
    www-data 25740 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25741 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25742 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25743 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25744 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25745 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25746 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25747 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25748 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25749 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25750 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25751 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25752 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25753 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25754 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25755 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25756 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25757 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25758 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25759 0.0 1.2 146080 7496 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25760 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25761 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25762 0.0 1.2 146080 7500 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25763 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25764 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25765 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25766 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25767 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25768 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25769 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25770 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25771 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25773 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25774 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25775 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25776 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25777 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25778 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25779 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25780 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25781 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25782 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25783 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25784 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25785 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25786 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25787 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25788 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25789 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25790 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25791 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25792 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25802 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25804 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25805 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25806 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25807 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25808 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25809 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25810 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25811 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25812 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25813 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25814 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25815 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25816 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25817 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache
    www-data 25818 0.0 1.2 146080 7504 ? S 19:30 0:00 /usr/sbin/apache

    Apache2 isn't working either. Same problem. Anyone has any clue why this is happening?

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Look in your httpd.conf, there are documented settings to control the number of child processes/servers.

    Jason

  3. #3
    Just Joined!
    Join Date
    Jun 2004
    Posts
    2
    Yeah, i've got it configure to minimum 1 maximum 3. Doesn't work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •