Just wondering if this is cause there is a link on the server related to an IP. For example we carried over and old site and maybe in one of those files is a link that people are visiting that goes back to ip and then ispconfig things to go here. I am seeing this in the apache error log and it causes a segmentation fault after about a day or of hits.
yes what is happening is that people are using our applet but wrapping it wrong or what ever so the server is coming back here for other things. Is there a way to block this request so apache just ignores it and there is no hit to the server? Like make that folder non readable? Or put an .htaccess file in there saying you are not allowed?
You can remove the Shared IP vhost from Vhosts_ispconfig.conf (right at the beginning), but you'd also have to remove it from the function make_vhost() in /root/ispconfig/scripts/lib/config.lib.php.
what will then happen? does apache just not even take note? Or is it still considered a mis-hit? Thanks
If you remove the sharedIP vhsots, the request will be redirected to the first vhost which uses this IP. If the requested page does not exist in this vhsot, apache will throw a 404 error.
Okay maybe I should also mention that the log has tons of these [Fri Apr 11 01:04:43 2008] [notice] child pid 4048 exit signal Segmentation fault (11) [Fri Apr 11 01:04:52 2008] [notice] child pid 10915 exit signal Segmentation fault (11) And the two seems to show up at the same time until finally the server stops serving. So by redirecting this to 404 would it all really matter to apache and server load?
You can have monit monitor the Apache error log and restart Apache if these errors occur: Code: check file apache_errorlog with path /var/log/apache2/error.log if match "exit signal Segmentation fault \(11\)$" then exec "/etc/init.d/apache2 restart" http://www.howtoforge.com/server_monitoring_with_munin_monit_debian_etch_p2