Support Requests item #626122, was opened at 2002-10-20 18:25
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=203152&aid=626122&group_id=3152
Category: Configuration: Other
Group: aolserver3_4
Status: Open
Resolution: None
Priority: 5
Submitted By: Thorpe Mayes (tamayes)
Assigned to: Nobody/Anonymous (nobody)
Summary: AOLserver 3.4.2 restarting spontaneously
Initial Comment:
AOLserver 3.4.2 running on linux 7.1 with solid 3.5
database.
AOLserver is restarting several times a day, but
without any pattern that I can detect.
I recently upgraded the xinetd package.
Any direction will be appreciated.
Best regards,
Thorpe Mayes
----------------------------------------------------------------------
>Comment By: Thorpe Mayes (tamayes)
Date: 2002-10-20 20:24
Message:
Logged In: YES
user_id=344973
Dossy,
Here is a copy of the text from the server log:
[20/Oct/2002:17:23:47][23686.241671][-conn149-] Notice:
dbinit: sql(TCP/IP 1314): 'SELECT event_title, event_date,
event_time, event_location, event_address, event_city,
event_contact_information, event_desc FROM okgopevent WHERE
event_date = '2002-10-24' ORDER BY event_time'
[20/Oct/2002:17:40:00][23686.244743][-sched:2-] Notice:
dbinit: closing idle handle in pool 'tmayes'
[20/Oct/2002:17:40:09][28366.1024][-main-] Notice: nsmain:
AOLserver/3.4.2 starting
It seems like too much time passed between the two events
for the restart to be related to the select.
Also, Jim, I am using tcl version 8.3. I do use ns_share in
this way:
at the end of scheduled procedures I use code that is
similar to:
ns_share daily_cci_sweep_scheduled_p
if { ![info exists daily_cci_sweep_scheduled_p] } {
ns_schedule_daily -thread 3 25 daily_cci_sweep
set daily_cci_sweep_scheduled_p 1
}
Thank you for your help and interest.
Best regards,
Thorpe Mayes
----------------------------------------------------------------------
Comment By: Dossy Shiobara (dossy)
Date: 2002-10-20 18:53
Message:
Logged In: YES
user_id=21885
Also, Jim Wilcoxson has this to say:
=========================================================
Do you use ns_share arrays, and are you using TCl 7.6? If so, there
is a critical bug in the server.
The following code will bomb the server at random, because of a
race condition:
ns_share x
set x(1) 1
if {[info exists x(2)]} {
}
If you execute this 1000x per second or so, the server will
immediately crash.
If this is your problem, lemme know. I have a patch to nsd/tclVar.c
Jim
www.rubylane.com
----------------------------------------------------------------------
Comment By: Dossy Shiobara (dossy)
Date: 2002-10-20 18:51
Message:
Logged In: YES
user_id=21885
Thorpe,
What's the last thing in the log/server.log before the restart?
-- Dossy
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=203152&aid=626122&group_id=3152