Date: Sat, 04 Feb 2006 11:57:25 -0400
From: HECTOR SANTOS
To: ROLF KNOBEL
Subject: Re: CGI not working - problem solved
Newsgroups: winserver.public.gamma.testing
Message-ID: <
[email protected]>
References: <
[email protected]>
X-WcMsg-Attr: Rcvd
X-Mailer: Wildcat! Interactive Net Server v7.0.454.5
Lines: 44
<ROLF KNOBEL> wrote in message
news:
[email protected]...
No, there aren't many system reboots. I reboot the server
after a Windows update requires it otherwise the server runs
without restarts. It's a Windows 2000 Server. I saw really old
cgi*.tmp files (I believe the oldest was from june 2005). I'll
take a look if the files are from a specific script or if no temp
files are deleted.
yes, it would of help (provide some background intelligence information)
to see what kind of cgi*.tmp, how old? Zero size? etc.
Yes, it has to be deleted at ALL times after the CGI is finished. This
is the logic and it must be deleted unless something else is preventing
it. There is nothing wrong with this delete logic.
I am investigating how WCWEB will work when there is 65K files and how
this could or might be related to files not being deleted.
What I found is the GetTempFileName() will FAIL if there are no more
unique numbers to assign when there are over 65K files. Since this
never expected to fail, there was no ERROR checking for this in
WCHTTPS.DLL.
I can add additional logic to check this, but it doesn't explain how it
is possible for 65K CGI*.TMP were never deleted in your case over the
year. Meaning, if GetTempFileName() failed, then there was NOTHING to
delete :-)
Do you have any WCHOSTFAULT.LOG entries? I suspect if you do, there will
be alot of them corresponding to the CGI attempts. Of course, I don't
expect you to be able to repeat this now so don't worry about it
anymore. But do tell me if you do have a WCHOSTFAULT.LOG with entries
that look to match the times when the CGI failed this past week. If so,
that might give me some feedback to work with while I take a final look
at the cgi logic.
Thanks
---
Hector
* Origin: Prison Board BBS Mesquite Tx //telnet.RDFIG.NET www. (1:124/5013)