Hello,
I made a perl cgi script 3 years ago on windows NT.
This time (the machine got old, so) we replaced the machine
with a new one and windows 2000 SP4.
This script sometimes runs a longer time for DB slow select, so
I also made a script watching the running time & kill the processes
running over 10 minutes.
Today I found processes that comppetes job to do, and running over 10 min.
So I wrote a log file the process ID and I found same process ID are
used in a small range of time, say within 10 min.
I think cgi is a process created on each request, and dies after the job,
not waiting the next request like mod_perl, and same PID is not used
so quickly.
This is not true on my situation today.
If true, I cann't distinguish the process of healthy job and the zombi doing nothing.
Any idea?
here the file has PID in each record's last!
"grep.pl" displays found PID & it's count.
C:¥aa>grep.pl -w1s "¥t(¥d+)$" AC_ynfmxxx_26.txt
> regexp: ¥t(¥d+)$, searched File: 1
78 line hit in 78 line 1 File.
printing words in ASCII order: 25
1048 5
1352 4
1364 1
1484 1
1612 3
1616 1
1692 4
1784 9
1812 8
1816 1
1976 5
1992 2
1996 5
2104 4
2160 3
2304 3
2380 1
2384 1
2428 1
2820 3
2896 1
3120 3
3256 3
3304 3
3412 3
C:¥aa>
Regards,
Hirosi Taguti
[EMAIL PROTECTED]
_______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
