Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ORA-12518 TNS:Listener could not hand off client Connection

Status
Not open for further replies.

bobby13

Technical User
Jun 18, 2003
93
GB
This weekend I installed Oracle Enterprise 10g release 2 on Windows 2003 server. The server is a Xeon dual processor 2.5MHz each with 3GB RAM and 300GB harddisk on RAID 1.

The installation was fine, I then installed our application on it, that went smoothly as well. I had 3 users logged in to test the installation and everything was ok.

Today morning we had 100 users trying to login and some got access, but majority got the ORA error above and have no access. I checked the tnsnames.ora file and sqlnet.ora file, service on the database all looks ok.

I also restarted the listener service on the server, but I still get this error message. I've also increased no of sessions to 1000.

Has anyone ever come across a issue like this in Oracle 10g.

Regards
Bobby
 
Maybe a firewall issue if you have it turned on?

I want to be good, is that not enough?
 
The server is on the same network as users so its not a firewall issue. I can ping/tnsping the server from client PC, no problems there.

There is no firewall installed on Windows 2003 server. Looks like either i'm missing a parameter somewhere.




Regards
Bobby
 

This type of error usually points to a resource issue. If you are using dedicated connections to your database, increase the number of processes. If you are using shared server, increase the number of dispatchers.
[noevil]


----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
HI
we are running Dedicated connentions mode. When you say Increase processes which parameter do you mean in Oracle 10g?

Regards
Bobby
 

How about the "processes" parameter? [3eyes]





----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Hi Guys,

Like I said I've already increased the processes and sessions parameter to 1000. I have 300 users max that use the system. What we've noticed is that as soon as the processes increases over 105 the TNS error starts, under 105 processes its fine. Below are my DB parameters:

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 -Production With the Partitioning, OLAP and Data Mining options

