Problem with cgi versions
Fabio D'Andria <fabio.dandria-8BhjPy11Cf1Wk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear all, I am working on a cgi which I ported to fastcgi. This is all running on httpd 2.0.22 and the cgi opens a connection to a mysql db. Let's say that the app is working so this is not the problem. The problem is when I had to fix a problem on a query which was giving an error message. I fixed it but I kept having the same error. Eventually found out that the cgi version is correct (the new one) but fastcgi is keeping some old version somewhere. I am using the autoupdate option, I tried both the static and dynamic server but with no luck. Still same problem. As I put the cgi back to non fastcgi it works on the spot, if I put the fastcgi config then it starts with the old version (and the wrong query) again. I tried to remove the file, rename it, nothing worked. This is my fastcgi config (a file called fastcgi.conf under /etc/httpd/ conf.d/) for the case of static server: -------------------------------------------------------------------------------------------------------------------------------- LoadModule fastcgi_module modules/mod_fastcgi.so <IfModule mod_fastcgi.c> FastCgiWrapper On FastCgiIpcDir /tmp FastCgiConfig -singleThreshold 100 -killInterval 60 -autoUpdate -idle- timeout 60 -minProcesses 5 -maxProcesses 100 FastCgiServer /var/www/html-dev/cgi-bin/myCgi -user myCgi-user -group myCgi-group -socket myCgi.sock </IfModule> -------------------------------------------------------------------------------------------------------------------------------- Since I am not handling kill signals yet, I thought it might have been some instances still in memory, but I also shut down httpd and made sure that no instances of the cgi were running. Does anyone have any clue? Anything I can check? Did anyone ever experience that? Thanks a lot Fabio ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/