Results 1 to 4 of 4

Thread: I have a lot of process in my server

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default I have a lot of process in my server

    Hi guys!

    I have a linux environment whith an Apache Tomcat 5.5.

    Normally I see 20 process of httpd in my server but some time I see 200 (ps -ef | grep httpd | wc -l) and my Apache crash.

    What's happens??? In which site I can see the origin of the problem?

    I use the command "lsof -p PID" but I don't see anything. Any ideas?

    Very thanks!

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,515
    Thanks
    17
    Thanked 815 Times in 511 Posts
    Rep Power
    10

    Default

    Too many process means lots of visitors or someone is attacking your server. Try

    See apache and tomcat log files and you will get lots of information.

    Run netstat and find out what kind of connections are made to your box.

    Did you harden Apache and Linux server?
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  3. #3
    Junior Member
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    I don't see any extranly acces in access_log.
    So, I think that's any plugin (*.jar) that make some connections (it it possible to create any bucle?)

  4. #4
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,515
    Thanks
    17
    Thanked 815 Times in 511 Posts
    Rep Power
    10

    Default

    Okay let us start with basic tools. run uptime and not down load average. Next, run netstat -nat and see total connections. Run iostat and see disk i/o stats. This three tools will give you an idea about bottlenecks.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 5th January 2010, 12:32 PM
  2. uninterruptible process.
    By Raj K Yadav in forum Linux software
    Replies: 1
    Last Post: 14th September 2008, 10:24 PM
  3. Replies: 1
    Last Post: 11th February 2008, 01:39 PM
  4. process need more memory
    By brijesh in forum Linux software
    Replies: 3
    Last Post: 13th December 2007, 06:38 PM
  5. httpd process
    By vimalgoel in forum Getting started tutorials
    Replies: 1
    Last Post: 8th October 2007, 01:40 AM

Tags for this Thread

Posting Permissions

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