SQL> show parameters

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
O7_DICTIONARY_ACCESSIBILITY boolean FALSE
active_instance_count integer
aq_tm_processes integer 0
archive_lag_target integer 0
asm_diskgroups string
asm_diskstring string
asm_power_limit integer 1
audit_file_dest string D:\ORACLE\ADMIN\EMS\ADUMP
audit_sys_operations boolean FALSE
audit_trail string NONE
background_core_dump string partial

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
background_dump_dest string D:\ORACLE\ADMIN\EMS\BDUMP
backup_tape_io_slaves boolean FALSE
bitmap_merge_area_size integer 1048576
blank_trimming boolean FALSE
buffer_pool_keep string
buffer_pool_recycle string
circuits integer
cluster_database boolean FALSE
cluster_database_instances integer 1
cluster_interconnects string
commit_point_strength integer 1

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
commit_write string
compatible string 10.2.0.1.0
control_file_record_keep_time integer 7
control_files string C:\ORACLE\ORA10G\CONTROL01.CTL
, D:\ORACLE\ORA10G\CONTROL02.C
TL, E:\ORACLE\ORA10G\CONTROL03
.CTL
core_dump_dest string D:\ORACLE\ADMIN\EMS\CDUMP
cpu_count integer 2
create_bitmap_area_size integer 8388608
create_stored_outlines string

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
cursor_sharing string EXACT
cursor_space_for_time boolean FALSE
db_16k_cache_size big integer 0
db_2k_cache_size big integer 0
db_32k_cache_size big integer 0
db_4k_cache_size big integer 0
db_8k_cache_size big integer 0
db_block_buffers integer 0
db_block_checking string FALSE
db_block_checksum string TRUE
db_block_size integer 8192

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_cache_advice string ON
db_cache_size big integer 208M
db_create_file_dest string
db_create_online_log_dest_1 string
db_create_online_log_dest_2 string
db_create_online_log_dest_3 string
db_create_online_log_dest_4 string
db_create_online_log_dest_5 string
db_domain string
db_file_multiblock_read_count integer 16
db_file_name_convert string

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_files integer 200
db_flashback_retention_target integer 1440
db_keep_cache_size big integer 0
db_name string EMS
db_recovery_file_dest string e:\oracle\ora10g\flash_recover
y_area
db_recovery_file_dest_size big integer 100G
db_recycle_cache_size big integer 0
db_unique_name string EMS
db_writer_processes integer 1
dbwr_io_slaves integer 0

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
ddl_wait_for_locks boolean FALSE
dg_broker_config_file1 string D:\ORACLE\10.2.0\DATABASE\DR1E
MS.DAT
dg_broker_config_file2 string D:\ORACLE\10.2.0\DATABASE\DR2E
MS.DAT
dg_broker_start boolean FALSE
disk_asynch_io boolean TRUE
dispatchers string
distributed_lock_timeout integer 60
dml_locks integer 750
drs_start boolean FALSE

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
event string
fal_client string
fal_server string
fast_start_io_target integer 0
fast_start_mttr_target integer 0
fast_start_parallel_rollback string LOW
file_mapping boolean FALSE
fileio_network_adapters string
filesystemio_options string
fixed_date string
gc_files_to_locks string

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
gcs_server_processes integer 0
global_context_pool_size string
global_names boolean FALSE
hash_area_size integer 131072
hi_shared_memory_address integer 0
hs_autoregister boolean TRUE
ifile file
instance_groups string
instance_name string ems
instance_number integer 0
instance_type string RDBMS

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
java_max_sessionspace_size integer 0
java_pool_size big integer 32M
java_soft_sessionspace_limit integer 0
job_queue_processes integer 1
large_pool_size big integer 32M
ldap_directory_access string NONE
license_max_sessions integer 0
license_max_users integer 0
license_sessions_warning integer 0
local_listener string
lock_name_space string

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
lock_sga boolean FALSE
log_archive_config string
log_archive_dest string
log_archive_dest_1 string
log_archive_dest_10 string LOCATION=USE_DB_RECOVERY_FILE_
DEST OPTIONAL REOPEN=300
log_archive_dest_2 string
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_7 string
log_archive_dest_8 string
log_archive_dest_9 string
log_archive_dest_state_1 string enable
log_archive_dest_state_10 string enable
log_archive_dest_state_2 string enable
log_archive_dest_state_3 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_dest_state_6 string enable
log_archive_dest_state_7 string enable

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_state_8 string enable
log_archive_dest_state_9 string enable
log_archive_duplex_dest string
log_archive_format string ARC%S_%R.%T
log_archive_local_first boolean TRUE
log_archive_max_processes integer 2
log_archive_min_succeed_dest integer 1
log_archive_start boolean FALSE
log_archive_trace integer 0
log_buffer integer 7024640
log_checkpoint_interval integer 0

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_checkpoint_timeout integer 1800
log_checkpoints_to_alert boolean FALSE
log_file_name_convert string
logmnr_max_persistent_sessions integer 1
max_commit_propagation_delay integer 0
max_dispatchers integer
max_dump_file_size string UNLIMITED
max_enabled_roles integer 150
max_shared_servers integer
nls_calendar string
nls_comp string

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
nls_currency string
nls_date_format string
nls_date_language string
nls_dual_currency string
nls_iso_currency string
nls_language string ENGLISH
nls_length_semantics string BYTE
nls_nchar_conv_excp string FALSE
nls_numeric_characters string
nls_sort string
nls_territory string UNITED KINGDOM

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
nls_time_format string
nls_time_tz_format string
nls_timestamp_format string
nls_timestamp_tz_format string
object_cache_max_size_percent integer 10
object_cache_optimal_size integer 102400
olap_page_pool_size big integer 0
open_cursors integer 1000
open_links integer 4
open_links_per_instance integer 4
optimizer_dynamic_sampling integer 2

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
optimizer_features_enable string 10.2.0.1
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
os_authent_prefix string OPS$
os_roles boolean FALSE
parallel_adaptive_multi_user boolean TRUE
parallel_automatic_tuning boolean FALSE
parallel_execution_message_size integer 2148
parallel_instance_group string

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
parallel_max_servers integer 40
parallel_min_percent integer 0
parallel_min_servers integer 0
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_threads_per_cpu integer 2
pga_aggregate_target big integer 400M
plsql_ccflags string
plsql_code_type string INTERPRETED
plsql_compiler_flags string INTERPRETED, NON_DEBUG
plsql_debug boolean FALSE

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
plsql_native_library_dir string
plsql_native_library_subdir_count integer 0
plsql_optimize_level integer 2
plsql_v2_compatibility boolean FALSE
plsql_warnings string DISABLE:ALL
pre_page_sga boolean FALSE
processes integer 1000
query_rewrite_enabled string TRUE
query_rewrite_integrity string enforced
rdbms_server_dn string
read_only_open_delayed boolean FALSE

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
recovery_parallelism integer 0
recyclebin string on
remote_archive_enable string true
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE
replication_dependency_tracking boolean TRUE
resource_limit boolean FALSE
resource_manager_plan string

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
resumable_timeout integer 0
rollback_segments string
serial_reuse string disable
service_names string EMS
session_cached_cursors integer 20
session_max_open_files integer 10
sessions integer 1105
sga_max_size big integer 800M
sga_target big integer 0
shadow_core_dump string partial
shared_memory_address integer 0

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
shared_pool_reserved_size big integer 26843545
shared_pool_size big integer 512M
shared_server_sessions integer
shared_servers integer 0
skip_unusable_indexes boolean TRUE
smtp_out_server string
sort_area_retained_size integer 0
sort_area_size integer 65536
spfile string D:\ORACLE\10.2.0\DATABASE\SPFI
LEEMS.ORA
sql92_security boolean FALSE

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
sql_trace boolean FALSE
sql_version string NATIVE
sqltune_category string DEFAULT
standby_archive_dest string %ORACLE_HOME%\RDBMS
standby_file_management string MANUAL
star_transformation_enabled string FALSE
statistics_level string TYPICAL
streams_pool_size big integer 0
tape_asynch_io boolean TRUE
thread integer 0
timed_os_statistics integer 0

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
timed_statistics boolean TRUE
trace_enabled boolean TRUE
tracefile_identifier string
transactions integer 1215
transactions_per_rollback_segment integer 5
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS1
use_indirect_data_buffers boolean FALSE
user_dump_dest string D:\ORACLE\ADMIN\EMS\UDUMP
utl_file_dir string e:\oradata\EMS\plascimport

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
workarea_size_policy string AUTO
SQL>

Regards
Bobby
 
any reason you are sticking to dedicated connection mode? Why not have connection pools?

Regards,
S. Jayaram Uparna .
:)
 
Check the number of concurrent processes allowed on the server. I don't know if or how you check it on Windows server but on UNIX it's a setable kernal parameter.

Anand
 
I think I've resolved the problem, majority of my users are away on easter break so when they return I will know whether this tweak has paid off or not.

Basically my SGA settings were quite high, so 60% of RAM was being used by SGA and 40% by Windows. I basically reduced the total SGA to 800 MB and i've had no connection problems, ever since.

Regards
Bobby
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top