Httpd process increases in Linux

Hi,
we are using RHEL 3 and Jakarta Tomcat on it, when user runs application which made in JSP,in system monitor httpd process increases more and more, so we have to kill it manually. how to automatic kill unused httpd processes.
Thanks

how to automatic kill unused httpd processes.How did you detect the httpd process?
in system monitor httpd process increases more and moreDo you mean that number of httpd processes are increasing?

Similar Messages

  • Why are there two ns-httpd processes running for one instance of iws 6

    Hi all,
    I'm used to iWS 4.x where there's only one watchdog and one ns-httpd process running for any given install of iWS. Now in iWS 6.x I noticed there are two processes for the admin server and two processes for the actual single web server instance, along with two watchdogs.
    What are the extra web server instances doing? I noticed that there is a 'parent' relationship with the pid's, so I guess one is spawning the other, but why? If it's to have persistent state over restart, isn't that what uxwdog is for?
    Thanks in advance,
    James Huang

    goldeye wrote:
    $ ps -ef|grep ns-httpd
    root 5612 5611 0 May 09 ? 2:22 ns-httpd -d /u00/iplanet/server6/https-admserv/config
    root 5613 5612 0 May 09 ? 5:30 ns-httpd -d /u00/iplanet/server6/https-admserv/configThis is Administration Server
    root 22940 22939 3 May 16 ? 155:11 ns-httpd -d /u00/iplanet/server6/https-eagnmnsu24f.xxxx.gov/config
    nobody 23040 22940 0 May 16 ? 136:35 ns-httpd -d /u00/iplanet/server6/https-eagnmnsu24f.xxxx.gov/configThis is Web Server instance.
    Can you send the output of ps -ef|grep iplanet ?
    iplanet Web Server is very old please move to latest Web Servers.
    You can download latest Web Servers from [http://www.sun.com/download/index.jsp?cat=Web%20%26%20Proxy%20Servers&tab=3&subcat=Web%20Servers].
    Please use either of the two
    Sun Java System Web Server 7.0 update 5 (release notes are located @ [http://wikis.sun.com/display/WebServerdocs/Release+Notes]) or
    Sun ONE web Server 6.1 SP11 ( release notes are located @ [http://docs.sun.com/app/docs/doc/820-7659]).
    Migration Guide will help you in migration [http://wikis.sun.com/display/WebServerdocs/Installation+and+Migration+Guide] or let us know if you have any problems.
    When I start Sun Java System Web Server 7.0 or Sun ONE 6.1 Server instance, I can see one watchdog and two webservd processes :
    $ps -ef|grep /export2
    user  7967  7966 ...  webservd -r /export2/ws -d /export2/ws/https-....
    user  7966  7965 ... webservd -r /export2/ws -d /export2/ws/https-...
    user  7965  1 ... ./webservd-wdog -r /export2/ws -d /export2/ws/https-...

  • Suspect httpd processes (too many, wrong user)

    In trying to sort glacial uploads from my son's G5 iMac 1.8GHz, i observed that there are multiple (7) httpd processes (along with httpsproxyd, webfilter and usbmuxd) running under user "nobody". Could this be a security breach? Web sharing (in fact, all sharing) is Off, and I'd expect any httpd procs to run under www if they're legit, but I'm not a developer. so I could be missing something here.
    Thanks for any insights you'd care to share!
    Bill

    I understand that this is how Parental Controls are implemented, but there are some conditions which cause performance to degrade severely, to the point that you can't get a web page to load. This happens regularly to my son. When it does, he has to log out (which kills all the httpd processes) and then log back in to resume browsing the web. This happens about every two days with moderate use. Perhaps it is exacerbated by the sites he visits (mostly flash game and cartoon video sites.)
    I noticed there were some changes in Parental Controls for 10.5.7 (not explicitly fixes for this though). I'm going to install and see if it helps.

  • Memory space using a 32bit Java process on Redhat Linux

    I have a java process that I need a lot of memory for. Its a 32 bit process, and I have no desire to have it as 64bit due to the huge pointers it forces.
    So I know I can turn to Solaris where I will have close to 4GB of memory available for this process (right?). But are there Linux alternatives? I am especially curious regarding Redhat on intel64 machines as I have (which is the common desktop hardware nowadays).
    I heard about the hugemem kernel for Redhat, but I am lost understading its nature. It is said it is not available for v.5 for x86. So is it available for the intel64 processors as I have? And what is the max memory space for a java process?
    Any other bit of information about java 32bit process running on a linux flavor on an intel64 machine will be greatly appreciated.
    thanks in advance!
    Woody
    Message was edited by:
    Woody.Benoty

    I'd say this is normal. There are a few things to consider when looking at an application like this:
    1. The 14 MB your process consumes include the memory required to load the java virtual machine. That is, all the base classes, native links, the just in time compiler etc. 14 MB isn't a lot, all things considered.
    2. When you display a message box, java will load additional classes and resources. They increase the heap size, though not really by 4 MB. Java preallocates portions of memory for the heap. If, for instance, your application consumes 16 MB of memory and you allocate another MB, the heap size may grow to 32 MB. Having a free section of heap space to spare increases performance, since java won't have to ask the underlying system for free memory every you create an object. You might want to check out your program in JVisualVM (deployed with every JDK6), which will tell you how much of the allocated heap size is really in use, or you can rely on the according methods in the Runtime class.
    3. The JVM is capable of 'heap shrinking', meaning it will return allocated sections of memory to the OS once in a while. However, it will not do so unless the heap size is significantly larger than the used portion of the heap (otherwise, it would defeat the purpose of preallocating memory). So if you allocate 2GB of RAM when clicking your button and allow this memory to be cleared by the garbage collector, you'll observe that the heap will shrink again eventually.

  • Create .txt empty file After Message Processing Command Line Linux command

    Hi All,
    An empty .txt file has to be created in FTP location(FTP loc c:\xyz\Customer20082910.txt) only after the .dat file has been created(FTP loc c:\xyz\Customer20082910.dat)
    Note:.dat has the actual data and .txt is an empty file and is created only after .dat is created
    I know that .txt empty file can be created using the After Message Processing Command Line...
    But confused which command to be given such that it will be created in the FTP location(c:\xyz\Customer20082910.txt)
    Can any one please give the Linux command for it...
    Regards,
    Sridhar

    Hi Aamir,
    Thanks for the suggestion, I will ask my client to create a shell script at FTP server...
    And one more question,
    This is reverse side , now the .dat file is to be picked only if .txt exists at the FTP server (scenario File > XI>SAP) (earlier was SAP>XI>File)..
    So please can you suggest for this also...
    How can i check for the .txt and pick corresponding .dat file...
    i had posted question long back
    Need to pick .TXT file only if .CTL file is available
    Regards,
    Sridhar

  • Process Sheduler for Linux

    Hello,
    We have to create a monitoring application which shall take some corrective action if required on Linux servers. This shall monitor if the service is running or not after a fixed time interval. If the target service is not running, it shall take the corrective action by starting the service.
    We plan to develop this monitoring application in Java and it should be able to start a process / utility (can be a Java / C++ code) on Linux. Start-up of the utility shall be written in a shell-script; so have to invoke the shell script. I think this is possible in Java using the Runtime class. However, I have a query out here. If the target process/utility does some kind of memory allocations or reserves some kind of memory, shall that be from JVM of the this application? Example : this monitoring application is assigned 2 GB of RAM. If the target application that needs to be started requires 4GB of RAM, will it be possible to do so? Also, are there going to be any other potential problems that I might have missed out....
    Also, are there any third party API / framework that already has such kind of functionality? Is Java the right platform to develop such kind of application? Please guide as to how to proceed regarding the same. Any thoughts / ideas on this front are highly welcome.
    Kind Regards,
    Jay

    Firstly, thanks for your comment...
    Yes; no issues with that... In fact that is something we intended to do so that no other user can kill this monitoring process.... Do you foresee any other problems? Any API that you feel might cut down the efforts in building such kind of application?
    One more point that I want to add is that one service monitor might have to communicate with other service monitor on certain conditions... so this is a slightly tricky application that we have to develop..... any kind of suggestions / ideas regarding the implementation / potential problems are welcome.
    Thanks in advance.
    Regards,
    Jay

  • I'm trying to merge (unify) my Aperture library with my iphoto library and have doen the merge and consolidate functions in Aperture.  I have found that this process increased my Aperture library form 30 to 39 gigs and duplicated many photos in the proces

    I've just merged my Aperture and iphoto libraries and have found that my combined new Aperture library has grown from about 30 gigs (the total size of the Aperture and iphoto libbraries prior to merging) to 40 gigs.  Also, in reviewing photos in the Aperture browser I find that photos appaer as duplicated, one photo with no tag (the original) followed by the same photo with a small tag (suggesting edits).  HAs the merge process caused an unintended increase in library size? My initial reason do consolidate the libraries was to eliminate the "referenced" portion fo the Aperture library that refernced the iphoto originals. Any thoughts as to how I can get one consolidated non-referenced combined libray inside Aperture with no duplicates.  I run a Time Capsule and can access backups of the original Aperture and Iphoto libraries if I need to repeat the process. Thanks for any help.  Jim.

    My initial reason do consolidate the libraries was to eliminate the "referenced" portion fo the Aperture library that refernced the iphoto originals
    One for the Consolidate Masters command.
    By importing the Library you brought over everything, lock stock and barrell, and your Aperture library still points to those referenced masters in the iPhoto Library.
    Regards
    TD

  • Run java as a different process name in Linux

    I have multiple java applications running on a linux platform. When I look at the process list, they all say java. I want them to have a unique process name. The closest I have gotten is starting the java app in a script, and that script name shows up as well as the java app. This could be all fine and dandy, but if someone kills the script, the java process continues on. It would be nice if I could say run this process as this name in Linux, but I know of no such thing. I asked this on LinuxQuestions.org and got a response to use Launch4J...which creates executables for Windows...so that wasn't very helpful. I was hoping the Java community might have a little more insight.

    rename the java binaryOr instead of renaming, you could do a symlink... I
    don't have a machine to test on, but I think creating
    a symlink to the java executable and running that
    symlink would change the executable's name in the
    process table.nah, the process would still be called 'java'

  • Batch processing FLVs on Linux

    Hello,
    Does anyone know of an application for Linux that can batch
    process video files, or better yet 'watch' a folder for video files
    to process, and convert to FLV files?
    I know that Sorenson's product has this capability but it
    doesn't run on the Linux platform. I am hoping to upload video
    files to a server, have them automatically processed to FLVs and
    play them back using the Flash Media Server app.
    Thank you.

    I would suggest you give Flix Engine a try. It is a
    transcoder that works on Linux and I believe it can do what you are
    looking for. The other solution that won't work on Linux yet is
    called FlipFactory by Telestream. Flip is a transcoder that will
    monitor specific areas you want and automatically transcode files.
    I have been nagging Telestream to death to make a Linux port of it,
    and yet they haven't.
    Let me know what you come up with. I couldn't get Flix to
    work properly on my Gentoo Linux OS, but it may work on yours.
    Good luck.

  • Reader process Zombie in Linux - Blank PDFs

    I am having a major issue where we cannot open multiple pdfs from a Suse terminal.  As long as I do not close any pdfs out of the browser I can open as many as I want.  If I close one out, I cannot open any additional ones as I now have a acroread defunct process.  All subsequent pdf files open as a blank screen. My only recourse is to close out the browser and relaunch to again open a pdf.
    a ps -ef | grep acro* shows [acroread]<defunct> for the acroread process that was running.
    SuSE 11 v.1
    Adobe Reader 9.4.2-1
    Firefox 3.5.19
    Is there any newer version / beta I could try?
    Thanks,
    Steve

    Good Morning Vaibhav,
    Here is my uname -a - Linux xxx7922xx 02 2.6.32.36-0.5-pae #1 SMP 2011-04-14 10:12:31 +0200 i686 i686 i386 GNU/Linux
    Excuse my ignorance but where can I add the -openInNewInstance parameter?  I am using Firefox to initiate the opening of Reader to view the pdf.  Is there a config file to edit?
    firefox  28449 25927  0 10:54 ?   
    00:00:01 /opt/Adobe/Reader9/Reader/intellinux/bin/acroread --display :0.0 -progressPipe 3 -exitPipe 4
    Thanks for your help so far,
    Steve

  • Seesion and Process increase..

    Dear All
    There are 75 to 100 users are accesing the databse simulateuosly and i recently got the error of session and process exceeded ....then i tried to increase seesion and process using OEM but i got following error
    Io exception: Unknown host specified Is there any other way to do this? Can any one suggest me a best way to do this? or how do i tune it properly to acces DB without any interruption?
    Vijay
    Edited by: Vijayamurugan on Dec 8, 2010 9:29 PM

    Dear Anand
    The below is the out put v$resource_limit
    RESOURCE_NAME                  CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL
    LIMIT_VALU
    processes                                       70             150        150
           150
    sessions                                        74             170        170
           170
    enqueue_locks                                   12              47       2380
          2380
    RESOURCE_NAME                  CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL
    LIMIT_VALU
    enqueue_resources                              164             263        968
    UNLIMITED
    ges_procs                                        0               0          0
             0
    ges_ress                                         0               0          0
    UNLIMITED
    RESOURCE_NAME                  CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL
    LIMIT_VALU
    ges_locks                                        0               0          0
    UNLIMITED
    ges_cache_ress                                   0               0          0
    UNLIMITED
    ges_reg_msgs                                     0               0          0
    UNLIMITED
    RESOURCE_NAME                  CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL
    LIMIT_VALU
    ges_big_msgs                                     0               0          0
    UNLIMITED
    ges_rsv_msgs                                     0               0          0
             0
    gcs_resources                                    0               0          0
             0
    RESOURCE_NAME                  CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL
    LIMIT_VALU
    gcs_shadows                                      0               0          0
             0
    dml_locks                                     2037            7548        748
    UNLIMITED
    temporary_table_locks                            0               3  UNLIMITED
    UNLIMITED
    RESOURCE_NAME                  CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL
    LIMIT_VALU
    transactions                                    45             123        187
    UNLIMITED
    branches                                         0               0        187
    UNLIMITED
    cmtcallbk                                        0               1        187
    UNLIMITED
    RESOURCE_NAME                  CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL
    LIMIT_VALU
    sort_segment_locks                               0               6  UNLIMITED
    UNLIMITED
    max_rollback_segments                           12              66        187
         65535
    max_shared_servers                               1               1  UNLIMITED
    UNLIMITED
    RESOURCE_NAME                  CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL
    LIMIT_VALU
    parallel_max_servers                             0               3         80
          3600Vijay

  • Extraction Process increase

    Hi
    I analyzed that while extracting data from the ERP system,  only one background process is performing this extraction. Can I increase the number of background work processes to perform extraction to speedup the extraction process.

    Hi,
    when the extraction job is going in the sourcesystem, there'll be only one background job/request sent from the BI system to the sourcesystem....that means for one load there'll be one depeendent back ground job in the source...
    I guess u can't increase that but to increase the speedup process u have to chk some other things...
    Like data package size, other available resources in the source etc...
    rgds,

  • Critical: Java app Processes dying in Linux

    Hi,
    I have come across a critical error on our production system. We have some java apps running as linux background processes. We used to run these off a jdk1.3 box with no problems using
    nohup java App &
    We have upgraded to jdk1.4 but very randomly our apps are just disappearing from the background processes!
    I have using the -verbose and -Xprof options to java and found this logging information..
    Flat profile of 0.11 secs (1 total ticks): SIGHUP handler
    Thread-local ticks:
    100.0% 1 Blocked (of total)
    I don't know if this holds any clues but a SIGHUP is a hangup signal and even though we use nohup, it does seem to kill the processes.
    Would be very grateful for advice.

    Following links can explain about -Xrs and other options.
    http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/java.html
    http://java.sun.com/j2se/1.4.1/docs/tooldocs/solaris/java.html

  • Native Process Concerns on Linux and MAC

    I  have created an AIR application that has a feature to take screenshot  of the screen. I have used "senthil.jar" to support screenshot capture.
    http://sensaran.wordpress.com/2010/06/04/screen-shot-utility-using-air-2-0/
    http://code.google.com/p/dtflex/downloads/detail?name=ScreenShot.rar&can=2&q=#makechanges
    Native Process is created and used. I have also created native installers like -
    exe for windows
    dmg for MAC
    rpm for linux
    on  windows everything works fine.But on linux and MAC one NativeProcess  event is dispatched i.e. Event.ACTIVITY. No other event is dispatched.

    I haven't tested JWS before JRE 1.4 so I can't recommend you anything if you require JRE 1.3 or before, but if you can install JRE 1.4, specially JRE 1.4.2 or after, JWS works very good on Linux and Windows. In both platforms I use deploy applications using JWS and they all work very good. I have no experience on Mac OS X.
    Both platforms obviously require Java preinstalled. Also there is some ways to install Java automatically, this is something that must be done by an administrator as every other software that requieres installation and configuration on every PC. After that step, everything is very simple.
    On Linux if you click on a .jnlp file for the first time, at least mozilla ask if you want to save the file or open it, you can select the javaws executable inside your java installation as the program to open this file, mark that that's the action you always want to do with that kind of files, and that's all. Also you can manually register .jnlp files and application/x-java-jnlp-file mime tipe as handled by javaws as the last part of the java installation and this first step will not be necesary.
    On Windows the installer automatically register itself as insterested in handling jnlp files, so the previous step for linux is not required.
    Hope this helps.
    rivas.

  • Apache : One httpd process running as root instead of nobody

    Hello,
    Running mediawiki under apache 2.2.8-2, I see strange messages saying that some files under /root/.texmf-var/ do not exist !
    I was sure that apache was configured to run as the user nobody !
    After doing a ps|grep, I get :
    # ps auxw | grep httpd
    [b]root[/b] 32465 0.6 0.5 89788 10352 ? Ss 18:16 0:00 /usr/sbin/httpd -k start
    nobody 32468 0.0 0.3 89788 7552 ? S 18:16 0:00 /usr/sbin/httpd -k start
    nobody 32469 0.0 0.3 89788 7552 ? S 18:16 0:00 /usr/sbin/httpd -k start
    nobody 32470 0.0 0.3 89788 7552 ? S 18:16 0:00 /usr/sbin/httpd -k start
    nobody 32471 0.0 0.3 89788 7552 ? S 18:16 0:00 /usr/sbin/httpd -k start
    nobody 32472 0.0 0.3 89788 7552 ? S 18:16 0:00 /usr/sbin/httpd -k start
    And the same after killing them all and restarting /etc/rc.d/httpd
    I have in httpd.conf:
    User nobody
    Group nobody
    How is it possible ?
    Any hint ?
    -mathieu

    This is necessary to use port 80
    There might be other reasons.

Maybe you are looking for

  • Why doesnt my first generation accept apps?

    I had a third generation Itouch which recently broke and just decided to not work. I don't have a cell phone right now because I cant get a job anywhere and I decided that I would download the textfree app that I used for my old Ipod onto the first g

  • 'N' Step Workflow

    We are on an old EBP 3.0 but are looking at upgrading to SRM 5.0 later in the year.  We currently have a business process change in place which will require us to move to a multi step approval process where we could potentially have a requirement for

  • User inputs and simple anim.

    I know this is a bit basic, but I'm having trouble getting this animation to respond to user inputs. I want the circle to start near the centre of the screen and move up until it hits Y less than 10. Here, I've started the animation thread as a respo

  • Help lost my music!!

    I am fairly new to itunes and never wanted to use it because it is very constraining and restrictive (i think)let me tell you how: I had a bunch of albums that I bought through itunes and a bunch of music that i copied out of my cds well last week I

  • Windows 8 making thinkpad X61s C2Duo L7500 (default 1.6GHz) runs at 1.8GHz

    Hi! My laptop is a thinkpad X61s C2Duo L7500, wich current CPU frequency is 1.6GHz. I installed Windows 8 and noticed something strange: The CPU is running at the maximum of 1.8GHz. Screens: Running on balanced performance energy plan: Image 1 Runnin