Omega Owners Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Please check the Forum Guidelines at the top of the Newbie section

Pages: 1 [2]  All   Go Down

Author Topic: what happened  (Read 1090 times)

0 Members and 1 Guest are viewing this topic.

Debs.

  • Guest
Re: what happened
« Reply #15 on: 12 January 2009, 21:21:47 »

Quote
I promised myself I wouldn't get on a gay Linux rant....   ....

Go-on, go-on, go-on!......you know you want to! ;D
Logged

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 106838
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Re: what happened
« Reply #16 on: 12 January 2009, 21:23:46 »

Quote
Quote
I promised myself I wouldn't get on a gay Linux rant....   ....

Go-on, go-on, go-on!......you know you want to! ;D
I do, trust me I really do.

But the word censor would probably swallow all of the servers resources, and the rather heap of crap would crash again
Logged
Grumpy old man

dbug

  • Omega Queen
  • *****
  • Offline Offline
  • Gender: Male
  • Northants
  • Posts: 14279
  • Dont knock Linux!
    • Jaguar XJ 5.0V8 Portfolio
    • View Profile
    • Dbug IT Services
Re: what happened
« Reply #17 on: 12 January 2009, 23:37:43 »

Quote
Quote
Quote
I promised myself I wouldn't get on a gay Linux rant....   ....

Go-on, go-on, go-on!......you know you want to! ;D
I do, trust me I really do.

But the word censor would probably swallow all of the servers resources, and the rather heap of crap would crash again

Oh dear :o
Logged
1972 Ferrari Dino, 1967 Triumph TR4A, Mondeo 2.0TDCi Estate, Jaguar XJ 5.0V8 Portfolio

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 106838
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Re: what happened
« Reply #18 on: 13 January 2009, 19:14:14 »

Keep tweaking the kernal parameters a bit to see if it helps, but it seems you can't give it a true 'do this when memory runs low'

OOF needs a fairly modest 100Mb RAM approx, sometimes less, sometimes a bit more.  Linux, like most OSes, does the decent thing and uses the remaining RAM for buffers and disk caching. Great :y

Until it runs low on memory available memory (not used by app or by caching).  Here, every other OS in the world releases a bit of caching memory to make RAM available. Sensible choice.  Linux, by default, starts SWAPPING (ie, using the disk as extention to RAM), which obviously causes disk utilisation to go up, and app to slow down. Then, more web requests come in, and as old requests not yet dealt with (as system is paging heavily), more memory is needed, but not available, so yet more swapping, and the thing grinds itself towards a crash, as ultimately it runs out of swap as well.  Whatever idiot came up with that strategy - yes, thats you Linus - should be strung up.

It doesn't matter how much memory is present, with this strategy, the server will consume it all, then consume all swap, then crash.  Extra memory just delays the inevitable.

At least in the later kernels, there are a couple of tweaks.
Logged
Grumpy old man
Pages: 1 [2]  All   Go Up
 

Page created in 0.068 seconds with 17 queries.