Project

General

Profile

« Previous | Next » 

Revision 923d15bf

Added by Warren Baker almost 14 years ago

DNSMasq was generating the error 'Socket operation on non-socket' and using 100% of the CPU, changing it to mwexec_bg() resolves the issue.

View differences:

etc/inc/services.inc
1138 1138
		}
1139 1139

  
1140 1140
		/* run dnsmasq */
1141
		mwexec("/usr/local/sbin/dnsmasq --local-ttl 1 --all-servers {$dns_rebind} --dns-forward-max=5000 --cache-size=10000 {$args}");
1141
		mwexec_bg("/usr/local/sbin/dnsmasq --local-ttl 1 --all-servers {$dns_rebind} --dns-forward-max=5000 --cache-size=10000 {$args}");
1142 1142

  
1143 1143
		if ($g['booting'])
1144 1144
			echo gettext("done.") . "\n";

Also available in: Unified diff