From nicolas at incrowd.be Thu Oct 6 12:18:44 2005 From: nicolas at incrowd.be (Nicolas Van Eenaeme) Date: Thu, 6 Oct 2005 14:18:44 +0200 Subject: Hotlinking Message-ID: <20051006121844.B6ACC3835A@astra.telenet-ops.be> Hi all, I'm using TUX since one month and it's really great. But I was wondering if I could prevent hotlinking with TUX? Are there any modules or configuration settings so that my images served with TUX could not be hotlinked? (So if there's a REFERRER header in the HTTP request that is not http://mysite.com/ the image may not be served). Thanks a lot! Nicolas Van Eenaeme From jblakeley at gmail.com Sat Oct 15 02:20:31 2005 From: jblakeley at gmail.com (Jeff Blakeley) Date: Fri, 14 Oct 2005 19:20:31 -0700 Subject: Tux on RHEL 4.1 AS Message-ID: <5535e0aa0510141920j54a61248hcd0e44cd82fd861d@mail.gmail.com> I'm trying to install Tux on RHEL 4.1 AS with a kernel of 2.6.9. I'm very new here and was hoping to get some help in going about this. I've looked over the QuickStart-TUX.txt file from here: http://people.redhat.com/mingo/TUX-patches/ but noticed that it is rather outdated. It appears there are newer patches available than the ones mentioned in the QuickStart-TUX.txt file. I guess my first question is regarding applying the TUX patch to a vanilla kernel. It says to apply it to a 2.4.16 kernel while I'm running the 2.6.9 kernel. Would I be correct in assuming I need to use either the tux3-2.6.9-rc2-A5 or tux3-2.6.9-rc3-A6 patch? If so, does it matter which one to use here? Can I use an even later patch, such as tux3-2.6.12-rc1-A4? The next question is regarding the userspace utilities. I'm assuming I want to use the tux-3.2.21.tar.gz to correspond with the appropriate tux3 patch, yes? Any help provided would be very much appreciated and would be a sanity check for me before proceeding. Thank you, Jeff Blakeley From wms at igoweb.org Sat Oct 15 03:04:17 2005 From: wms at igoweb.org (William M. Shubert) Date: Fri, 14 Oct 2005 20:04:17 -0700 Subject: Tux on RHEL 4.1 AS In-Reply-To: <5535e0aa0510141920j54a61248hcd0e44cd82fd861d@mail.gmail.com> References: <5535e0aa0510141920j54a61248hcd0e44cd82fd861d@mail.gmail.com> Message-ID: <1129345457.26966.81.camel@desktop.igoweb.org> Why don't you use the RHEL kernel? I know that Tux comes with the stock RHEL 3 kernels (I'm using it right now), and I thought that I noticed it in the RHEL 4 package list. If possible, it's always easier to stick with the prebuilt modules instead of building your own. Plus, if you use the red hat kernel, you'll get security updates etc. with much less work. On Fri, 2005-10-14 at 19:20 -0700, Jeff Blakeley wrote: > I'm trying to install Tux on RHEL 4.1 AS with a kernel of 2.6.9. I'm > very new here and was hoping to get some help in going about this. > I've looked over the QuickStart-TUX.txt file from here: > http://people.redhat.com/mingo/TUX-patches/ but noticed that it is > rather outdated. It appears there are newer patches available than the > ones mentioned in the QuickStart-TUX.txt file. I guess my first > question is regarding applying the TUX patch to a vanilla kernel. It > says to apply it to a 2.4.16 kernel while I'm running the 2.6.9 > kernel. Would I be correct in assuming I need to use either the > tux3-2.6.9-rc2-A5 or tux3-2.6.9-rc3-A6 patch? If so, does it matter > which one to use here? Can I use an even later patch, such as > tux3-2.6.12-rc1-A4? The next question is regarding the userspace > utilities. I'm assuming I want to use the tux-3.2.21.tar.gz to > correspond with the appropriate tux3 patch, yes? Any help provided > would be very much appreciated and would be a sanity check for me > before proceeding. > > Thank you, > Jeff Blakeley > > _______________________________________________ > tux-list mailing list > tux-list at redhat.com > https://www.redhat.com/mailman/listinfo/tux-list > From jblakeley at gmail.com Sun Oct 16 01:06:34 2005 From: jblakeley at gmail.com (Jeff Blakeley) Date: Sat, 15 Oct 2005 18:06:34 -0700 Subject: Tux on RHEL 4.1 AS Message-ID: <5535e0aa0510151806u56ddced0h78fdb6ccb71fba1d@mail.gmail.com> William, I believe that Tux is included with this distribution, but I believe I still have to install it. When attempting to run, it gives me "Tux version: 3/0/0; could not initialize TUX!" I've looked over the installation.html file included with the distribution and it says I need to configure and install the kernel with Red Hat Content Accelerator if it has not already been provided with the RH Content Accelerator configured. In order to do this, it points me to http://people.redhat.com/~mingo/TUX-patches to get the latest Content Acclerator release. Do you know how I can find out if the Content Acelerator has already been configured in order to stick with the prebuilt modules? Thanks, Jeff > ---------- Forwarded message ---------- > From: "William M. Shubert" > To: TUX discussion list > Date: Fri, 14 Oct 2005 20:04:17 -0700 > Subject: Re: Tux on RHEL 4.1 AS > Why don't you use the RHEL kernel? I know that Tux comes with the stock > RHEL 3 kernels (I'm using it right now), and I thought that I noticed it > in the RHEL 4 package list. > > If possible, it's always easier to stick with the prebuilt modules > instead of building your own. Plus, if you use the red hat kernel, > you'll get security updates etc. with much less work. > ---------- Forwarded message ---------- > From: Jeff Blakeley > To: tux-list at redhat.com > Date: Fri, 14 Oct 2005 19:20:31 -0700 > Subject: Tux on RHEL 4.1 AS > I'm trying to install Tux on RHEL 4.1 AS with a kernel of 2.6.9. I'm > very new here and was hoping to get some help in going about this. > I've looked over the QuickStart-TUX.txt file from here: > http://people.redhat.com/mingo/TUX-patches/ but noticed that it is > rather outdated. It appears there are newer patches available than the > ones mentioned in the QuickStart-TUX.txt file. I guess my first > question is regarding applying the TUX patch to a vanilla kernel. It > says to apply it to a 2.4.16 kernel while I'm running the 2.6.9 > kernel. Would I be correct in assuming I need to use either the > tux3-2.6.9-rc2-A5 or tux3-2.6.9-rc3-A6 patch? If so, does it matter > which one to use here? Can I use an even later patch, such as > tux3-2.6.12-rc1-A4? The next question is regarding the userspace > utilities. I'm assuming I want to use the tux-3.2.21.tar.gz to > correspond with the appropriate tux3 patch, yes? Any help provided > would be very much appreciated and would be a sanity check for me > before proceeding. > > Thank you, > Jeff Blakeley From wms at igoweb.org Sun Oct 16 05:09:43 2005 From: wms at igoweb.org (William M. Shubert) Date: Sat, 15 Oct 2005 22:09:43 -0700 Subject: Tux on RHEL 4.1 AS In-Reply-To: <5535e0aa0510151806u56ddced0h78fdb6ccb71fba1d@mail.gmail.com> References: <5535e0aa0510151806u56ddced0h78fdb6ccb71fba1d@mail.gmail.com> Message-ID: <1129439383.32694.14.camel@desktop.igoweb.org> Ah, no! You don't need to touch the kernel. If you have the RHEL kernel installed (and running), and the "Tux" package installed, then you have Tux installed. The message "Tux version: 3/0/0; could not initialize TUX" could mean many things. My best guess would be that configuration files are missing or not usable. The bit about configuring and installing the kernel is beside the point if you are running the RHEL kernel - it has already been done if you are. On Sat, 2005-10-15 at 18:06 -0700, Jeff Blakeley wrote: > William, I believe that Tux is included with this distribution, but I > believe I still have to install it. When attempting to run, it gives > me "Tux version: 3/0/0; could not initialize TUX!" I've looked over > the installation.html file included with the distribution and it says > I need to configure and install the kernel with Red Hat Content > Accelerator if it has not already been provided with the RH Content > Accelerator configured. In order to do this, it points me to > http://people.redhat.com/~mingo/TUX-patches to get the latest Content > Acclerator release. Do you know how I can find out if the Content > Acelerator has already been configured in order to stick with the > prebuilt modules? > > Thanks, > Jeff From nicolas at incrowd.be Fri Oct 21 08:02:25 2005 From: nicolas at incrowd.be (Nicolas Van Eenaeme) Date: Fri, 21 Oct 2005 10:02:25 +0200 Subject: Crashing TUX Message-ID: <20051021080224.9AD883820C@astra.telenet-ops.be> Hi all, I'm running TUX on a popular website here in Belgium (>2.000.000 pageviews / day) and I use it to serve all my static content (images, css, .). This works great. The average load on my server stays below 1. But after each period of 5 days (average) the load suddenly goes to 6 or above (I can see this on my MRTG stats) and it takes ages to serve a simple image. If this happens the only way to fix it is to reboot my server. It's strange because this happens early in the morning (usually between 5 - 7 am.) when there are almost no users on the site. Is there somebody who can help me or do you have some suggestions for me how I can fix this? I'm running the 2.4 kernel. Thanks in advance, Nicolas Van Eenaeme -------------- next part -------------- An HTML attachment was scrubbed... URL: From viktors at rotanovs.com Fri Oct 21 08:06:10 2005 From: viktors at rotanovs.com (Viktors Rotanovs) Date: Fri, 21 Oct 2005 11:06:10 +0300 Subject: Crashing TUX In-Reply-To: <20051021080224.9AD883820C@astra.telenet-ops.be> References: <20051021080224.9AD883820C@astra.telenet-ops.be> Message-ID: <4358A172.9010709@rotanovs.com> Hi Nicolas, > I?m running TUX on a popular website here in Belgium (>2.000.000 > pageviews / day) and I use it to serve all my static content (images, > css, ?). maybe this is off-topic, but we at Inbox.lv switched from TUX to lighttpd (lighttpd.net), because: 1) kernels are much easier to upgrade (especially if there are two kernel patches simultaneosly - Tux and GrSecurity) 2) lighttpd can be configured with rewrites, etc., configuration is very very flexible 3) problems may be tracked down easier than with tux (with valgrind). I wouldn't say that lighttpd never crashes, but since it runs under daemontools it's restarted automatically. And, unlike most other small webservers, lighttpd works with PHP. > Thanks in advance, > > Nicolas Van Eenaeme Best Wishes, Viktors From nicolas at incrowd.be Fri Oct 21 12:26:33 2005 From: nicolas at incrowd.be (Nicolas Van Eenaeme) Date: Fri, 21 Oct 2005 14:26:33 +0200 Subject: Crashing TUX In-Reply-To: <4358A172.9010709@rotanovs.com> Message-ID: <20051021122633.48448380F1@astra.telenet-ops.be> -----Oorspronkelijk bericht----- Van: tux-list-bounces at redhat.com [mailto:tux-list-bounces at redhat.com] Namens Viktors Rotanovs Verzonden: vrijdag 21 oktober 2005 10:06 Aan: TUX discussion list Onderwerp: Re: Crashing TUX Hi Nicolas, > I'm running TUX on a popular website here in Belgium (>2.000.000 > pageviews / day) and I use it to serve all my static content (images, > css, .). maybe this is off-topic, but we at Inbox.lv switched from TUX to lighttpd (lighttpd.net), because: 1) kernels are much easier to upgrade (especially if there are two kernel patches simultaneosly - Tux and GrSecurity) 2) lighttpd can be configured with rewrites, etc., configuration is very very flexible 3) problems may be tracked down easier than with tux (with valgrind). I wouldn't say that lighttpd never crashes, but since it runs under daemontools it's restarted automatically. And, unlike most other small webservers, lighttpd works with PHP. > Thanks in advance, > > Nicolas Van Eenaeme Best Wishes, Viktors _______________________________________________ tux-list mailing list tux-list at redhat.com https://www.redhat.com/mailman/listinfo/tux-list From williama_lovaton at coomeva.com.co Fri Oct 21 12:29:18 2005 From: williama_lovaton at coomeva.com.co (William Lovaton) Date: Fri, 21 Oct 2005 07:29:18 -0500 Subject: Crashing TUX In-Reply-To: <20051021080224.9AD883820C@astra.telenet-ops.be> References: <20051021080224.9AD883820C@astra.telenet-ops.be> Message-ID: <1129897758.13105.14.camel@nalwalovaton.coomeva.nal> Hi Nicolas, Are you sure your load problems are about tux? Did you checked your cron jobs? may be it's logrotate or something like that. When the load is that high you can log into the system and execute this command: ps aux | grep ' [DRZ]' All of the processes with state D or R are the ones generating the high load, with this information you can identify the offending processes. BTW, what distro and version are you using? Right now I have a lot of experience with Fedora Core 3. -William El vie, 21-10-2005 a las 10:02 +0200, Nicolas Van Eenaeme escribi?: > Hi all, > > > > I?m running TUX on a popular website here in Belgium (>2.000.000 > pageviews / day) and I use it to serve all my static content (images, > css, ?). > > This works great. The average load on my server stays below 1. But > after each period of 5 days (average) the load suddenly goes to 6 or > above (I can see this on my MRTG stats) and it takes ages to serve a > simple image. If this happens the only way to fix it is to reboot my > server. It?s strange because this happens early in the morning > (usually between 5 ? 7 am.) when there are almost no users on the > site. > > > > Is there somebody who can help me or do you have some suggestions for > me how I can fix this? I?m running the 2.4 kernel. > > > > Thanks in advance, > > Nicolas Van Eenaeme > > > _______________________________________________ > tux-list mailing list > tux-list at redhat.com > https://www.redhat.com/mailman/listinfo/tux-list From nicolas at incrowd.be Fri Oct 21 12:56:17 2005 From: nicolas at incrowd.be (Nicolas Van Eenaeme) Date: Fri, 21 Oct 2005 14:56:17 +0200 Subject: Crashing TUX In-Reply-To: <1129897758.13105.14.camel@nalwalovaton.coomeva.nal> Message-ID: <20051021125617.49ED13809C@astra.telenet-ops.be> Hi William, Thanks for the reply. The only thing that is running on that machine is tux (and apache as a RPC server). No cronjobs heavy cronjobs. When the problem occurs I'll run that command you suggested. Euhm, actually I'm running Debian 3.1, but I don't think that should be the problem. Thanks, Nicolas Van Eenaeme -----Oorspronkelijk bericht----- Van: tux-list-bounces at redhat.com [mailto:tux-list-bounces at redhat.com] Namens William Lovaton Verzonden: vrijdag 21 oktober 2005 14:29 Aan: TUX discussion list Onderwerp: Re: Crashing TUX Hi Nicolas, Are you sure your load problems are about tux? Did you checked your cron jobs? may be it's logrotate or something like that. When the load is that high you can log into the system and execute this command: ps aux | grep ' [DRZ]' All of the processes with state D or R are the ones generating the high load, with this information you can identify the offending processes. BTW, what distro and version are you using? Right now I have a lot of experience with Fedora Core 3. -William El vie, 21-10-2005 a las 10:02 +0200, Nicolas Van Eenaeme escribi?: > Hi all, > > > > I?m running TUX on a popular website here in Belgium (>2.000.000 > pageviews / day) and I use it to serve all my static content (images, > css, ). > > This works great. The average load on my server stays below 1. But > after each period of 5 days (average) the load suddenly goes to 6 or > above (I can see this on my MRTG stats) and it takes ages to serve a > simple image. If this happens the only way to fix it is to reboot my > server. It?s strange because this happens early in the morning > (usually between 5 ? 7 am.) when there are almost no users on the > site. > > > > Is there somebody who can help me or do you have some suggestions for > me how I can fix this? I?m running the 2.4 kernel. > > > > Thanks in advance, > > Nicolas Van Eenaeme > > > _______________________________________________ > tux-list mailing list > tux-list at redhat.com > https://www.redhat.com/mailman/listinfo/tux-list _______________________________________________ tux-list mailing list tux-list at redhat.com https://www.redhat.com/mailman/listinfo/tux-list From alex at incredimail.com Fri Oct 21 23:25:29 2005 From: alex at incredimail.com (Alex Kramarov) Date: Sat, 22 Oct 2005 01:25:29 +0200 (Jerusalem Standard Time) Subject: Crashing TUX References: <20051021125617.49ED13809C@astra.telenet-ops.be> Message-ID: <435978E9.000001.03084@ALEXK> Are you running with tux logging enabled ? If you do, then disable it, it has been known to crash servers. -------Original Message------- From: Nicolas Van Eenaeme Date: 10/21/05 15:20:12 To: 'TUX discussion list' Subject: RE: Crashing TUX Hi William, Thanks for the reply. The only thing that is running on that machine is tux (and apache as a RPC server). No cronjobs heavy cronjobs. When the problem occurs I'll run that command you suggested. Euhm, actually I'm running Debian 3.1, but I don't think that should be the problem. Thanks, Nicolas Van Eenaeme -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas at incrowd.be Fri Oct 21 23:35:04 2005 From: nicolas at incrowd.be (Nicolas Van Eenaeme) Date: Sat, 22 Oct 2005 01:35:04 +0200 Subject: Crashing TUX In-Reply-To: <435978E9.000001.03084@ALEXK> Message-ID: <20051021233504.44BDE38077@adicia.telenet-ops.be> No, I'm not logging any requests. This is my configuration: 404_page=404.html Dprintk=0 TDprintk=0 ack_pingpong=1 all_userspace=0 cgi_cpu_mask=-1 cgi_gid=1001 cgi_inherit_cpu=0 cgi_uid=1001 cgiroot=/home/web/public_html/ clientport=8000 compression=0 cpu_offset=0 default_vhost=default defer_accept=1 documentroot=/home/web/public_html/ extra_html_header= extra_html_header_size=0 ftp_log_retr_only=0 ftp_login_message=0 ftp_subdocroot= ftp_virtual_server=0 ftp_wait_close=1 generate_cache_control=1 generate_etags=1 generate_last_mod=1 hide_unreadable=1 http_dir_indexing=0 http_subdocroot= ignore_query=0 ip_logging=1 keepalive_timeout=30 log_incomplete=0 logentry_align_order=5 logfile=/var/log/tux logging=0 mass_hosting_hash=0 max_backlog=2048 max_connect=10000 max_free_requests=1000 max_header_len=3000 max_keepalives=10000 max_object_size=0 max_output_bandwidth=0 mode_allowed=4 mode_forbidden=0 noid=0 push_all=0 redirect_logging=1 referer_logging=0 strip_host_tail=0 threads=2 virtual_server=0 zerocopy_header=1 zerocopy_parse=1 zerocopy_sendfile=1 Thanks in advance, Nicolas Van Eenaeme _____ Van: tux-list-bounces at redhat.com [mailto:tux-list-bounces at redhat.com] Namens Alex Kramarov Verzonden: zaterdag 22 oktober 2005 1:25 Aan: TUX discussion list Onderwerp: RE: Crashing TUX Are you running with tux logging enabled ? If you do, then disable it, it has been known to crash servers. -------Original Message------- From: Nicolas Van Eenaeme Date: 10/21/05 15:20:12 To: 'TUX discussion list' Subject: RE: Crashing TUX Hi William, Thanks for the reply. The only thing that is running on that machine is tux (and apache as a RPC server). No cronjobs heavy cronjobs. When the problem occurs I'll run that command you suggested. Euhm, actually I'm running Debian 3.1, but I don't think that should be the problem. Thanks, Nicolas Van Eenaeme -------------- next part -------------- An HTML attachment was scrubbed... URL: