Rogue listener process spawned
Hi.
If this alert is raised, what is the best course of action?
$ ps -ef | grep lsn
root 2997 1 0 2008 ? 00:00:00 [ocfslsnr]
oracle 5517 1 0 2008 ? 00:16:36 /u01/oracle/product/10.1.0/db_1/bin/tnslsnr LISTENER_02 -inherit
Looks like there is only 1 listener, or two listener processes?
Thanks.
DA
Edited by: Dan A on Mar 28, 2009 4:45 AM
You forgot to mention your environment (OS and version,database version), but obviously you're running OCFS (Oracle Cluster Filesystem), ocfslsnr is the OCFS listener,not the regular database listener.
Werner
Similar Messages
-
10.1.0.4 listener process spawns a new listener process
Hi
Last week we had a problem with the listener on one of our 10.1.0.4 databases.
the TNS connections were timing out, and no one was able to connect ( unless as a local connection from the DB server ).
When I did ps -ef | grep -i listener I saw TWO listener processes with the same name , one is spawned by the other.
The only way to solve this was to kill -9 the new listener process
Is this a normal behavior for the listener to spawn another listener process ? and if saw - why did it cause all connections to hung ?
Any known bug regarding this ?
I did find a couple of reports of this behavior in 10. but no followup
http://dbaforums.org/oracle/index.php?showtopic=991
http://oracle.ittoolbox.com/groups/technical-functional/oracle-db-l/spawns-new-rogue-listener-with-same-name-as-original-644065
Thanks in advance for any explanation
OrnaI think this is the cause of your problem
http://coskan.wordpress.com/2007/04/05/child-listener-problem/
post based on Note:340091.1
Coskan Gundogar
http://coskan.wordpress.com -
Hi all,
First, happy new year for everybody.
I'm under Linux and i have a problem with a listener process in Oracle 10g 10.1.0.3.
From time to time, my listener process hang-up and it becomes impossible to obtain a Oracle connection.
With unix 'ps' command, i can see strange process.
# ps auxw | grep lsn
oracle 27728 0.0 0.1 37100 4760 ? S Dec23 0:02 /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr LISTENER -inherit
oracle 17161 0.0 0.1 37100 4760 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr LISTENER -inherit
oracle 18134 0.0 0.1 18688 5892 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/perl/bin/perl /u01/app/oracle/product/10.1.0/db_1/sysman/admin/scripts/lsnr_log_status.pl
oracle 18145 0.0 0.0 2136 908 ? S Dec25 0:00 sh -c /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl > /tmp/0lHBosCvOe
oracle 18146 0.0 0.0 16144 4064 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl
oracle 31474 0.0 0.1 17332 4588 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/perl/bin/perl /u01/app/oracle/product/10.1.0/db_1/sysman/admin/scripts/lsnrresp.pl
oracle 309 0.0 0.1 18688 5892 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/perl/bin/perl /u01/app/oracle/product/10.1.0/db_1/sysman/admin/scripts/lsnr_log_status.pl
oracle 326 0.0 0.0 2128 904 ? S Dec25 0:00 sh -c /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl > /tmp/zlihqS914Z
oracle 327 0.0 0.0 16148 4072 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl
oracle 752 0.0 0.0 2128 908 ? S Dec25 0:00 sh -c /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl > /tmp/K5geR0wcyN
oracle 753 0.0 0.1 16160 4220 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl
oracle 4270 0.0 0.0 2120 908 ? S Dec25 0:00 sh -c /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl > /tmp/9ov0ZwbS5e
oracle 4271 0.0 0.1 16156 4224 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl
oracle 9227 0.0 0.0 2132 908 ? S Dec25 0:00 sh -c /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl > /tmp/qv5iJttPbm
oracle 9228 0.0 0.1 16168 4216 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl
... etc ...
root 9310 0.0 0.0 1612 472 pts/2 S 08:35 0:00 grep lsn
If a stop and restart the listener, i don't have any more problem.
I suspect OEM agent because each time i noted the problem, the agent was running .
What occurs? Thanks for your help.Hi,
we had exactly the same problem this morning with our listener. We don't run OEM, and the listener.log file didn't have any errors in it. The log shows new connections up to the point where the second process starts (we know this from date stamps on the processes) and the next thing that appears is the listener starting again (after I've killed both listener processes and started the listener again)
log extract
09-JUN-2006 09:50:53 * (CONNECT_DATA=(SID=orac10g)(CID=PROGRAM=C:\Program Files\Precedent Version 2\PFW2.exe)(HOST=05BLG297)(USER=pettsc))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.204.76)(PORT=1451)) * establish * orac10g * 0
TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 09-JUN-2006 10:03:42
Copyright (c) 1991, 2005, Oracle. All rights reserved.
System parameter file is /oracle/product/10.2.0/network/admin/listener.ora
Log messages written to /oracle/product/10.2.0/network/log/listener.log
Trace information written to /oracle/product/10.2.0/network/trace/listener.trc
Trace level is currently 0
Started with pid=3178550
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=churchill.blg.co.uk)(PORT=1521)))
According to the actual process - the secondary lsnr process's parent was the initial one. It's almost like the first process spawned the second one.
We thought it might be one of the limits (we're running AIX 5) on the user running the process - but I suspect not as the same user is running the Oracle DB processes and they don't have any issues.
Thoughts?
Dave -
Too many LISTENER processes (11gR2 Grid Infrastructure (2 nodes))
Greetings -
I get an alert that says that my LISTENER is down (EM Alert Details). It suggests a corrective action
to stop the current running LISTENER and start it again using the listener parameter (listener.ora) from
the database (RDBMS) home. There are two (2) LISTENER processes running (ps -ef | grep LISTENER) .
One process is running from the grid home and the other from the database home however only
the one running from the grid home has a listener parameter file (listener.ora) there are no others.
To confuse me even further the documentation says that I should not set the 'local_listener' parameter
and that the Oracle Agent will maintain this setting.
Any suggestions ?
Thanks in advance.
BrianThanks Rodrigo,
That was VERY helpful.
I disabled the old listener and then
I was able to create a new listener with the correct settings.
I can see the instances on each node using this
expression.
lsnrctl status NEW_LISTENER
However this shows on the first node that +ASM1, DM3, DM31
are available on the second node I see only +ASM2 but nothing else.
I was expecting DM3, DM32 .
Now when I first created the new listener I read that the 'local_listener'
setting need NOT be set. When I attemptied to unset that parameter then
I lost the local instances. I reset the local_listener as before
and the local instance on node one returned. Not on node two however.
My question: Do I need to set the 'local_listener' on each instance to the same
value or to different values to reflect which node they are configured for ?
I cannot see it now but I remember there is a section that references the
first node 'node_one-vip' .
Should the second node's local_listener section be 'node_two-vip' ?
Now if it need not be set this then something else has to occur to make it work.
Sorry for not being more brief,
Brian -
Database shutdown taking more time, is listener process a problem??
Dear all,
though its a general process to stop the listener before shutting down the database for cold backup. but is it so that if you don't stop the listener before giving shutdown immediate command, the shutdown process takes long time than normal expected time?
because as per my understanding, the listener process is used just for the connection and when we give shutdown command the database automatically rejects any new connections. your valuable comments are required.No version, as usual, and the answer is version specific.
Why is it so difficult to include those 4 digits?
Dear all,
though its a general process to stop the listener
before shutting down the database for cold backup.
but is it so that if you don't stop the listener
before giving shutdown immediate command, the
shutdown process takes long time than normal expected
time? No. Must be a fairy tale without proof.
You might need set job_queue_processes to 0 and aq_tm_processes to 0, but that has nothing to do with the listener.
>
because as per my understanding, the listener process
is used just for the connection and when we give
shutdown command the database automatically rejects
any new connections. your valuable comments are
required.--
Sybrand Bakker
Senior Oracle DBA -
Java 1.4 RMI vs. 1.5 RMI: number of processes spawned at startup - Unix
After executing 'rmiregistry 8890 &' using Java 1.4:
5833 1 0 Oct 4 ? 462:51 /opt/java1.4/bin/PA_RISC2.0/rmiregistry 8890
After executing 'rmiregitry 8890 &' using Java 1.5:
25394 1 0 Feb08 ? 0:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25396 25394 0 Feb08 ? 00:00:01 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25397 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25398 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25399 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25400 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25401 25396 0 Feb08 ? 00:00:03 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25402 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25403 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25404 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25405 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25406 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25407 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25408 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25409 25396 0 Feb08 ? 00:01:03 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25411 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
25412 25396 0 Feb08 ? 00:00:00 /opt/java/java1.5/jre1.5.0_12/bin/rmiregistry 8890
Is the difference in # of processes spawned due to 1.5's use of socket factories?
Thanks,
gbegbe wrote:
The first executable is on a HP-UX 11.11i PA-RISC box:
java -versionjava version "1.4.2.03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.03-040401-16:07)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.03-040401-18:59-PA_RISC2.0 PA2.0 (aCC_AP), mixed mode)
The second executable is on a Linux RHEL AS R3 i686 box:
java -versionjava version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)Well, you have your answer right there. you neglected to mention you were using different operating systems! on older versions of linux, threading was done using magic with cloned processes (or something like that). basically, every system thread on older linux boxes shows up like a "process" when you run something like "ps". on newer versions of linux, threads have been redone to work more like most other operating systems, (and apparently your HP-UX system), where only one process is listed regardless of how many threads it has.
It has nothing to do with the jdk versions you are using and everything to do with the operating systems you are running the tests on. -
Locate rogue java process eating swap space.
How can i find a rogue java process (lwp) eating up swap space ? The system is very low on swap but has half of memory free.
I'd start with ps -e -o vsz,pid,args | sort -nThe process with the largest VM footprint will be on the bottom.
How are you measuring that swap is being eaten? Are you using 'swap -s'? Is it mainly going into allocation or reservation?
Darren -
How do I monitor the listener process
After starting the listener, I have to wait for few min. before I connect to the database.
Otherwise I get the following error.
How do I monitor the listener process and make sure, still it is trying to
establishing connection with oracle instance ?
thanks
sivaAfter starting the listener, I have to wait for few
min. before I connect to the database.That's normal when the registration is dynamic (no SID_LIST in listener.ora). This does not happen if the listener is started before the DB. See http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14212/architecture.htm#sthref429
But you can force the registration. As sysdba do
SQL> alter system register;
or you can statically configure your DB within listener.ora, SID_LIST section.
How do I monitor the listener process $ lsnrctl status
and
$ lsnrctl services -
Hi,
I've just installed 9.201 on WinXp and used the database configuration assistant to create me two instances.
This is the first time I have installed v9, though I have installed Oracle8i many times.
The problem is that I don't have a listener process. I'm not sure why one has not been created. I selected for a dedicated server install, but I didn't think that would make this difference.
Any ideas gratefully received as to why I don't have a listener and why I have to do to create it now.
cheers
TonyYou can create a listener using the Net Configuration Assistant, but if you just want to create a basic listener with default values that will auto detect your instances, just run the following command in a command window:
c:\> lsnrctl startAfter reporting that there is no configuration file, it will create its file and its service and then start the listener process.
Nothing to it.
I tend to prefer manual scripts and commands to GUI tools. I use GUI tools from time to time, but they can be quite a crutch for a DBA. I always want to be aware of what is going on behind those tools.
Kind regards,
Russ Cannon -
I would like to ask for any input regarding any major differences of exadata database, listener, processes than regular RAC environment.
I know now the exadata not only have SCAN listener, but a lot other listeners. can expert here provide more details?
ThanksWe will use zfs to do backups, is that possible for the initiband listener to communicate with ZFS? where I can find documents for zfs?
The SDP (Infiniband) Listener is for client connections connecting to the database on Exadata over the SDP protocol on the Infiniband network. You should use the Infiniband network to connect the ZFS to Exadata and mount the ZFS shares to the Exadata compute nodes using DNFS; but this doesn't use the SDP listener because there is no database connection originating from the ZFS you are just backing up your databases to it. See the "Oracle ZFS Storage: FAQ: Exadata RMAN Backup with The Oracle ZFS Storage Appliance (Doc ID 1354980.1)" MOS note for good information and references regarding backing up from Exadata to ZFS.
Plus how do I know we have exalogic? I dont think we have one, but is there a way to check to be sure?
Exalogic is another of Oracle's engineered systems. It contains integrated compute, network and storage - similar to Exadata - but is used for running application environments, specifically for fusion middleware (e.g. Weblogic) applications, instead of databases. It uses a ZFS storage appliance for the storage, as opposed to the storage cells on Exadata, and for virtualized environments uses the Exalogic Elastic Cloud software. You would know if you have one.
So basically after oracle engineer installed onecommand and created sample database, as oracle dba, we can dbca to create a database just like regular RAC environment? There is nothing specific on exadata perspective?
Yes... Oracle on Exadata is still the same RDBMS - same Oracle Enterprise edition with the RAC option. The Exadata difference comes with the hardware integration and the storage cell software... the database software is the same.
Another question is do I have to configure exadata specific parameters in order for all those features of smart scan, storage index, comrpession, etc work?
Some Exadata features are mostly "black box" and work without any configuration others may take some configuration or tuning to take advantage of. For example, storage indexes are created dynamically on the storage cells... there is not much you can do to control them. For smart scans you need full table/index scans with direct path reads. So you need to tune for direct path reads. HCC requires setting up your tables/partitions to compress at one of the HCC compression levels and using direct path loads. -
I have a rogue launchd process that is polluting my log files. I get this every 10 seconds in system.log:
Nov 14 17:31:49 wicked com.apple.launchd[1] (com.apple.launchd.peruser.2413859362[374]): getpwuid("2413859362") failed
Nov 14 17:31:49 wicked com.apple.launchd[1] (com.apple.launchd.peruser.2413859362[374]): Exited with exit code: 1
Nov 14 17:31:49 wicked com.apple.launchd[1] (com.apple.launchd.peruser.2413859362): Throttling respawn: Will start in 10 seconds
I can't seem to find a .plist that matches this in any way. I have looked in:
~/Library/LaunchAgents
/Library/LaunchAgents
/Library/LaunchDaemons
/System/Library/LaunchAgents
/System/Library/LaunchDaemons
/Library/StartupItems
I can't seem to find any .plist that refers to UID 2413859362 in any of the directories listed above.
I have tried stopping and removing the process with launchctl, but that doesn't work either:
user@wicked:~$ sudo launchctl list | grep 241
- 1 com.apple.launchd.peruser.2413859362
user@wicked:~$ sudo launchctl stop com.apple.launchd.peruser.2413859362
user@wicked:~$ sudo launchctl remove com.apple.launchd.peruser.2413859362
user@wicked:~$ sudo launchctl list | grep 241
- 1 com.apple.launchd.peruser.2413859362
I can't figure out how to get rid of this annoyance. launchd has to be getting this from somewhere. Anyone have any ideas where else I should look?You have a good list for your search and destroy, the only other thing that comes to mind :
+/library/Contextual Menu+
/library/PreferencePanes
for some component third party plug-in / .bundle / .prefPane or some such.
Good luck
Message was edited by: leroydouglas -
Oracle 10g listener processes on linux
Hi,
We have databases (10.1.0.3) running on linux x86 (RH AS3) and Tru64 unix.
I have noticed on linux that there are a number of processes for each listener whilst on Tru64 the listener has only one process.
Can anyone explain why linux has these extra processes?
Thanks
MarkHi Mark,
I've the similar issue on linux and solaris.It's a bug in 10g .There is a patch available for it.Apply Patch 4518443 for the problem .Or else you can do the work around like adding this text to your listener.ora file will fix the problem. SUBSCRIBE_FOR_NODE_DOWN_EVENT_<listener_name>=OFF
Regards,
Gayatri -
I was going through oracle architecture and found a term called fork process/fork call from the listener to the server process. Can anyone explain me what is it and what is its usage?
BhaviSavla wrote:
I was going through oracle architecture and found a term called fork process/fork call from the listener to the server process. Can anyone explain me what is it and what is its usage?Always supply the context (URL will do fine) of the term that you do not understand and wish clarification on. Will also help if you explain why the definitions you found on the Net (via googling for example) have not clarified the term for you.
Aman supplied an excellent URL that explains in detail what the fork() command in Unix/Linux kernels do. There's very little that anyone here can provide over and above that detailed description of fork().
So what is it that you do not understand? -
Multiple flash install/uninstall process spawning
Has anyone else had the problem of multiple Flash installer/uninstaller processes running that cannot be killed?
Image Name PID Session Name Session# Mem Usage Status
FlashUtil32_11_6_602_171_ActiveX.exe 3884 Console 1 8,012 K Running
Removing, reinstalling , updating flash didnt fix the issue.I found my own fix.
Go to :-
C:\Windows\System32\Macromed\Flash
C:\Windows\SysWOW64\Macromed\Flash
Rename the file extension on " FlashUtil32_*Adobe Version*ActiveX " from .exe to .txt
I tired this on two different machines running different versions of Flash ,one on 12.*** and one on 11.***
It worked on both. -
CRS-0215 error in the step:Create the TNS Listener Process
Error listening on: (ADDRESS=(PROTOCOL=TCP)(Host= 192.168.x.xxx)(Port=1521))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
Linux Error: 9: Cannot assign requested address
I am getting the above error when starting the listener_linux2 on linux2 node. I ran the netca configuration tool on linux1 to configure the listener. It ends in error with CRS-0215.
According to metalink note 339600.1 i should
request the interface corresponding to the VIP Address be moved to/enabled on cluster server, where the TNS Listener is being started. Once the interface is enabled on cluster server, then start the TNS Listener.
but how do i do that ?
I am going to reboot the linux1 and linux2 boxes to see if that helps/solves the issue.
Running Oracle Enterprise Linux 4 update 5 with oracle 10g R2
Thanks
Edited by: ow001294 on Aug 24, 2008 12:33 PMyou wrote :
"Please check your listener.ora and tnsnames.ora to make sure they entries are correct.
You can also try that from a client machine tnsping(<server name> and IP address) is ok."
I responded :
This is on a brand new installation of Oracle RAC at home on 2 desktop pc's using Jeff Hunter's article on OTN website for testing/playing with Oracle 10 RAC at home. I used netca (network configuration assistant) to configure the listener. So, the listener.ora file should be correct. I only have listener.ora and sqlnet.ora files. No tnsnames.ora file yet.
I don't have another client pc to connect to the server. This is a home based installation NOT connected to internet.
The metalink note suggested a solution but i am not that familiar with linux/unix to know how to enable the interfaces. I just rebooted the boxes to see if that would solve the situation. am going to try again.....
thanks
Maybe you are looking for
-
Error in the instructions for performing a silent install
There's an error in the instructions for performing a silent install of Photoshop Elements: http://helpx.adobe.com/photoshop-elements/kb/silent-install-instructions-photoshop-element s-1.html In step 9, the instructions say to use the following comma
-
Purchase order release strategy with multiple characteristics
Hi All, We have Purchase order release strategy based on the following characteristics: Total Net Order Value Purchasing Organization Release strategy Type a few other custom fields We would like to have PO's with release strategy based on a particul
-
Use Oracle RAC Database 10g on SunOS nova 5.9
Hello! We use Oracle RAC Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bit that consist of two nodes on SunOS nova 5.9 Generic_117171-17 sun4u sparc SUNW,Sun-Fire-V440. Connection string as follows: jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALAN
-
Mailbox Database Size/White Space Reduction in a DAG
I have several large databases in which I'm moving mailboxes off of in an attempt to prevent my LUNs from running out of disk space. As well, I have several mailboxes of users who have left the company. My questions are as follows: 1. When I run remo
-
Certain Movies not compatible with iMovie.
I've tried everything with iMovie, and there's nothing wrong with that-in fact, it seems to be a problem with certain movies. And there doesn't seem to be any pattern. I can use a movie that I've taken from the beginning of a roll, and not use one ne