apache daemon이 너무 많이 뜹니다.

mrxon의 이미지

root 12639 1 0 00:25 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --d
mysql 12670 12639 0 00:25 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql 12671 12670 0 00:25 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql 12672 12671 0 00:25 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql 12673 12671 0 00:25 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql 12674 12671 0 00:25 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql 12675 12671 0 00:25 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql 12676 12671 0 00:25 ? 00:00:02 /usr/sbin/mysqld --basedir=/ --d
mysql 12677 12671 0 00:25 ? 00:00:02 /usr/sbin/mysqld --basedir=/ --d
mysql 12678 12671 0 00:25 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --d
mysql 12679 12671 0 00:25 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --d
root 13432 1097 0 08:59 ? 00:00:00 sshd: root@pts/0
root 13436 13432 0 09:01 pts/0 00:00:00 -bash
root 13641 1 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13642 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13643 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13644 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13645 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13646 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13647 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13648 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13649 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13650 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13651 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13652 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13653 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13654 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13655 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13656 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13657 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13658 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13659 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13660 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13661 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13702 13641 0 09:33 ? 00:00:00 /usr/sbin/httpd -k start
apache 13780 13641 0 09:34 ? 00:00:00 /usr/sbin/httpd -k start
apache 13800 13641 0 09:34 ? 00:00:00 /usr/sbin/httpd -k start

위에 보시는거와 같이 ps -ef 하면 apache 와 mysql이 너무많이 뜹니다.
그만큼 메모리도 많이 잡아먹는거 같구요
다시 실행을 시켜도 같은데 어떤 부분때문에 그런건지 잘모르겠습니다.

고수님들의 도움 부탁드립니다.

irdeal의 이미지

현재 설정이 어떻게 되어있는지 궁금하군요..
httpd.conf도 올려봐 주세용

May The Force Be With You
irdeal

May The Force Be With You
irdeal

mrxon의 이미지

httpd.conf 첨부합니다.

elflord의 이미지

httpd.conf의 prefork에서

StartServers는 처음 아파치를 기동할때 띄울 프로세스수를, MinSpareServers는 최소, MaxSpareServers는 최대 프로세스수를 의미합니다.

이부분을 원하시는 만큼 조절하시고 아파치를 재기동하시면 됩니다.

그럼 이만 총총...[竹]
http://elflord.egloos.com


===== ===== ===== ===== =====
그럼 이만 총총...[竹]
http://elflord.egloos.com

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.