[ previous ] [ next ] [ threads ]
 
 From:  Paul Taylor <PaulTaylor at winn dash dixie dot com>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  mini-httpd stopped for my Captive Portal?...
 Date:  Thu, 15 Sep 2005 09:41:01 -0400
On my production machine, I'm running captive portal with HTTPS.  (Using my
modified image based on 1.2b9 - Haven't had the chance to update to my
1.2b10 image yet)...

 

Anyhow, sometime yesterday mini-http died for my captive portal...  The only
other unusual thing I see on the whole machine are these two messages from
yesterday afternoon in the System Log:

 

12:32:14 xl0: transmission error: 90

12:32:14 xl0: tx underrun, increasing tx start threshold to 120 bytes

 

BTW, xl0 is my WAN Nic...  The last successful login to the Captive Portal
was at 12:02, about 30 minutes prior to these messages... But, it's not
terribly unusual that people wouldn't sign in again in this environment.  We
have a 90 minute idle timeout, and most people who are going to be using it
will probably already be in the office by 12:30...

 

I was able to restart it by disabling and re-enabling Captive Portal...

 

Have there been other people with issues with httpd stopping?  (With recent
betas?)  The machine had only been up and active for about a week prior to
this problem.

 

Also, here's how I know that it stopped... 

 

Before I stopped and restarted the Captive Portal:

# ps -waxwu | grep http

root     191  0.0  0.3  2444 1472  ??  INs  Thu10PM   0:00.28
/usr/local/sbin/mini_httpd -a -M 0 -u root -maxproc 16 -p 8000 -i
/var/run/mini_httpd.cp.pid

root     100  0.0  0.3  2292 1640  ??  Is   Thu10PM   0:00.33
/usr/local/sbin/mini_httpd -S -E /var/etc/cert.pem -c **.php|**.cgi -u root
-maxproc 16 -i /var/run/mini_httpd.pid

 

After I stopped and restarted the Captive Portal:

# ps -waxwu | grep http

root   37919  0.0  0.4  2376 1800  ??  INs   9:19AM   0:00.02
/usr/local/sbin/mini_httpd -S -a -M 0 -E /var/etc/cert-portal.pem -u root
-maxproc 16 -p 8001 -i /var/run/mini_httpd.cps.pid

root   37916  0.0  0.3  2248 1252  ??  INs   9:19AM   0:00.01
/usr/local/sbin/mini_httpd -a -M 0 -u root -maxproc 16 -p 8000 -i
/var/run/mini_httpd.cp.pid

root     100  0.0  0.3  2292 1640  ??  Is   Thu10PM   0:00.33
/usr/local/sbin/mini_httpd -S -E /var/etc/cert.pem -c **.php|**.cgi -u root
-maxproc 16 -i /var/run/mini_httpd.pid

 

Paul