Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yes my squid working good only stops inbetween cant tell when it will stop, it may work like charm till evening and then suddenly stop, and its never slows down, if its die i dont have to restart the box just restart the squid service only. this is the situation
ok this is fine
$IPT -t nat -A PREROUTING -i $LOCAL_IFACE -p tcp --dport 80 -j REDIRECT --to-port 3128
....
echo "1" > /proc/sys/net/ipv4/ip_forward
.......
$IPT -t mangle -A POSTROUTING -m layer7 --l7proto rtsp -j DROP
#$IPT -t mangle -A POSTROUTING -m layer7 --l7proto shoutcast -j DROP
$IPT -t mangle -A POSTROUTING -m layer7 --l7proto ares -j DROP
$IPT -t mangle -A POSTROUTING -m layer7 --l7proto edonkey -j DROP
....
you have a parched kernel with layer7 ??
you have this ??
I will repeat myself again (and again):
RESOURCES!!!
Please tell us what your resources are like (*memory, hdd, hardware, os configs, etc) are u running X on your proxy server.
Last edited by chitambira; 05-18-2009 at 09:50 AM.
Can't you easily see that you are running out of memory, over 80% utilisation. so probably this goes up as more clients connect. Capture these stats when squid stops!
Also during the timne when squid is busted, do a # top and a # ps aux | grep squid
OK, I had not looked carefully at the formatting of the out (which is hard in this case since its lost when pasted to web page)
Post output of the command I indicated above, when squid goes bust.
was this output taken AT THE TIME SQUID WENT BUST??
also during that time, I want to see, # ps aux | awk '{if ($3>'20') {print $1, $2, $3, $4, $8, $11} }'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.