DB requires restart once in two days
Hi
We are restarting our server once in two days. otherwise DB is getting down.Please guide me how to resolve this.we dont want to restart it frequently(Requires restart once or twice in a month)
Server Configuration
----------------------------
32 bit windows server 2003 XP
4 GB RAM
Users connected : Around 150
Application using : JDEdwards
Database : Oracle
Total RAM=4gb (Oracle+OS)
Oracle => SGA+PGA=500+100=600MB
Also please guide me how can I utilize the remaining memory in a proper way.
Providing some of the parameters and values assigned.
Initialization parameters:
==================================
__db_cache_size 100663296
__java_pool_size 155189248
__large_pool_size 4194304
__shared_pool_size 255852544
db_block_size 8192
shared_pool_reserved_size 12792627
PGA 100 MB
Total System Global Area 524288000 bytes (500 MB)
Fixed Size 789692 bytes
Variable Size 442757956 bytes
Database Buffers 79691776 bytes
Redo Buffers 1048576 bytes
we are using SPFile
Thanks in Advance
you have said nothing there which indicated why you are restarting the server
We are restarting DB because users are not able to connect to application (JDEdwards) or some times they are not getting datas from database.
So as an Admin I tried to check the enterprise manager, or Toad in server. It is showing Listner error which means that connection to database is lost.
So I will do a restart.
After that all the problem will be solved. Even I can access toad and enterprise manager.But this will continue for two or three days. Again same problem will affect and I need to restart again.Thats Y I doubted whether it can be the problem of any buffer cache or some other setting.
Please let me know whether u need the entire parameter list to check any values... Anyway I am attahing an Excel along with this, which has got the entire parameter and values.
Any ORA- error message on the client side?
What you see in Alertlog?
Pablo (Paul) Berzukov
Author of
Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
No ORA message.. thats y i cannot figure out what exactly happening...
I am providing all the parameter values below.Please let me know whether any important value is missing or not.
O7_DICTIONARY_ACCESSIBILITY FALSE Boolean
__db_cache_size 100663296 Big Integer
__java_pool_size 155189248 Big Integer
__large_pool_size 4194304 Big Integer
__shared_pool_size 255852544 Big Integer
active_instance_count Integer
aq_tm_processes 0 Integer
archive_lag_target 0 Integer
asm_diskgroups 0 String
asm_diskstring 0 String
asm_power_limit 0 Integer
audit_sys_operations FALSE Boolean
audit_trail NONE String
background_core_dump partial String
background_dump_dest 0 String
backup_tape_io_slaves 0 Boolean
bitmap_merge_area_size 1048576 Integer
blank_trimming FALSE Boolean
buffer_pool_keep 0 String
buffer_pool_recycle 0 String
circuits 0 Integer
cluster_database FALSE Boolean
cluster_database_instances 1 Integer
cluster_interconnects 0 String
commit_point_strength 1 Integer
compatible 10.1.0.2.0 String
control_file_record_keep_time 0 Integer
control_files 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCLJDE\CONTROL01.CTL', 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCLJDE\CONTROL02.CTL', 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCLJDE\CONTROL03.CTL' String
core_dump_dest String
cpu_count Integer
create_bitmap_area_size 8388608 Integer
create_stored_outlines String
cursor_sharing String
cursor_space_for_time FALSE Boolean
db_16k_cache_size Big Integer
db_2k_cache_size Big Integer
db_32k_cache_size Big Integer
db_4k_cache_size Big Integer
db_8k_cache_size Big Integer
db_block_buffers 0 Integer
db_block_checking Boolean
db_block_checksum Boolean
db_block_size 8192 Integer
db_cache_advice String
db_cache_size Big Integer
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
db_file_name_convert String
db_files 200 Integer
db_flashback_retention_target Integer
db_keep_cache_size Big Integer
db_name orcljde String
db_recovery_file_dest String
db_recovery_file_dest_size Big Integer
db_recycle_cache_size Big Integer
db_unique_name orcljde String
db_writer_processes 1 Integer
dbwr_io_slaves 0 Integer
ddl_wait_for_locks Boolean
dg_broker_config_file1 String
dg_broker_config_file2 String
dg_broker_start Boolean
disk_asynch_io TRUE Boolean
dispatchers String
distributed_lock_timeout 60 Integer
dml_locks 748 Integer
drs_start Boolean
enqueue_resources 968 Integer
event String
fal_client String
fal_server String
fast_start_io_target Integer
fast_start_mttr_target Integer
fast_start_parallel_rollback String
file_mapping Boolean
fileio_network_adapters String
filesystemio_options String
fixed_date String
gc_files_to_locks String
gcs_server_processes 0 Integer
global_context_pool_size String
global_names Boolean
hash_area_size 131072 Integer
hi_shared_memory_address 0 Integer
hs_autoregister Boolean
ifile Filename
instance_groups String
instance_name orcljde String
instance_number 0 Integer
instance_type RDBMS String
java_max_sessionspace_size 0 Integer
java_pool_size Big Integer
java_soft_sessionspace_limit 0 Integer
job_queue_processes Integer
large_pool_size Big Integer
ldap_directory_access String
license_max_sessions Integer
license_max_users Integer
license_sessions_warning Integer
local_listener String
lock_name_space String
lock_sga FALSE Boolean
log_archive_config String
log_archive_dest String
log_archive_dest_1 String
log_archive_dest_10 String
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
log_archive_dest_7 String
log_archive_dest_8 String
log_archive_dest_9 String
log_archive_dest_state_1 String
log_archive_dest_state_10 String
log_archive_dest_state_2 String
log_archive_dest_state_3 String
log_archive_dest_state_4 String
log_archive_dest_state_5 String
log_archive_dest_state_6 String
log_archive_dest_state_7 String
log_archive_dest_state_8 String
log_archive_dest_state_9 String
log_archive_duplex_dest String
log_archive_format ARC%S_%R.%T String
log_archive_local_first Boolean
log_archive_max_processes Integer
log_archive_min_succeed_dest Integer
log_archive_start FALSE Boolean
log_archive_trace Integer
log_buffer 1048576 Integer
log_checkpoint_interval Integer
log_checkpoint_timeout Integer
log_checkpoints_to_alert Boolean
log_file_name_convert String
logmnr_max_persistent_sessions 1 Integer
max_commit_propagation_delay 700 Integer
max_dispatchers Integer
max_dump_file_size String
max_enabled_roles 150 Integer
max_shared_servers Integer
nls_calendar String
nls_comp String
nls_currency String
nls_date_format String
nls_date_language String
nls_dual_currency String
nls_iso_currency String
nls_language AMERICAN String
nls_length_semantics String
nls_nchar_conv_excp String
nls_numeric_characters String
nls_sort String
nls_territory AMERICA String
nls_time_format String
nls_time_tz_format String
nls_timestamp_format String
nls_timestamp_tz_format String
object_cache_max_size_percent Integer
object_cache_optimal_size Integer
olap_page_pool_size Big Integer
open_cursors Integer
open_links 4 Integer
open_links_per_instance 4 Integer
optimizer_dynamic_sampling Integer
optimizer_features_enable String
optimizer_index_caching Integer
optimizer_index_cost_adj Integer
optimizer_mode String
os_authent_prefix OPS$ String
os_roles FALSE Boolean
parallel_adaptive_multi_user Boolean
parallel_automatic_tuning FALSE Boolean
parallel_execution_message_size 2148 Integer
parallel_instance_group String
parallel_max_servers Integer
parallel_min_percent 0 Integer
parallel_min_servers Integer
parallel_server FALSE Boolean
parallel_server_instances 1 Integer
parallel_threads_per_cpu Integer
pga_aggregate_target Big Integer
plsql_code_type String
plsql_compiler_flags String
plsql_debug Boolean
plsql_native_library_dir String
plsql_native_library_subdir_count Integer
plsql_optimize_level Integer
plsql_v2_compatibility Boolean
plsql_warnings String
pre_page_sga FALSE Boolean
processes 150 Integer
query_rewrite_enabled String
query_rewrite_integrity String
rdbms_server_dn String
read_only_open_delayed FALSE Boolean
recovery_parallelism 0 Integer
remote_archive_enable TRUE String
remote_dependencies_mode String
remote_listener String
remote_login_passwordfile EXCLUSIVE String
remote_os_authent FALSE Boolean
remote_os_roles FALSE Boolean
replication_dependency_tracking TRUE Boolean
resource_limit Boolean
resource_manager_plan String
resumable_timeout Integer
rollback_segments String
serial_reuse DISABLE String
service_names String
session_cached_cursors 0 Integer
session_max_open_files 10 Integer
sessions 170 Integer
sga_max_size 524288000 Big Integer
sga_target Big Integer
shadow_core_dump partial String
shared_memory_address 0 Integer
shared_pool_reserved_size 12792627 Big Integer
shared_pool_size Big Integer
shared_server_sessions Integer
shared_servers Integer
skip_unusable_indexes Boolean
smtp_out_server String
sort_area_retained_size Integer
sort_area_size Integer
sp_name orcljde String
spfile D:\ORACLE\PRODUCT\10.1.0\DB_1\DATABASE\SPFILEORCLJDE.ORA String
sql92_security FALSE Boolean
sql_trace Boolean
sql_version NATIVE String
sqltune_category String
standby_archive_dest String
standby_file_management String
star_transformation_enabled String
statistics_level String
streams_pool_size Big Integer
tape_asynch_io TRUE Boolean
thread 0 Integer
timed_os_statistics Integer
timed_statistics Boolean
trace_enabled Boolean
tracefile_identifier String
transactions 187 Integer
transactions_per_rollback_segment 5 Integer
undo_management AUTO String
undo_retention Integer
undo_tablespace String
use_indirect_data_buffers FALSE Boolean
user_dump_dest String
utl_file_dir String
workarea_size_policy String
O7_DICTIONARY_ACCESSIBILITY FALSE Boolean
__db_cache_size 100663296 Big Integer
__java_pool_size 155189248 Big Integer
__large_pool_size 4194304 Big Integer
__shared_pool_size 255852544 Big Integer
active_instance_count Integer
aq_tm_processes Integer
archive_lag_target Integer
asm_diskgroups String
asm_diskstring String
asm_power_limit Integer
audit_sys_operations FALSE Boolean
audit_trail NONE String
background_core_dump partial String
background_dump_dest String
backup_tape_io_slaves Boolean
bitmap_merge_area_size 1048576 Integer
blank_trimming FALSE Boolean
buffer_pool_keep String
buffer_pool_recycle String
circuits Integer
cluster_database FALSE Boolean
cluster_database_instances 1 Integer
cluster_interconnects String
commit_point_strength 1 Integer
compatible 10.1.0.2.0 String
control_file_record_keep_time Integer
control_files 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCLJDE\CONTROL01.CTL', 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCLJDE\CONTROL02.CTL', 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCLJDE\CONTROL03.CTL' String
core_dump_dest String
cpu_count Integer
create_bitmap_area_size 8388608 Integer
create_stored_outlines String
cursor_sharing String
cursor_space_for_time FALSE Boolean
db_16k_cache_size Big Integer
db_2k_cache_size Big Integer
db_32k_cache_size Big Integer
db_4k_cache_size Big Integer
db_8k_cache_size Big Integer
db_block_buffers 0 Integer
db_block_checking Boolean
db_block_checksum Boolean
db_block_size 8192 Integer
db_cache_advice String
db_cache_size Big Integer
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
db_file_name_convert String
db_files 200 Integer
db_flashback_retention_target Integer
db_keep_cache_size Big Integer
db_name orcljde String
db_recovery_file_dest String
db_recovery_file_dest_size Big Integer
db_recycle_cache_size Big Integer
db_unique_name orcljde String
db_writer_processes 1 Integer
dbwr_io_slaves 0 Integer
ddl_wait_for_locks Boolean
dg_broker_config_file1 String
dg_broker_config_file2 String
dg_broker_start Boolean
disk_asynch_io TRUE Boolean
dispatchers String
distributed_lock_timeout 60 Integer
dml_locks 748 Integer
drs_start Boolean
enqueue_resources 968 Integer
event String
fal_client String
fal_server String
fast_start_io_target Integer
fast_start_mttr_target Integer
fast_start_parallel_rollback String
file_mapping Boolean
fileio_network_adapters String
filesystemio_options String
fixed_date String
gc_files_to_locks String
gcs_server_processes 0 Integer
global_context_pool_size String
global_names Boolean
hash_area_size 131072 Integer
hi_shared_memory_address 0 Integer
hs_autoregister Boolean
ifile Filename
instance_groups String
instance_name orcljde String
instance_number 0 Integer
instance_type RDBMS String
java_max_sessionspace_size 0 Integer
java_pool_size Big Integer
java_soft_sessionspace_limit 0 Integer
job_queue_processes Integer
large_pool_size Big Integer
ldap_directory_access String
license_max_sessions Integer
license_max_users Integer
license_sessions_warning Integer
local_listener String
lock_name_space String
lock_sga FALSE Boolean
log_archive_config String
log_archive_dest String
log_archive_dest_1 String
log_archive_dest_10 String
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
log_archive_dest_7 String
log_archive_dest_8 String
log_archive_dest_9 String
log_archive_dest_state_1 String
log_archive_dest_state_10 String
log_archive_dest_state_2 String
log_archive_dest_state_3 String
log_archive_dest_state_4 String
log_archive_dest_state_5 String
log_archive_dest_state_6 String
log_archive_dest_state_7 String
log_archive_dest_state_8 String
log_archive_dest_state_9 String
log_archive_duplex_dest String
log_archive_format ARC%S_%R.%T String
log_archive_local_first Boolean
log_archive_max_processes Integer
log_archive_min_succeed_dest Integer
log_archive_start FALSE Boolean
log_archive_trace Integer
log_buffer 1048576 Integer
log_checkpoint_interval Integer
log_checkpoint_timeout Integer
log_checkpoints_to_alert Boolean
log_file_name_convert String
logmnr_max_persistent_sessions 1 Integer
max_commit_propagation_delay 700 Integer
max_dispatchers Integer
max_dump_file_size String
max_enabled_roles 150 Integer
max_shared_servers Integer
nls_calendar String
nls_comp String
nls_currency String
nls_date_format String
nls_date_language String
nls_dual_currency String
nls_iso_currency String
nls_language AMERICAN String
nls_length_semantics String
nls_nchar_conv_excp String
nls_numeric_characters String
nls_sort String
nls_territory AMERICA String
nls_time_format String
nls_time_tz_format String
nls_timestamp_format String
nls_timestamp_tz_format String
object_cache_max_size_percent Integer
object_cache_optimal_size Integer
olap_page_pool_size Big Integer
open_cursors Integer
open_links 4 Integer
open_links_per_instance 4 Integer
optimizer_dynamic_sampling Integer
optimizer_features_enable String
optimizer_index_caching Integer
optimizer_index_cost_adj Integer
optimizer_mode String
os_authent_prefix OPS$ String
os_roles FALSE Boolean
parallel_adaptive_multi_user Boolean
parallel_automatic_tuning FALSE Boolean
parallel_execution_message_size 2148 Integer
parallel_instance_group String
parallel_max_servers Integer
parallel_min_percent 0 Integer
parallel_min_servers Integer
parallel_server FALSE Boolean
parallel_server_instances 1 Integer
parallel_threads_per_cpu Integer
pga_aggregate_target Big Integer
plsql_code_type String
plsql_compiler_flags String
plsql_debug Boolean
plsql_native_library_dir String
plsql_native_library_subdir_count Integer
plsql_optimize_level Integer
plsql_v2_compatibility Boolean
plsql_warnings String
pre_page_sga FALSE Boolean
processes 150 Integer
query_rewrite_enabled String
query_rewrite_integrity String
rdbms_server_dn String
read_only_open_delayed FALSE Boolean
recovery_parallelism 0 Integer
remote_archive_enable TRUE String
remote_dependencies_mode String
remote_listener String
remote_login_passwordfile EXCLUSIVE String
remote_os_authent FALSE Boolean
remote_os_roles FALSE Boolean
replication_dependency_tracking TRUE Boolean
resource_limit Boolean
resource_manager_plan String
resumable_timeout Integer
rollback_segments String
serial_reuse DISABLE String
service_names String
session_cached_cursors 0 Integer
session_max_open_files 10 Integer
sessions 170 Integer
sga_max_size 524288000 Big Integer
sga_target Big Integer
shadow_core_dump partial String
shared_memory_address 0 Integer
shared_pool_reserved_size 12792627 Big Integer
shared_pool_size Big Integer
shared_server_sessions Integer
shared_servers Integer
skip_unusable_indexes Boolean
smtp_out_server String
sort_area_retained_size Integer
sort_area_size Integer
sp_name orcljde String
spfile D:\ORACLE\PRODUCT\10.1.0\DB_1\DATABASE\SPFILEORCLJDE.ORA String
sql92_security FALSE Boolean
sql_trace Boolean
sql_version NATIVE String
sqltune_category String
standby_archive_dest String
standby_file_management String
star_transformation_enabled String
statistics_level String
streams_pool_size Big Integer
tape_asynch_io TRUE Boolean
thread 0 Integer
timed_os_statistics Integer
timed_statistics Boolean
trace_enabled Boolean
tracefile_identifier String
transactions 187 Integer
transactions_per_rollback_segment 5 Integer
undo_management AUTO String
undo_retention Integer
undo_tablespace String
use_indirect_data_buffers FALSE Boolean
user_dump_dest String
utl_file_dir String
workarea_size_policy String
Two items call my attention, #1 the use of Windows XP as the O/S for a production database server and, #2 the suspiciously small size of the SGA
Having said that I think you are looking for the root cause of the issue in the wrong place. It is hard to believe the system just stops working showing neither O/S nor Oracle messages. Nothing in Oracle’s Alertlog? Nothing in Windows’ Event viewer either? Really?
What happens if you recycle Oracle instead of powering down the server as original post suggests is the current standard procedure to deal with the issue.
Pablo (Paul) Berzukov
Author of
Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
32 bit windows server 2003 XP
4 GB RAM
Users connected : Around 150
Application using : JDEdwards
Database : Oracle
Total RAM=4gb (Oracle+OS)
Oracle => SGA+PGA=500+100=600MB
Well, with 150 concurrent users, how do you expect to do with 500M SGA and a mere 100M PGA, where Oracle needs some memory, to maintain user session info. This is heavily undersized, i would say. See alert log, Windows Event Viewer as PAVB suggested. Also keep monitoring Perfmon continuously. Increase SGA, PGA to what is possible, at least 2G.
Last edited by gtcol; 04-27-2009 at 01:08 AM .
what say abt listener log file?
lucky
Please see the attached Listener log file.
this I have taken before restarting the server.
please let me know whether any issue is there with listener.
Attached Files
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width