|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
Linux Servers - Important Kernel Update
I am posting this because there are alot of people suffering from this
hard to identify problem. So I researched it and came up with the solution. My gift to the universe. Is your server eating up memory for apparantly no reason? Does your memory usage continually grow in 4096 byte increments (approx.) and fill up all available RAM then being using swap space until it's full as well? Is your servers load average like 900 or some crazy high number? The culprit of your problem may be as simple as the kernel version you are using. Everyone who had this problem that I helped was using kernel version: 2.6.14, however it might affect other releases as well. In my research, I have found that this kernel release had a big bad memory leak related to buggy ext3 filesystem code. Your server will appear ok until you start up apache or mysql or anything that uses the hard drive. The problem appears to manifest itself as a side afect of apache (because it shows up typically only when apache is running, which is misleading). Techs will immediatly jump to apache and try solving the problem by tuning apache's MaxClients and Keep Alives and MaxRequestsPerChild.... to no avail. This is because there are settings in Apache to combat "memory leaks", which are actually not for linux systems and won't help in this situation. The buggy ext3 filesystem code in the 2.6.14 Kernel eats up memory during disk usage. On a lightly used server, the problem may take weeks to show up (do you have to reboot your server every week or so?). On a heavily used server, it may take all but 30 minutes of usage. The rule of thumb is the more you use the hard drives, the quicker it eats up the memory, and the quicker your load goes out of control due to Virtual Memory Swap Thrashing. Your load goes high because of the swap space thrashing and swapping pages continually in and out of memory. This is what causes the load, not apache or mysql. The solution? Upgrade to kernel 2.6.16, reboot and enjoy the new relaxed attitude your server will have. Happy Memorial Day everyone! -SpLiTiNfInItY- |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
Not much attention to this as I posted it over the holiday... bumping just for the sake of giving everyone the opprotunity to read. :-)
Cheers. |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Feb 2004
Posts: 671
|
Thanks!
Bump for this
__________________
HotNiches.com-Add Site Porn Sites- Submit For Adult Sites-Add URL Adult Webcams Sex Webcams Erotic Search Reality Sex Sex Videos |
|
|
|
|
|
#4 |
|
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Thanks.. using 2.6.14 on my servers it looks like.
__________________
|
|
|
|
|
|
#5 |
|
Confirmed User
Industry Role:
Join Date: Jul 2002
Posts: 3,103
|
I've had a memory leak problem with Red Hat for ages... kjournald seems to be taking up all the memory
__________________
![]() Our Programs: StandAhead | IndieBucks | BoyCrushCash | Phoenixxx | EmoProfits | BritishBucks | HunkMoney | LatinoBucks Make $$$ with Gay! Lowest Minimum Payouts in the Business, Perfect Track Record, Amazing Sites |
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Mar 2005
Posts: 1,099
|
You're such a nerd.
Great info. |
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Mar 2006
Location: Cashapartment.com
Posts: 282
|
2.6.8 for me. This kernel is nearly 2 years old! Fuck upgrading when it works just fine. Too many times I've had machines not come back up properly when trying to upgrade the kernel remotely.
__________________
CASH APARTMENT V2 IS HERE! NATS POWERED, 60-70% ON ALL REBILLS, FREE CONTENT, MGPS, FHGS, RETAINING MEMBERS NETWORK! A SIMPLE NO B.S PROGRAM - ICQ 239 806 698 |
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Feb 2005
Location: Haarlem and Amsterdam, capital of the porn world ;-)
Posts: 6,496
|
thnx
allready recognized the problem
__________________
Need adult hosting? Contact us! WARM Hosting Need an IT solution? or someone to check your site and security? Nossie - IT Professional |
|
|
|
|
|
#9 |
|
Confirmed User
Join Date: May 2003
Location: Texas
Posts: 4,429
|
Thanks very much for this post...We have had some weird server problems and this may be it.
Will have the Admin look in the a.m. Thanks for taking your time to post this info and share it with other webmasters. Love GFY when its useful, Hate GFY when its "would u hit it" posts... THANKS! |
|
|
|
|
|
#10 |
|
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
You are welcome.
Anyone got some other odd problems I can help solve? :-) Note: I can't help with the wart on your penis. :-) LOL |
|
|
|
|
|
#11 | |
|
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
Quote:
__________________
http://www.flickr.com/photos/zoddler/ |
|
|
|
|
|
|
#12 |
|
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
"can you tell me why the linux autofs code sucks as bad as it does?"
The autofs code poorly spent its $440.00 on this school of trade, and is therefore why it sucks bad. http://www.themoscowtimes.com/storie...06/11/013.html |
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
autofs (the userland part) is a little dodgy. It can get upset pretty easily with NFS mounts as can amd (the alternative, written by CSG at Imperial) is only a little better. Both are pretty huge programs for doing a simple task. I think I'll write a replacement over the weekend.
|
|
|
|
|
|
#14 |
|
So Fucking Banned
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
|
who the heck uses linux for a webserver?
|
|
|
|
|
|
#15 |
|
Confirmed User
Join Date: Jul 2004
Posts: 847
|
Run FreeBSD n00bs
|
|
|
|
|
|
#16 |
|
Registered User
Join Date: Oct 2005
Location: The Middle of Nowhere
Posts: 616
|
Now there is a great post by a hosting company.
|
|
|
|
|
|
#17 |
|
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
Thanks RobbieRye.
|
|
|
|
|
|
#18 | |
|
Confirmed User
Join Date: May 2006
Location: brazil
Posts: 781
|
Nice info Chris.
Quote:
"why update if it's working?" looks the same as "why drive a ferrari when your old car still running" ![]()
__________________
hai2u |
|
|
|
|
|
|
#19 |
|
Confirmed User
Join Date: Aug 2002
Location: The Ditch
Posts: 8,919
|
Thanks for the heads up Chris.
__________________
![]() www.MAKINGCOIN.com icq. 166-662-831 "Start making large coin!" Daddy I Get Paid To Be A Whore - Coming Soon |
|
|
|
|
|
#20 |
|
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
"That's why there are so much hacked servers around.
"why update if it's working?" looks the same as "why drive a ferrari when your old car still running" " So true. :-) |
|
|
|
|
|
#21 |
|
Confirmed User
Join Date: Oct 2005
Location: Your moms house!
Posts: 1,196
|
thanks bro, ill keep this in mind
__________________
![]() 5% Webmaster Referrals - 45% Payouts - Exclusive Content Sgt Strider ![]() http://www.JustJassie.com [email protected] ICQ: 227-437-902 |
|
|
|