Dave Coventry wrote:
1:#!/usr/bin/perl 2:$| = 1; 3:$ip=<STDIN>; 4:$ip=chomp($ip); 5:$ipfile='/var/www/apache2-default/cgi-bin/ips/'.$ip; 6:#print $ipfile; 7:if (-e $ipfile){print "OK";} 8:else {print "ERR : ".$ip;} This appears in the cache.log: 2008/03/05 11:33:44| WARNING: ipauth #1 (FD 7) exited 2008/03/05 11:33:44| WARNING: ipauth #2 (FD 8) exited 2008/03/05 11:33:44| WARNING: ipauth #3 (FD 9) exited 2008/03/05 11:33:44| Too few ipauth processes are running 2008/03/05 11:33:44| storeDirWriteCleanLogs: Starting... 2008/03/05 11:33:44| Finished. Wrote 195 entries. 2008/03/05 11:33:44| Took 0.0 seconds (874439.5 entries/sec). FATAL: The ipauth helpers are crashing too rapidly, need help!
(Sorry Dave I keep hitting reply and not reply to list) External helps are not supposed to exit once they have completed a request. Your perl script should read from stdin then write OK/ERR then wait for more input. Cheers, Mick